[Pkg-rust-maintainers] Bug#1099669: rust-rebuildctl: FTBFS: Error: builder error - Caused by: OpenSSL error
Santiago Vila
sanvila at debian.org
Thu Mar 6 14:24:01 GMT 2025
Package: src:rust-rebuildctl
Version: 0.22.1-1
Severity: serious
Tags: ftbfs trixie sid patch
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
[ Note: The problem is a missing build-depends on openssl so I'm marking this with "patch" ]
--------------------------------------------------------------------------------
[...]
warning: `clap_complete` (lib) generated 2 warnings
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=glob CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/glob-0.3.2 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/glob-0.3.2/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Support for matching file paths against Unix shell style patterns.
' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/glob' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=glob CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/glob' CARGO_PKG_RUST_VERSION=1.23.0 CARGO_PKG_VERSION=0.3.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name glob --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/glob-0.3.2/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d0fa8c3c610c311b -C extra-filename=-9e400cdcafce715c --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/rebuildctl-0.22.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
Compiling rebuildctl v0.22.1 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=rebuildctl CARGO_CRATE_NAME=rebuildctl CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='kpcyrd <git at rxv.cc>' CARGO_PKG_DESCRIPTION='rebuilderd - rebuildctl client' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=GPL-3.0-or-later CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rebuildctl CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/kpcyrd/rebuilderd' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.22.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=22 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustc --crate-name rebuildctl --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1d299539f679a765 -C extra-filename=-7a8fca94b624a575 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/target/release/deps --extern bzip2=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libbzip2-135369bf7f6045d3.rlib --extern chrono=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libchrono-389a1d3a98400aff.rlib --extern clap=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libclap-9b0c0f3adef52eac.rlib --extern clap_complete=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libclap_complete-cceb5944402ceb7e.rlib --extern colored=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libcolored-1fddf8c46f8be3ee.rlib --extern dirs_next=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libdirs_next-25b62f6103100787.rlib --extern env_logger=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libenv_logger-d07fdc8f532ef9fc.rlib --extern flate2=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libflate2-9e811ffc4417beab.rlib --extern glob=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libglob-9e400cdcafce715c.rlib --extern nom=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libnom-c2e8952e126ea46a.rlib --extern rebuilderd_common=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/librebuilderd_common-474fd9bf9aee2b51.rlib --extern regex=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libregex-dc08e8d04ab7c48e.rlib --extern serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde-54262000d0cc64d1.rlib --extern serde_xml_rs=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde_xml_rs-bf83b843b1e9095b.rlib --extern serde_json=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-2ccf8f8738b3a317.rlib --extern tar=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtar-f1eb4b0830440acb.rlib --extern tokio=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtokio-7dc5445b81db13a3.rlib --extern toml=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtoml-056fb0af97798ed4.rlib --extern tree_magic_mini=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtree_magic_mini-f849ed8ad074bb17.rlib --extern url=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/liburl-e555cba3e63c8b45.rlib --extern xz2=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libxz2-1f97e331bf037944.rlib --extern zstd=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libzstd-02e13616f8b9465e.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/rebuildctl-0.22.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/usr/lib/x86_64-linux-gnu -L native=/usr/lib`
Finished `release` profile [optimized + debuginfo] target(s) in 4m 29s
Installing debian/rebuildctl/usr/bin/rebuildctl
Installed package `rebuildctl v0.22.1 (/<<PKGBUILDDIR>>)` (executable `rebuildctl`)
warning: be sure to add `debian/rebuildctl/usr/bin` to your PATH to be able to run the installed binaries
debian cargo wrapper: running subprocess (['rm', '-f', 'debian/rebuildctl/usr/.crates.toml'],) {}
debian cargo wrapper: running subprocess (['rm', '-f', 'debian/rebuildctl/usr/.crates2.json'],) {}
debian cargo wrapper: running subprocess ('ls -td "target/x86_64-unknown-linux-gnu/release/build/rebuildctl"-*/out 2>/dev/null | head -n1',) {'shell': True, 'stdout': -1}
debian/rules execute_before_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
debian/rebuildctl/usr/bin/rebuildctl completions bash > debian/rebuildctl.bash
Error: builder error
Caused by:
OpenSSL error
make[1]: *** [debian/rules:6: execute_before_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: 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:rust-rebuildctl, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-rust-maintainers
mailing list