#1136855 rust-aperture: FTBFS: error[E0277]: can't compare `auto::path::Path` with `auto::path::Path`

#1136855#5
Date:
2026-05-16 16:05:18 UTC
From:
To:
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:rust-aperture, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1471:19
     |
1471 |             #[cfg(feature = "v4_22")]
     |                   ^^^^^^^^^^-------
     |                             |
     |                             help: there is a expected value with a similar name: `"v4_20"`
     |
     = note: expected values for `feature` are: `broadway`, `v4_10`, `v4_14`, `v4_16`, `v4_18`, `v4_2`, `v4_20`, `v4_4`, `v4_6`, and `vulkan`
     = help: consider adding `v4_22` 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

error[E0277]: can't compare `auto::path::Path` with `auto::path::Path`
  --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/path.rs:9:21
   |
 9 |     #[derive(Debug, PartialOrd, Ord, Hash)]
   |                     ^^^^^^^^^^ no implementation for `auto::path::Path == auto::path::Path`
   |
   = help: the trait `PartialEq` is not implemented for `auto::path::Path`
note: required by a bound in `PartialOrd`
  --> /usr/src/rustc-1.94.1/library/core/src/cmp.rs:1358:0
help: consider annotating `auto::path::Path` with `#[derive(PartialEq)]`
  --> /usr/share/cargo/registry/glib-0.21.5/src/shared.rs:35:1
   |
35 +         #[derive(PartialEq)]
36 |         $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? {
   |

error[E0277]: the trait bound `auto::path::Path: std::cmp::Eq` is not satisfied
  --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/path.rs:9:33
   |
 9 |     #[derive(Debug, PartialOrd, Ord, Hash)]
   |                                 ^^^ the trait `std::cmp::Eq` is not implemented for `auto::path::Path`
   |
note: required by a bound in `Ord`
  --> /usr/src/rustc-1.94.1/library/core/src/cmp.rs:973:0
help: consider annotating `auto::path::Path` with `#[derive(Eq)]`
  --> /usr/share/cargo/registry/glib-0.21.5/src/shared.rs:35:1
   |
35 +         #[derive(Eq)]
36 |         $visibility struct $name $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? {
   |

   Compiling lru v0.12.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=lru CARG [too-long-redacted] stry=/usr/share/cargo/registry`
   Compiling gstreamer-audio v0.24.4
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gstreame [too-long-redacted] stry=/usr/share/cargo/registry`
For more information about this error, try `rustc --explain E0277`.
warning: `gsk4` (lib) generated 23 warnings
error: could not compile `gsk4` (lib) due to 2 previous errors; 23 warnings emitted

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...
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1136855#10
Date:
2026-05-21 21:18:47 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rust-aperture, 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 1136855@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Geiger <werdahias@debian.org> (supplier of updated rust-aperture 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: Thu, 21 May 2026 22:58:22 +0200
Source: rust-aperture
Architecture: source
Version: 0.12.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed-By: Matthias Geiger <werdahias@debian.org>
Closes: 1136855
Changes:
 rust-aperture (0.12.0-2) unstable; urgency=medium
 .
   * Upload to unstable (Closes: #1136855)
Checksums-Sha1:
 126e0d59f0a6867d4888f95d2a86bd718e874942 2180 rust-aperture_0.12.0-2.dsc
 643960380de9882d7fed26534360472e9273bd38 2520 rust-aperture_0.12.0-2.debian.tar.xz
 066279e24e9ee8af83a9dfcd6c3655450f01083e 6987 rust-aperture_0.12.0-2_source.buildinfo
Checksums-Sha256:
 5154292e85b0d4a62b85bcb7d6a9b28c3aaee41caf2571ae4773698fccfe9748 2180 rust-aperture_0.12.0-2.dsc
 5de79bf69da6566a19539566944bcb383645bed17c3a98fdf03754c1646d254b 2520 rust-aperture_0.12.0-2.debian.tar.xz
 8b189e50143c79b406feec15a0be29cc146eabd2e079ccd56569720370e287a6 6987 rust-aperture_0.12.0-2_source.buildinfo
Files:
 dcc79dbb071dcbbb899bda649e709fe2 2180 rust optional rust-aperture_0.12.0-2.dsc
 b65949b020a9d4666839301694a9945e 2520 rust optional rust-aperture_0.12.0-2.debian.tar.xz
 b58ef0115f557be312e519f9db66383a 6987 rust optional rust-aperture_0.12.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCag9x+AAKCRDsvtu2B7my
vgzyAQCc/W17420j3V+CMRGd1XTgeYH4FiaIea8QPNPcJRDFHAD/Ymq9RfusfWSh
W3XmzZLyc+bijATPP7iudltdmEE8+ws=
=N85j
-----END PGP SIGNATURE-----