Package: src:python-bcrypt
Version: 4.2.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo prepare-debian debian/cargo_registry
--link-from-system
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] []
['-j2']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu,
x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into
/<<PKGBUILDDIR>>/debian/cargo_registry/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p 3.12
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p 3.12
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_bcrypt
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/bcrypt
copying src/bcrypt/__init__.py -> build/lib.linux-x86_64-cpython-312/bcrypt
running egg_info
creating src/bcrypt.egg-info
writing src/bcrypt.egg-info/PKG-INFO
writing dependency_links to src/bcrypt.egg-info/dependency_links.txt
writing requirements to src/bcrypt.egg-info/requires.txt
writing top-level names to src/bcrypt.egg-info/top_level.txt
writing manifest file 'src/bcrypt.egg-info/SOURCES.txt'
reading manifest file 'src/bcrypt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Cargo.lock' under directory 'src/_bcrypt'
warning: no previously-included files found matching 'requirements.txt'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory
'.github'
warning: no previously-included files found matching 'src/_bcrypt/target'
warning: no previously-included files matching '*' found under directory
'src/_bcrypt/target'
adding license file 'LICENSE'
writing manifest file 'src/bcrypt.egg-info/SOURCES.txt'
copying src/bcrypt/__init__.pyi -> build/lib.linux-x86_64-cpython-312/bcrypt
copying src/bcrypt/py.typed -> build/lib.linux-x86_64-cpython-312/bcrypt
running build_ext
running build_rust
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] []
['-j2']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu,
x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1',
'/usr/bin/cargo', 'metadata', '--manifest-path', 'src/_bcrypt/Cargo.toml',
'--format-version', '1'],) {}
error: failed to select a version for the requirement `base64 = "^0.21"`
candidate versions found which didn't match: 0.22.1
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry`
(which is replacing registry `crates-io`)
required by package `bcrypt-rust v0.1.0 (/<<PKGBUILDDIR>>/src/_bcrypt)`
perhaps a crate was updated and forgotten to be re-vendored?
error: `/usr/share/cargo/bin/cargo metadata --manifest-path
src/_bcrypt/Cargo.toml --format-version 1` failed with code 101
-- Output captured from stdout:
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.12 -m
build --skip-dependency-check --no-isolation --wheel --outdir
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_bcrypt
dh_auto_build: error: pybuild --build -i python{version} -p 3.12 returned exit
code 13
make: *** [debian/rules:14: binary] Error 25
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/202410/
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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.