[Pkg-rust-maintainers] Bug#976472: rust-packed-simd: 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:22 GMT 2020
Source: rust-packed-simd
Version: 0.3.3-5
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 packed_simd v0.3.3 (/<<PKGBUILDDIR>>)
> Compiling cfg-if v0.1.10
> Running `CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.3.3 CARGO_PKG_AUTHORS='Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO_PKG_VERSION_MINOR=3 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_NAME=packed_simd CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/packed_simd' CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/packed_simd' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PATCH=3 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 debuginfo=2 --cfg 'feature="default"' -C metadata=ab8567422125bbab -C extra-filename=-ab8567422125bbab --out-dir /<<PKGBUILDDIR>>/target/debug/build/packed_simd-ab8567422125bbab -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
> Running `CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.1.10 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_VERSION_MINOR=1 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10 CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_NAME=cfg-if 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_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PATCH=10 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 debuginfo=2 -C metadata=e016c26d5b3f43c4 -C extra-filename=-e016c26d5b3f43c4 --out-dir /<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -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/packed-simd-0.3.3`
> Running `/<<PKGBUILDDIR>>/target/debug/build/packed_simd-ab8567422125bbab/build-script-build`
> Running `CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.3.3 OUT_DIR=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/build/packed_simd-f4b2938dc190eef0/out CARGO_PKG_AUTHORS='Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO_PKG_VERSION_MINOR=3 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_NAME=packed_simd CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/packed_simd' CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/packed_simd' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PATCH=3 rustc --crate-name packed_simd --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=4918058cb6821db6 -C extra-filename=-4918058cb6821db6 --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 --extern cfg_if=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps/libcfg_if-e016c26d5b3f43c4.rmeta -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/packed-simd-0.3.3`
> warning: unnecessary `unsafe` block
> --> src/api/minimal/ptr.rs:221:21
> |
> 221 | unsafe { crate::intrinsics::type_name::<T>() }
> | ^^^^^^ unnecessary `unsafe` block
> |
> ::: src/vPtr.rs:6:1
> |
> 6 | / impl_const_p!(
> 7 | | [*const T; 2]: cptrx2, msizex2, usizex2, isizex2 | test_v128 | x0, x1 | From: |
> 8 | | /// A vector with 2 `*const T` lanes
> 9 | | );
> | |__- in this macro invocation
> |
> note: the lint level is defined here
> --> src/lib.rs:235:9
> |
> 235 | #![deny(warnings, rust_2018_idioms)]
> | ^^^^^^^^
> = note: `#[warn(unused_unsafe)]` implied by `#[warn(warnings)]`
> = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: unnecessary `unsafe` block
> --> src/api/minimal/ptr.rs:221:21
> |
> 221 | unsafe { crate::intrinsics::type_name::<T>() }
> | ^^^^^^ unnecessary `unsafe` block
> |
> ::: src/vPtr.rs:11:1
> |
> 11 | / impl_mut_p!(
> 12 | | [*mut T; 2]: mptrx2, msizex2, usizex2, isizex2 | test_v128 | x0, x1 | From: |
> 13 | | /// A vector with 2 `*mut T` lanes
> 14 | | );
> | |__- in this macro invocation
> |
> = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: unnecessary `unsafe` block
> --> src/api/minimal/ptr.rs:221:21
> |
> 221 | unsafe { crate::intrinsics::type_name::<T>() }
> | ^^^^^^ unnecessary `unsafe` block
> |
> ::: src/vPtr.rs:16:1
> |
> 16 | / impl_const_p!(
> 17 | | [*const T; 4]: cptrx4, msizex4, usizex4, isizex4 | test_v256 | x0, x1, x2, x3 | From: |
> 18 | | /// A vector with 4 `*const T` lanes
> 19 | | );
> | |__- in this macro invocation
> |
> = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: unnecessary `unsafe` block
> --> src/api/minimal/ptr.rs:221:21
> |
> 221 | unsafe { crate::intrinsics::type_name::<T>() }
> | ^^^^^^ unnecessary `unsafe` block
> |
> ::: src/vPtr.rs:21:1
> |
> 21 | / impl_mut_p!(
> 22 | | [*mut T; 4]: mptrx4, msizex4, usizex4, isizex4 | test_v256 | x0, x1, x2, x3 | From: |
> 23 | | /// A vector with 4 `*mut T` lanes
> 24 | | );
> | |__- in this macro invocation
> |
> = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: unnecessary `unsafe` block
> --> src/api/minimal/ptr.rs:221:21
> |
> 221 | unsafe { crate::intrinsics::type_name::<T>() }
> | ^^^^^^ unnecessary `unsafe` block
> |
> ::: src/vPtr.rs:26:1
> |
> 26 | / impl_const_p!(
> 27 | | [*const T; 8]: cptrx8, msizex8, usizex8, isizex8 | test_v512 | x0, x1, x2, x3, x4, x5, x6, x7 | From: |
> 28 | | /// A vector with 8 `*const T` lanes
> 29 | | );
> | |__- in this macro invocation
> |
> = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: unnecessary `unsafe` block
> --> src/api/minimal/ptr.rs:221:21
> |
> 221 | unsafe { crate::intrinsics::type_name::<T>() }
> | ^^^^^^ unnecessary `unsafe` block
> |
> ::: src/vPtr.rs:31:1
> |
> 31 | / impl_mut_p!(
> 32 | | [*mut T; 8]: mptrx8, msizex8, usizex8, isizex8 | test_v512 | x0, x1, x2, x3, x4, x5, x6, x7 | From: |
> 33 | | /// A vector with 8 `*mut T` lanes
> 34 | | );
> | |__- in this macro invocation
> |
> = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
>
> warning: the feature `align_offset` has been stable since 1.36.0 and no longer requires an attribute to enable
> --> src/lib.rs:212:5
> |
> 212 | align_offset,
> | ^^^^^^^^^^^^
> |
> note: the lint level is defined here
> --> src/lib.rs:235:9
> |
> 235 | #![deny(warnings, rust_2018_idioms)]
> | ^^^^^^^^
> = note: `#[warn(stable_features)]` implied by `#[warn(warnings)]`
>
> error[E0635]: unknown feature `mmx_target_feature`
> --> src/lib.rs:213:5
> |
> 213 | mmx_target_feature,
> | ^^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/api/cast/v16.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
> |
> note: the lint level is defined here
> --> src/lib.rs:235:9
> |
> 235 | #![deny(warnings, rust_2018_idioms)]
> | ^^^^^^^^
> = note: `#[warn(unused_attributes)]` implied by `#[warn(warnings)]`
>
> warning: unused attribute
> --> src/api/cast/v32.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/api/cast/v64.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/api/cast/v128.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/api/cast/v256.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/api/cast/v512.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/codegen/bit_manip.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/v64.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/v128.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/v256.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/v512.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> warning: unused attribute
> --> src/vPtr.rs:2:1
> |
> 2 | #![rustfmt::skip]
> | ^^^^^^^^^^^^^^^^^
>
> error: aborting due to previous error; 19 warnings emitted
>
> For more information about this error, try `rustc --explain E0635`.
> error: could not compile `packed_simd`.
>
> Caused by:
> process didn't exit successfully: `CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION=0.3.3 OUT_DIR=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/build/packed_simd-f4b2938dc190eef0/out CARGO_PKG_AUTHORS='Gonzalo Brito Gadeschi <gonzalobg88 at gmail.com>' CARGO_PKG_VERSION_MINOR=3 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO=/usr/bin/cargo LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_NAME=packed_simd CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang-nursery/packed_simd' CARGO_PKG_REPOSITORY='https://github.com/rust-lang-nursery/packed_simd' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_PATCH=3 rustc --crate-name packed_simd --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=4918058cb6821db6 -C extra-filename=-4918058cb6821db6 --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 --extern cfg_if=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps/libcfg_if-e016c26d5b3f43c4.rmeta -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/packed-simd-0.3.3` (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-packed-simd_0.3.3-5_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