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

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


Source: rust-gpgme
Version: 0.10.0-3
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):
>  debian/rules binary
> dh binary --buildsystem cargo
>    dh_update_autotools_config -O--buildsystem=cargo
>    dh_autoreconf -O--buildsystem=cargo
>    dh_auto_configure -O--buildsystem=cargo
> 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: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
>    dh_auto_build -O--buildsystem=cargo
>    dh_auto_test -O--buildsystem=cargo
> 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', 'build', '--verbose', '--verbose', '-j8', '--target', 'x86_64-unknown-linux-gnu'],) {}
>    Compiling libgpg-error-sys v0.5.2
>    Compiling libc v0.2.132
>    Compiling memchr v2.5.0
>    Compiling gpgme-sys v0.10.0
>    Compiling gpg-error v0.5.2
>    Compiling cfg-if v0.1.10
>    Compiling macro-attr v0.2.0
>    Compiling smallvec v1.9.0
>      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>>/debian/cargo_registry/memchr-2.5.0 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>:bluss' CARGO_PKG_DESCRIPTION='Safe interface to memchr.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 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/memchr-2.5.0/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=127d20fea71a0c09 -C extra-filename=-127d20fea71a0c09 --out-dir /<<PKGBUILDDIR>>/target/debug/build/memchr-127d20fea71a0c09 -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/gpgme-sys-0.10.0 CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Raw bindings for gpgme' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=LGPL-2.1 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gpgme-sys CARGO_PKG_REPOSITORY='https://github.com/gpg-rs/gpgme/gpgme-sys' CARGO_PKG_VERSION=0.10.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=10 CARGO_PKG_VERSION_PATCH=0 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/gpgme-sys-0.10.0/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=e8de494c4f0882e9 -C extra-filename=-e8de494c4f0882e9 --out-dir /<<PKGBUILDDIR>>/target/debug/build/gpgme-sys-e8de494c4f0882e9 -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/gpg-error-0.5.2 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='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/gpg-error-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=5a4f15c7827922c4 -C extra-filename=-5a4f15c7827922c4 --out-dir /<<PKGBUILDDIR>>/target/debug/build/gpg-error-5a4f15c7827922c4 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cfg_if CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg]
> parameters. Structured like an if-else chain, the first matching branch is the
> item that gets emitted.
> ' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cfg-if CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION=0.1.10 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name cfg_if --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10/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 -C metadata=f31e601b4e7b3e6c -C extra-filename=-f31e601b4e7b3e6c --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/gpgme-0.10.0`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=macro_attr CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/macro-attr-0.2.0 CARGO_PKG_AUTHORS='Daniel Keep <daniel.keep at gmail.com>' CARGO_PKG_DESCRIPTION='This crate provides the `macro_attr'\!'` macro that enables the use of custom, macro-based attributes and derivations.  Supercedes the `custom_derive` crate.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=macro-attr CARGO_PKG_REPOSITORY='https://github.com/DanielKeep/rust-custom-derive' CARGO_PKG_VERSION=0.2.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name macro_attr /<<PKGBUILDDIR>>/debian/cargo_registry/macro-attr-0.2.0/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=7ece3679e38ccdbf -C extra-filename=-7ece3679e38ccdbf --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/gpgme-0.10.0`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=smallvec CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/smallvec-1.9.0 CARGO_PKG_AUTHORS='The Servo Project Developers' CARGO_PKG_DESCRIPTION=''\''Small vector'\'' optimization: store up to a small number of items on the stack' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=smallvec CARGO_PKG_REPOSITORY='https://github.com/servo/rust-smallvec' CARGO_PKG_VERSION=1.9.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=9 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name smallvec --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/smallvec-1.9.0/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 -C metadata=11bcae93063c5076 -C extra-filename=-11bcae93063c5076 --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/gpgme-0.10.0`
>    Compiling static_assertions v1.1.0
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=static_assertions CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/static_assertions-1.1.0 CARGO_PKG_AUTHORS='Nikolai Vazquez' CARGO_PKG_DESCRIPTION='Compile-time assertions to ensure that invariants are met.' CARGO_PKG_HOMEPAGE='https://github.com/nvzqz/static-assertions-rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=static_assertions CARGO_PKG_REPOSITORY='https://github.com/nvzqz/static-assertions-rs' CARGO_PKG_VERSION=1.1.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name static_assertions /<<PKGBUILDDIR>>/debian/cargo_registry/static_assertions-1.1.0/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 -C metadata=47fd5144f8e09019 -C extra-filename=-47fd5144f8e09019 --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/gpgme-0.10.0`
>    Compiling bitflags v1.3.2
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bitflags CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/bitflags-1.3.2 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags.
> ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name bitflags --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/bitflags-1.3.2/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"' -C metadata=8eb46207cc20b43e -C extra-filename=-8eb46207cc20b43e --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/gpgme-0.10.0`
>    Compiling once_cell v1.14.0
>    Compiling conv v0.3.3
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=once_cell CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.14.0 CARGO_PKG_AUTHORS='Aleksey Kladov <aleksey.kladov at gmail.com>' CARGO_PKG_DESCRIPTION='Single assignment cells and lazy values.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=once_cell CARGO_PKG_REPOSITORY='https://github.com/matklad/once_cell' CARGO_PKG_VERSION=1.14.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=14 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name once_cell --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.14.0/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="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=19eb70d2a18119be -C extra-filename=-19eb70d2a18119be --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/gpgme-0.10.0`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=conv CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/conv-0.3.3 CARGO_PKG_AUTHORS='Daniel Keep <daniel.keep at gmail.com>' CARGO_PKG_DESCRIPTION='This crate provides a number of conversion traits with more specific semantics than those provided by '\''as'\'' or '\''From'\''/'\''Into'\''.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=conv CARGO_PKG_REPOSITORY='https://github.com/DanielKeep/rust-conv' CARGO_PKG_VERSION=0.3.3 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name conv /<<PKGBUILDDIR>>/debian/cargo_registry/conv-0.3.3/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 -C metadata=28e6e707f691a05e -C extra-filename=-28e6e707f691a05e --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 --extern macro_attr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libmacro_attr-7ece3679e38ccdbf.rmeta --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/gpgme-0.10.0`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/memchr-127d20fea71a0c09/build-script-build`
> [memchr 2.5.0] cargo:rustc-cfg=memchr_runtime_simd
> [memchr 2.5.0] cargo:rustc-cfg=memchr_runtime_sse2
> [memchr 2.5.0] cargo:rustc-cfg=memchr_runtime_sse42
> [memchr 2.5.0] cargo:rustc-cfg=memchr_runtime_avx
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.5.0 CARGO_PKG_AUTHORS='Andrew Gallant <jamslam at gmail.com>:bluss' CARGO_PKG_DESCRIPTION='Safe interface to memchr.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=memchr CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/memchr' CARGO_PKG_VERSION=2.5.0 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/memchr-a9f97aa8cd5e0f1d/out rustc --crate-name memchr --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.5.0/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 -C metadata=a3d7b843e2e0c1d4 -C extra-filename=-a3d7b843e2e0c1d4 --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/gpgme-0.10.0 --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx`
>      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/gpgme-0.10.0 --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`
> warning: unused variable: `ninfo`
>   --> /usr/share/cargo/registry/gpgme-0.10.0/debian/cargo_registry/memchr-2.5.0/src/memmem/x86/avx.rs:83:13
>    |
> 83 |             ninfo: &NeedleInfo,
>    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_ninfo`
>    |
>    = note: `#[warn(unused_variables)]` on by default
> 
> warning: unused variable: `needle`
>   --> /usr/share/cargo/registry/gpgme-0.10.0/debian/cargo_registry/memchr-2.5.0/src/memmem/x86/avx.rs:84:13
>    |
> 84 |             needle: &[u8],
>    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_needle`
> 
> warning: unused variable: `haystack`
>   --> /usr/share/cargo/registry/gpgme-0.10.0/debian/cargo_registry/memchr-2.5.0/src/memmem/x86/avx.rs:95:13
>    |
> 95 |             haystack: &[u8],
>    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_haystack`
> 
> warning: unused variable: `needle`
>   --> /usr/share/cargo/registry/gpgme-0.10.0/debian/cargo_registry/memchr-2.5.0/src/memmem/x86/avx.rs:96:13
>    |
> 96 |             needle: &[u8],
>    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_needle`
> 
>    Compiling cstr-argument v0.1.1
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cstr_argument CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cstr-argument-0.1.1 CARGO_PKG_AUTHORS='John Schug <john.ips.schug at gmail.com>' CARGO_PKG_DESCRIPTION='A trait for converting function arguments to null terminated strings' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Unlicense CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cstr-argument CARGO_PKG_REPOSITORY='https://github.com/johnschug/cstr-argument' CARGO_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' rustc --crate-name cstr_argument /<<PKGBUILDDIR>>/debian/cargo_registry/cstr-argument-0.1.1/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 -C metadata=b169390be4fdacd2 -C extra-filename=-b169390be4fdacd2 --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 --extern cfg_if=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-f31e601b4e7b3e6c.rmeta --extern memchr=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libmemchr-a3d7b843e2e0c1d4.rmeta --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/gpgme-0.10.0`
>      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] running: "sh" "-c" "gpg-error-config --version"
> [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] 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...
> warning: `memchr` (lib) generated 4 warnings
> error: build failed
> dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/rust-gpgme_0.10.0-3_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