#1136832 amberol: FTBFS: error[E0277]: can't compare `auto::path::Path` with `auto::path::Path`

Package:
src:amberol
Source:
src:amberol
Submitter:
Santiago Vila
Date:
2026-06-14 14:23:01 UTC
Severity:
normal
Tags:
#1136832#5
Date:
2026-05-16 16:04:33 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:amberol, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo clean
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True}
     Removed 0 files
rm -rf /<<PKGBUILDDIR>>/debian/cargo_home
rm -rf /<<PKGBUILDDIR>>/debian/cargo_registry
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary

[... snipped ...]

   |
   = 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

warning: unexpected `cfg` condition value: `v4_22`
  --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/path.rs:96:11
   |
96 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1328:11
     |
1328 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1332:11
     |
1332 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1336:11
     |
1336 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1340:11
     |
1340 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1344:11
     |
1344 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1348:11
     |
1348 |     #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1400:19
     |
1400 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1402:19
     |
1402 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1404:19
     |
1404 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1406:19
     |
1406 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1408:19
     |
1408 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1410:19
     |
1410 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1461:19
     |
1461 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1463:19
     |
1463 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1465:19
     |
1465 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1467:19
     |
1467 |             #[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

warning: unexpected `cfg` condition value: `v4_22`
    --> /usr/share/cargo/registry/gsk4-0.10.3/src/auto/enums.rs:1469:19
     |
1469 |             #[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

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)*)?),+>)? {
   |

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...
[48/49] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/amberol.mo ../po/zh_CN.po
FAILED: [code=101] src/amberol
/usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --release && cp src/x86_64-unknown-linux-gnu/release/amberol src/amberol
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:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1136832#8
Date:
2026-05-26 17:21:29 UTC
From:
To:
Hello,

Bug #1136832 in amberol reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/amberol/-/commit/1657311564a3d019cd3201836f19c79a31235560

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1136832

#1136832#15
Date:
2026-05-26 17:36:35 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
amberol, 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 1136832@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 amberol 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: Tue, 26 May 2026 19:09:18 +0200
Source: amberol
Architecture: source
Version: 2026.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Matthias Geiger <werdahias@debian.org>
Closes: 1136832
Changes:
 amberol (2026.1-1) unstable; urgency=medium
 .
   * New upstream release
   * Drop patches applied upstream
   * Build with gtk-rs 0.11 (Closes: #1136832)
   * Add new build-dependency on blueprint-compiler
   * Add patch relaxing lofty
   * d/control: Bump Standards-Version to 4.7.4; no changes needed
Checksums-Sha1:
 0aa57243261465812a37b8555af837eb739dc611 2663 amberol_2026.1-1.dsc
 330c91d91315bc5366c5884c7afed7eb0141f5ac 1187436 amberol_2026.1.orig.tar.gz
 b6b99da3d2fbe2a0ddea57300eea411401501bb8 20216 amberol_2026.1-1.debian.tar.xz
 48701d3857671e06df8673eab6f020175b8530d1 50168 amberol_2026.1-1_amd64.buildinfo
Checksums-Sha256:
 fde8eb7e65578f07142bb08c45f3c8f723867d1c6d7189c4a0a98369ff46efa3 2663 amberol_2026.1-1.dsc
 93a31a15b6c1e77efc97033ed120a618b711f0bc60f686eea4277beae353a9ba 1187436 amberol_2026.1.orig.tar.gz
 e692e8272de80d246c6df06b1e039310343fdb99118564e030a41dafda06554e 20216 amberol_2026.1-1.debian.tar.xz
 15e029ffdba057c2109501155e3d5f1f147dc157adb04a195ca4b3e42d27860e 50168 amberol_2026.1-1_amd64.buildinfo
Files:
 62c20c64c6067f77a5d1f4fa83493b0c 2663 gnome optional amberol_2026.1-1.dsc
 477a39ae4455ae62a89aedf6200fa736 1187436 gnome optional amberol_2026.1.orig.tar.gz
 3eef579b50afde09bc458ca87956bc3d 20216 gnome optional amberol_2026.1-1.debian.tar.xz
 60f4e5f5358d166bf60d58bac273c3b8 50168 gnome optional amberol_2026.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCahXV/QAKCRDsvtu2B7my
vi8FAP9RoUjhK+F/gNO4KWtVQsf/SfQEgPu3KcLhWEYLfJIzlQD/fu7VnKyUmT28
+fiB4lJVOFLaoDZHnkTheYTxW4HnwQQ=
=CsWy
-----END PGP SIGNATURE-----