Package: src:python-cryptography Version: 43.0.0-1 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] warning: `pyo3` (lib) generated 4 warnings Compiling cryptography-x509 v0.1.0 (/<<PKGBUILDDIR>>/src/rust/cryptography-x509) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cryptography_x509 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/src/rust/cryptography-x509 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/src/rust/cryptography-x509/Cargo.toml CARGO_PKG_AUTHORS='The cryptography developers <cryptography-...@python.org>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cryptography-x509 CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/src/rust/target/release/deps rustc --crate-name cryptography_x509 --edition=2021 cryptography-x509/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 -C overflow-checks=on --check-cfg 'cfg(docsrs,test)' --check-cfg ' cfg(feature, values())' -C metadata=35bb4a70fe66685b -C extra-filename=-a23594f74de733be --out-dir /<<PKGBUILDDIR>>/src/rust/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/src/rust/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/src/rust/target/release/deps --extern asn1=/<<PKGBUILDDIR>>/src/rust/target/x86_64-unknown-linux-gnu/release/deps/libasn1-7a47f8ad0b0a95d3.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/python-cryptography-43.0.0 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` Compiling cryptography-cffi v0.1.0 (/<<PKGBUILDDIR>>/src/rust/cryptography-cffi) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/src/rust/cryptography-cffi CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/src/rust/cryptography-cffi/Cargo.toml CARGO_PKG_AUTHORS='The cryptography developers <cryptography-...@python.org>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cryptography-cffi CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/src/rust/target/release/deps rustc --crate-name build_script_build --edition=2021 cryptography-cffi/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=off -C overflow-checks=on --check-cfg 'cfg(docsrs,test)' --check-cfg ' cfg(feature, values())' -C metadata=9f616ee0eca3fd66 -C extra-filename=-9a049b43e32f474e --out-dir /<<PKGBUILDDIR>>/src/rust/target/release/build/cryptography-cffi-9a049b43e32f474e -L dependency=/<<PKGBUILDDIR>>/src/rust/target/release/deps --extern cc=/<<PKGBUILDDIR>>/src/rust/target/release/deps/libcc-20cb31637351829f.rlib` Compiling cryptography-openssl v0.1.0 (/<<PKGBUILDDIR>>/src/rust/cryptography-openssl) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/src/rust/cryptography-openssl CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/src/rust/cryptography-openssl/Cargo.toml CARGO_PKG_AUTHORS='The cryptography developers <cryptography-...@python.org>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cryptography-openssl CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/src/rust/target/release/deps rustc --crate-name build_script_build --edition=2021 cryptography-openssl/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=off -C overflow-checks=on --check-cfg 'cfg(docsrs,test)' - -check-cfg 'cfg(feature, values())' -C metadata=1dae0c0df9804233 -C extra-filename=-40aa5ea09423602b --out-dir /<<PKGBUILDDIR>>/src/rust/target/release/build/cryptography-openssl-40aa5ea09423602b -L dependency=/<<PKGBUILDDIR>>/src/rust/target/release/deps` Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE='' CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro-Clink-arg=-Wl,-z,now--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/python-cryptography-43.0.0--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/src/rust/cryptography-openssl CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/src/rust/cryptography-openssl/Cargo.toml CARGO_PKG_AUTHORS='The cryptography developers <cryptography-...@python.org>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG _LICENSE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cryptography-openssl CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_OPENSSL_CONF=OPENSSL_NO_IDEA,OPENSSL_NO_SSL3_METHOD DEP_OPENSSL_INCLUDE=/usr/include DEP_OPENSSL_VERSION_NUMBER=30400010 HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/src/rust/target/release/deps:/<<PKGBUILDDIR>>/src/rust/target/release:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=1 OPT_LEVEL=3 OUT_DIR=/<<PKGBUILDDIR>>/src/rust/target/x86_64-unknown-linux-gnu/release/build/cryptography-openssl-162eb181587696c0/out PROFILE=release RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/src/rust/target/release/build/cryptography-openssl-40aa5ea09423602b/build-script-build` Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE='' CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro-Clink-arg=-Wl,-z,now--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/python-cryptography-43.0.0--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/src/rust/cryptography-cffi CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/src/rust/cryptography-cffi/Cargo.toml CARGO_PKG_AUTHORS='The cryptography developers <cryptography-...@python.org>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICEN SE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cryptography-cffi CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_OPENSSL_CONF=OPENSSL_NO_IDEA,OPENSSL_NO_SSL3_METHOD DEP_OPENSSL_INCLUDE=/usr/include DEP_OPENSSL_VERSION_NUMBER=30400010 HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/src/rust/target/release/deps:/<<PKGBUILDDIR>>/src/rust/target/release:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=1 OPT_LEVEL=3 OUT_DIR=/<<PKGBUILDDIR>>/src/rust/target/x86_64-unknown-linux-gnu/release/build/cryptography-cffi-37936767afc0570e/out PROFILE=release RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/src/rust/target/release/build/cryptography-cffi-9a049b43e32f474e/build-script-build` [cryptography-cffi 0.1.0] [cryptography-cffi 0.1.0] thread 'main' panicked at cryptography-cffi/build.rs:61:6: [cryptography-cffi 0.1.0] called `Result::unwrap()` on an `Err` value: "Python script failed: Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n import os; import setuptools.dist; import setuptools.command.build_ext; b = setuptools.command.build_ext.build_ext(setuptools.dist.Distribution()); b.finalize_options(); print(os.pathsep.join(b.include_dirs), end='')\n ^^^^^^^^^^^^^^^^^^^^^^\nModuleNotFoundError: No module named 'setuptools'\n" [cryptography-cffi 0.1.0] stack backtrace: [cryptography-cffi 0.1.0] 0: rust_begin_unwind [cryptography-cffi 0.1.0] at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5 [cryptography-cffi 0.1.0] 1: core::panicking::panic_fmt [cryptography-cffi 0.1.0] at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14 [cryptography-cffi 0.1.0] 2: core::result::unwrap_failed [cryptography-cffi 0.1.0] at /usr/src/rustc-1.85.0/library/core/src/result.rs:1704:5 [cryptography-cffi 0.1.0] 3: core::result::Result<T,E>::unwrap [cryptography-cffi 0.1.0] at /usr/src/rustc-1.85.0/library/core/src/result.rs:1109:23 [cryptography-cffi 0.1.0] 4: build_script_build::main [cryptography-cffi 0.1.0] at ./build.rs:52:27 [cryptography-cffi 0.1.0] 5: core::ops::function::FnOnce::call_once [cryptography-cffi 0.1.0] at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5 [cryptography-cffi 0.1.0] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. error: failed to run custom build command for `cryptography-cffi v0.1.0 (/<<PKGBUILDDIR>>/src/rust/cryptography-cffi)` Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE='' CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro-Clink-arg=-Wl,-z,now--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/python-cryptography-43.0.0--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/src/rust/cryptography-cffi CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/src/rust/cryptography-cffi/Cargo.toml CARGO_PKG_AUTHORS='The cryptography developers <cryptography-...@python.org>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOME PAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cryptography-cffi CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION=1.65.0 CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=true DEP_OPENSSL_CONF=OPENSSL_NO_IDEA,OPENSSL_NO_SSL3_METHOD DEP_OPENSSL_INCLUDE=/usr/include DEP_OPENSSL_VERSION_NUMBER=30400010 HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/src/rust/target/release/deps:/<<PKGBUILDDIR>>/src/rust/target/release:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=1 OPT_LEVEL=3 OUT_DIR=/<<PKGBUILDDIR>>/src/rust/target/x86_64-unknown-linux-gnu/release/build/cryptography-cffi-37936767afc0570e/out PROFILE=release RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/src/rust/target/release/build/cryptography-cffi-9a049b43e32f474e/build-script-build` (exit status: 101) --- stdout cargo:rustc-check-cfg=cfg(python_implementation, values("CPython", "PyPy")) cargo:rerun-if-env-changed=PYO3_PYTHON cargo:rerun-if-changed=../../_cffi_src/ cargo:rerun-if-changed=../../cryptography/__about__.py cargo:rustc-cfg=python_implementation="CPython" --- stderr thread 'main' panicked at cryptography-cffi/build.rs:61:6: called `Result::unwrap()` on an `Err` value: "Python script failed: Traceback (most recent call last):\n File \"<string>\", line 1, in <module>\n import os; import setuptools.dist; import setuptools.command.build_ext; b = setuptools.command.build_ext.build_ext(setuptools.dist.Distribution()); b.finalize_options(); print(os.pathsep.join(b.include_dirs), end='')\n ^^^^^^^^^^^^^^^^^^^^^^\nModuleNotFoundError: No module named 'setuptools'\n" stack backtrace: 0: rust_begin_unwind at /usr/src/rustc-1.85.0/library/std/src/panicking.rs:692:5 1: core::panicking::panic_fmt at /usr/src/rustc-1.85.0/library/core/src/panicking.rs:75:14 2: core::result::unwrap_failed at /usr/src/rustc-1.85.0/library/core/src/result.rs:1704:5 3: core::result::Result<T,E>::unwrap at /usr/src/rustc-1.85.0/library/core/src/result.rs:1109:23 4: build_script_build::main at ./build.rs:52:27 5: core::ops::function::FnOnce::call_once at /usr/src/rustc-1.85.0/library/core/src/ops/function.rs:250:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ð¥ maturin failed Caused by: Failed to build a native library through cargo Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/usr/bin/python3.13" PYTHON_SYS_EXECUTABLE="/usr/bin/python3.13" "/usr/share/cargo/bin/cargo" "rustc" "--features" "pyo3/abi3-py37" "--message-format" "json-render-diagnostics" "--locked" "--manifest-path" "/<<PKGBUILDDIR>>/src/rust/Cargo.toml" "--release" "--lib"` Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3.13', '--compatibility', 'off'] returned non-zero exit status 1 ERROR Backend subprocess exited when trying to invoke build_wheel E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cryptography dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:24: 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/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:python-cryptography, so that this is still visible in the BTS web page for this package. Thanks.