[Pkg-freeipa-devel] Bug#1052626: 389-ds-base FTBFS: clap package not found

Helmut Grohne helmut at subdivi.de
Mon Sep 25 12:55:05 BST 2023


Source: 389-ds-base
Version: 2.3.4+dfsg1-1
Severity: serious
Tags: ftbfs

389-ds-base fails to build from source in unstable. A build ends with: 

| dh_auto_build
|         make -j8
| make[2]: Entering directory '/<<PKGBUILDDIR>>'
| ./ldap/servers/slapd/mkDBErrStrs.py -i ./ldap/servers/slapd/back-ldbm -o .
| RUST_BACKTRACE=1 RUSTC_BOOTSTRAP=1 \
| CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/rs/rslapd \
| SLAPD_DYLIB_DIR=/<<PKGBUILDDIR>>/ \
| SLAPD_HEADER_DIR=/<<PKGBUILDDIR>>/ \
|         cargo rustc --offline --manifest-path=./src/librslapd/Cargo.toml \
|         --release --verbose -- -C debuginfo=2
| RUST_BACKTRACE=1 RUSTC_BOOTSTRAP=1 \
| CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/rs/rnsslapd \
| SLAPD_DYLIB_DIR=/<<PKGBUILDDIR>>/ \
| SLAPD_HEADER_DIR=/<<PKGBUILDDIR>>/ \
|         cargo rustc --offline --manifest-path=./src/librnsslapd/Cargo.toml \
|         --release --verbose -- -C debuginfo=2
|     Blocking waiting for file lock on package cache
| error: no matching package found
| searched package name: `clap`
| perhaps you meant:      cc, cexpr, glob, ...
| location searched: registry `crates-io`
| required by package `cbindgen v0.24.5`
|     ... which satisfies dependency `cbindgen = "0.*"` of package `librslapd v0.1.0 (/<<PKGBUILDDIR>>/src/librslapd)`
| As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag.
| make[2]: *** [Makefile:13002: /<<PKGBUILDDIR>>/rs/rslapd/release/librslapd.a] Error 101
| make[2]: *** Waiting for unfinished jobs....
| error: no matching package found
| searched package name: `clap`
| perhaps you meant:      cc, cexpr, glob, ...
| location searched: registry `crates-io`
| required by package `cbindgen v0.24.5`
|     ... which satisfies dependency `cbindgen = "0.*"` of package `librslapd v0.1.0 (/<<PKGBUILDDIR>>/src/librslapd)`
| As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag.
| make[2]: *** [Makefile:13013: /<<PKGBUILDDIR>>/rs/rnsslapd/release/librnsslapd.a] Error 101
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j8 returned exit code 2
| make[1]: *** [debian/rules:52: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:18: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut



More information about the Pkg-freeipa-devel mailing list