[Debian-on-mobile-maintainers] Bug#1136851: phosh-file-selector: FTBFS: error[E0277]: can't compare `auto::path::Path` with `auto::path::Path`

Santiago Vila sanvila at debian.org
Sat May 16 17:05:11 BST 2026


Package: src:phosh-file-selector
Version: 0.0.6-2
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/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:phosh-file-selector, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
warning: `field-offset` (lib) generated 6 warnings
   Compiling regex v1.12.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=regex CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/regex-1.12.3 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/regex-1.12.3/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers:Andrew Gallant <jamslam at gmail.com>' CARGO_PKG_DESCRIPTION='An implementation of regular expressions for Rust. This implementation uses
finite automata and guarantees linear time matching on all inputs.
' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/regex' CA [too-long-redacted] stry=/usr/share/cargo/registry`
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 gtk4-macros v0.10.3
     Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gtk4_mac [too-long-redacted] rn proc_macro --cap-lints warn`
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...
[7/11] /usr/bin/msgfmt -o po/de/LC_MESSAGES/pfs.mo ../po/de.po
FAILED: [code=101] src/examples/demo/pfs-demo 
/usr/bin/env PFS_RESOURCE_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && cp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/debug/pfs-demo src/examples/demo/pfs-demo
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:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



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