[Pkg-rust-maintainers] Bug#1100324: starship: FTBFS: error: failed to select a version for the requirement `gix = "^0.67"`

Santiago Vila sanvila at debian.org
Wed Mar 12 16:34:34 GMT 2025


Package: src:starship
Version: 1.22.1-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with shell_completions
   dh_clean
 debian/rules binary
dh binary --with shell_completions
   dh_update_autotools_config
   dh_autoreconf
   debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p .cargo
cp debian/cargo-config.toml .cargo/config.toml
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cargo build --release --target x86_64-unknown-linux-gnu
warning: unused manifest key: disabled
error: failed to select a version for the requirement `gix = "^0.67"`
candidate versions found which didn't match: 0.69.1
location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`)
required by package `starship v1.22.1 (/<<PKGBUILDDIR>>)`
perhaps a crate was updated and forgotten to be re-vendored?
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 101
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

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 could not 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:starship, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the Pkg-rust-maintainers mailing list