[Pkg-rust-maintainers] Bug#1022405: rust-gpg-error: FTBFS: sh: 1: gpg-error-config: not found

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:16:09 BST 2022


Source: rust-gpg-error
Version: 0.5.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- test --all
> debian cargo wrapper: options, profiles, parallel: ['parallel=8'] [] ['-j8']
> 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', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j8', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
>    Compiling libgpg-error-sys v0.5.2
>    Compiling libc v0.2.132
>    Compiling gpg-error v0.5.2 (/<<PKGBUILDDIR>>)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libgpg-error-sys-0.5.2 CARGO_PKG_AUTHORS='John Schug <john.ips.schug at gmail.com>' CARGO_PKG_DESCRIPTION='Raw bindings for libgpg-error' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=LGPL-2.1 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libgpg-error-sys CARGO_PKG_REPOSITORY='https://github.com/gpg-rs/libgpg-error/libgpg-error-sys' CARGO_PKG_VERSION=0.5.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/libgpg-error-sys-0.5.2/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=13a5227bd006a061 -C extra-filename=-13a5227bd006a061 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libgpg-error-sys-13a5227bd006a061 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.132 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION=0.2.132 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=132 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.132/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5f320a7fb4cc5284 -C extra-filename=-5f320a7fb4cc5284 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-5f320a7fb4cc5284 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='John Schug <john.ips.schug at gmail.com>' CARGO_PKG_DESCRIPTION='Libgpg-error bindings for Rust' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=LGPL-2.1 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gpg-error CARGO_PKG_REPOSITORY='https://github.com/gpg-rs/libgpg-error' CARGO_PKG_VERSION=0.5.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b1f23d9dff3fae35 -C extra-filename=-b1f23d9dff3fae35 --out-dir /<<PKGBUILDDIR>>/target/debug/build/gpg-error-b1f23d9dff3fae35 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/libc-5f320a7fb4cc5284/build-script-build`
> [libc 0.2.132] cargo:rerun-if-changed=build.rs
> [libc 0.2.132] cargo:rustc-cfg=freebsd11
> [libc 0.2.132] cargo:rustc-cfg=libc_priv_mod_use
> [libc 0.2.132] cargo:rustc-cfg=libc_union
> [libc 0.2.132] cargo:rustc-cfg=libc_const_size_of
> [libc 0.2.132] cargo:rustc-cfg=libc_align
> [libc 0.2.132] cargo:rustc-cfg=libc_int128
> [libc 0.2.132] cargo:rustc-cfg=libc_core_cvoid
> [libc 0.2.132] cargo:rustc-cfg=libc_packedN
> [libc 0.2.132] cargo:rustc-cfg=libc_cfg_target_vendor
> [libc 0.2.132] cargo:rustc-cfg=libc_non_exhaustive
> [libc 0.2.132] cargo:rustc-cfg=libc_ptr_addr_of
> [libc 0.2.132] cargo:rustc-cfg=libc_underscore_const_names
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.132 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION=0.2.132 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=132 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libc-125d22bceab2ec91/out rustc --crate-name libc /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.132/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=889af5f9fdcbaac5 -C extra-filename=-889af5f9fdcbaac5 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/gpg-error-0.5.2 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/libgpg-error-sys-13a5227bd006a061/build-script-build`
> [libgpg-error-sys 0.5.2] scanning file: /usr/share/cargo/registry/libgpg-error-sys-0.5.2/err-sources.h.in
> [libgpg-error-sys 0.5.2] scanning file: /usr/share/cargo/registry/libgpg-error-sys-0.5.2/err-codes.h.in
> [libgpg-error-sys 0.5.2] scanning file: /usr/share/cargo/registry/libgpg-error-sys-0.5.2/errnos.in
> [libgpg-error-sys 0.5.2] cargo:generated=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libgpg-error-sys-5021b935430cc525/out
> [libgpg-error-sys 0.5.2] cargo:rerun-if-env-changed=LIBGPG_ERROR_PREFIX
> [libgpg-error-sys 0.5.2] cargo:rerun-if-env-changed=LIBGPG_ERROR_INCLUDE
> [libgpg-error-sys 0.5.2] cargo:rerun-if-env-changed=LIBGPG_ERROR_LIB_DIR
> [libgpg-error-sys 0.5.2] cargo:rerun-if-env-changed=LIBGPG_ERROR_LIBS
> [libgpg-error-sys 0.5.2] cargo:rerun-if-env-changed=LIBGPG_ERROR_CONFIG
> [libgpg-error-sys 0.5.2] running: "sh" "-c" "gpg-error-config --version"
> [libgpg-error-sys 0.5.2] sh: 1: gpg-error-config: not found
> [libgpg-error-sys 0.5.2] command did not execute successfully, got: exit status: 127
> [libgpg-error-sys 0.5.2] Error: ()
> error: failed to run custom build command for `libgpg-error-sys v0.5.2`
> 
> Caused by:
>   process didn't exit successfully: `/<<PKGBUILDDIR>>/target/debug/build/libgpg-error-sys-13a5227bd006a061/build-script-build` (exit status: 1)
>   --- stdout
>   scanning file: /usr/share/cargo/registry/libgpg-error-sys-0.5.2/err-sources.h.in
>   scanning file: /usr/share/cargo/registry/libgpg-error-sys-0.5.2/err-codes.h.in
>   scanning file: /usr/share/cargo/registry/libgpg-error-sys-0.5.2/errnos.in
>   cargo:generated=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libgpg-error-sys-5021b935430cc525/out
>   cargo:rerun-if-env-changed=LIBGPG_ERROR_PREFIX
>   cargo:rerun-if-env-changed=LIBGPG_ERROR_INCLUDE
>   cargo:rerun-if-env-changed=LIBGPG_ERROR_LIB_DIR
>   cargo:rerun-if-env-changed=LIBGPG_ERROR_LIBS
>   cargo:rerun-if-env-changed=LIBGPG_ERROR_CONFIG
> 
>   --- stderr
>   running: "sh" "-c" "gpg-error-config --version"
>   sh: 1: gpg-error-config: not found
>   command did not execute successfully, got: exit status: 127
>   Error: ()
> warning: build failed, waiting for other jobs to finish...
> error: build failed
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/rust-gpg-error_0.5.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&fusertaguser=lucas@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 marking 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.



More information about the Pkg-rust-maintainers mailing list