[Pkg-rust-maintainers] Bug#976467: rust-core-arch: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101

Lucas Nussbaum lucas at debian.org
Sat Dec 5 13:28:10 GMT 2020


Source: rust-core-arch
Version: 0.1.5-4
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> export RUSTC_BOOTSTRAP=1; \
> dh_auto_test
> debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
> debian cargo wrapper: rust_type, gnu_type: aarch64-unknown-linux-gnu, aarch64-linux-gnu
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j4', '--target', 'aarch64-unknown-linux-gnu'],) {}
>    Compiling core_arch v0.1.5 (/<<PKGBUILDDIR>>)
>      Running `CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION_PATCH=5 CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION=0.1.5 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PRE= CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' rustc --crate-name build_script_build build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=0c9e369f53803bd6 -C extra-filename=-0c9e369f53803bd6 --out-dir /<<PKGBUILDDIR>>/target/debug/build/core_arch-0c9e369f53803bd6 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
>      Running `/<<PKGBUILDDIR>>/target/debug/build/core_arch-0c9e369f53803bd6/build-script-build`
> [core_arch 0.1.5] cargo:rustc-cfg=core_arch_docs
>      Running `OUT_DIR=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/build/core_arch-bdd71fb3715c8655/out CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION_PATCH=5 CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION=0.1.5 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PRE= CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' rustc --crate-name core_arch src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=20c0c8735dc138e4 -C extra-filename=-20c0c8735dc138e4 --out-dir /<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps -C debuginfo=2 --cap-lints warn -C linker=aarch64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/core-arch-0.1.5 --cfg core_arch_docs`
> warning: unused import: `mem::transmute`
>  --> src/arm/neon.rs:3:38
>   |
> 3 | use crate::{core_arch::simd_llvm::*, mem::transmute};
>   |                                      ^^^^^^^^^^^^^^
>   |
>   = note: `#[warn(unused_imports)]` on by default
> 
> warning: the feature `align_offset` has been stable since 1.36.0 and no longer requires an attribute to enable
>   --> src/lib.rs:20:5
>    |
> 20 |     align_offset,
>    |     ^^^^^^^^^^^^
>    |
>    = note: `#[warn(stable_features)]` on by default
> 
> warning: the feature `maybe_uninit` has been stable since 1.36.0 and no longer requires an attribute to enable
>   --> src/lib.rs:21:5
>    |
> 21 |     maybe_uninit,
>    |     ^^^^^^^^^^^^
> 
> error[E0635]: unknown feature `mmx_target_feature`
>   --> src/lib.rs:23:5
>    |
> 23 |     mmx_target_feature,
>    |     ^^^^^^^^^^^^^^^^^^
> 
> warning: unused attribute
>  --> src/simd.rs:3:1
>   |
> 3 | #![rustfmt::skip]
>   | ^^^^^^^^^^^^^^^^^
>   |
>   = note: `#[warn(unused_attributes)]` on by default
> 
> error: aborting due to previous error; 4 warnings emitted
> 
> For more information about this error, try `rustc --explain E0635`.
> error: could not compile `core_arch`.
> 
> Caused by:
>   process didn't exit successfully: `OUT_DIR=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/build/core_arch-bdd71fb3715c8655/out CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=core_arch CARGO_PKG_VERSION_PATCH=5 CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION=0.1.5 CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/stdsimd' CARGO_PKG_VERSION_PRE= CARGO_PKG_DESCRIPTION='`core::arch` - Rust'\''s core library architecture-specific intrinsics.' CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>:Andrew Gallant <jamslam at gmail.com>:Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' rustc --crate-name core_arch src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=20c0c8735dc138e4 -C extra-filename=-20c0c8735dc138e4 --out-dir /<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps -C debuginfo=2 --cap-lints warn -C linker=aarch64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/core-arch-0.1.5 --cfg core_arch_docs` (exit code: 1)
> 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/2020/12/05/rust-core-arch_0.1.5-4_unstable.log

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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-rust-maintainers mailing list