Bug#1078901: nvda2speechd: FTBFS: error: failed to select a version for the requirement `rmp-serde = "=1.1.0"`

Santiago Vila sanvila at debian.org
Sat Aug 17 14:41:08 BST 2024


Package: src:nvda2speechd
Version: 0.1-6
Severity: serious
Control: close -1 0.1-9
Tags: ftbfs bookworm

Dear maintainer:

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

(Note: This one is apparently not related with Internet access or the unshare backend)

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
blhc: ignore-line-regexp: \ \ \ Compiling .*
# Don't do this at home, kids!
curl --cacert /etc/ssl/certs/Amazon_Root_CA_1.pem --proto '=https' --tlsv1.2 -f https://sh.rustup.rs > rustup.sh
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed

   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 26495  100 26495    0     0  1984k      0 --:--:-- --:--:-- --:--:-- 2156k
HOME=/<<PKGBUILDDIR>>/tmp sh rustup.sh -y --default-host x86_64-unknown-linux-gnu --profile minimal -t x86_64-pc-windows-gnu
info: downloading installer
warning: it looks like you have an existing installation of Rust at:
warning: /usr/bin
warning: It is recommended that rustup be the primary Rust installation.
warning: Otherwise you may have confusion unless you are careful with your PATH
warning: If you are sure that you want both rustup and your already installed Rust
warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
warning: or pass `-y' to ignore all ignorable checks.
error: cannot install while Rust is installed
warning: continuing (because the -y flag is set and the error is ignorable)
error: $HOME differs from euid-obtained home directory: you may be using sudo
error: $HOME directory: /<<PKGBUILDDIR>>/tmp
error: euid-obtained home directory: /build
info: profile set to 'minimal'
info: setting default host triple to x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2024-08-08, rust version 1.80.1 (3f5fd8dd4 2024-08-06)
info: downloading component 'cargo'
info: downloading component 'rust-std' for 'x86_64-pc-windows-gnu'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std' for 'x86_64-pc-windows-gnu'
info: installing component 'rust-std'
info: installing component 'rustc'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

   stable-x86_64-unknown-linux-gnu installed - rustc 1.80.1 (3f5fd8dd4 2024-08-06)


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory (/<<PKGBUILDDIR>>/tmp/bin).

To configure your current shell, you need to source
the corresponding env file under
/<<PKGBUILDDIR>>/tmp.

This is usually done by running one of the following (note the leading DOT):
. "/<<PKGBUILDDIR>>/tmp/env"            # For
sh/bash/zsh/ash/dash/pdksh
source "/<<PKGBUILDDIR>>/tmp/env.fish"  # For fish
cd src/client && \
HOME=/<<PKGBUILDDIR>>/tmp /<<PKGBUILDDIR>>/tmp/bin/cargo build -v --release --target x86_64-pc-windows-gnu
     Updating crates.io index
error: failed to select a version for the requirement `rmp-serde = "=1.1.0"`
candidate versions found which didn't match: 1.3.0, 1.3.0-beta.1, 1.2.0, ...
location searched: crates.io index
required by package `nvda2speechd-client v0.1.0 (/<<PKGBUILDDIR>>/src/client)`
if you are looking for the prerelease package it needs to be specified explicitly
     rmp-serde = { version = "1.3.0-beta.1" }
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 101
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: 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/bookworm/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-a11y-devel mailing list