Source: python-bcrypt Version: 4.1.2-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240809 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > 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=8'] [] > ['-j8'] 0 > 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=8'] [] > ['-j8'] 0 > 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 `pyo3 = "^0.20.0"` > candidate versions found which didn't match: 0.22.2 > 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? > > =============================DEBUG ASSISTANCE============================= > If you are seeing a compilation error please try the following steps to > successfully install bcrypt: > 1) Upgrade to the latest pip and try again. This will fix errors for most > users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip > 2) Ensure you have a recent Rust toolchain installed. bcrypt requires > rustc >= 1.64.0. (1.63 may be used by setting the BCRYPT_ALLOW_RUST_163 > environment variable) > > Python: 3.12.5 > platform: Linux-6.1.0-23-cloud-amd64-x86_64-with-glibc2.39 > pip: n/a > setuptools: 70.3.0 > setuptools_rust: 1.9.0 > rustc: 1.79.0 > =============================DEBUG ASSISTANCE============================= > > 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 The full build log is available from: http://qa-logs.debian.net/2024/08/09/python-bcrypt_4.1.2-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.