[Pkg-rust-maintainers] Bug#931002: rust-coresimd: FTBFS (unrecognized platform-specific intrinsic function: `x86_rdrand16_step`unrecognized platform-specific intrinsic function: `x86_rdrand16_step`)
Santiago Vila
sanvila at debian.org
Mon Jun 24 12:36:15 BST 2019
Package: src:rust-coresimd
Version: 0.1.2-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
dh build-arch --buildsystem cargo
dh_update_autotools_config -a -O--buildsystem=cargo
dh_autoreconf -a -O--buildsystem=cargo
dh_auto_configure -a -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel: ['parallel=2'] [] ['-j2']
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 -a -O--buildsystem=cargo
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
export RUSTC_BOOTSTRAP=1; \
dh_auto_test
debian cargo wrapper: options, profiles, parallel: ['parallel=2'] [] ['-j2']
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', '-j2', '--target', 'x86_64-unknown-linux-gnu'],) {}
Compiling coresimd v0.1.2 (/<<PKGBUILDDIR>>)
Running `rustc --crate-name build_script_build build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=4c9f73b74e941fa4 -C extra-filename=-4c9f73b74e941fa4 --out-dir /<<PKGBUILDDIR>>/target/debug/build/coresimd-4c9f73b74e941fa4 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
Running `/<<PKGBUILDDIR>>/target/debug/build/coresimd-4c9f73b74e941fa4/build-script-build`
[coresimd 0.1.2] cargo:rustc-env=TARGET=x86_64-unknown-linux-gnu
Running `rustc --crate-name coresimd src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=709a32ec1dae0a97 -C extra-filename=-709a32ec1dae0a97 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps -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/coresimd-0.1.2`
error: unrecognized platform-specific intrinsic function: `x86_rdrand16_step`
--> src/coresimd/x86/rdrand.rs:6:5
|
6 | fn x86_rdrand16_step() -> (u16, i32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unrecognized platform-specific intrinsic function: `x86_rdrand32_step`
--> src/coresimd/x86/rdrand.rs:7:5
|
7 | fn x86_rdrand32_step() -> (u32, i32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unrecognized platform-specific intrinsic function: `x86_rdseed16_step`
--> src/coresimd/x86/rdrand.rs:8:5
|
8 | fn x86_rdseed16_step() -> (u16, i32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unrecognized platform-specific intrinsic function: `x86_rdseed32_step`
--> src/coresimd/x86/rdrand.rs:9:5
|
9 | fn x86_rdseed32_step() -> (u32, i32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unrecognized platform-specific intrinsic function: `x86_rdrand64_step`
--> src/coresimd/x86_64/rdrand.rs:6:5
|
6 | fn x86_rdrand64_step() -> (u64, i32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unrecognized platform-specific intrinsic function: `x86_rdseed64_step`
--> src/coresimd/x86_64/rdrand.rs:7:5
|
7 | fn x86_rdseed64_step() -> (u64, i32);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 6 previous errors
error: Could not compile `coresimd`.
Caused by:
process didn't exit successfully: `rustc --crate-name coresimd src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=709a32ec1dae0a97 -C extra-filename=-709a32ec1dae0a97 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps -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/coresimd-0.1.2` (exit code: 1)
dh_auto_test: /usr/share/cargo/bin/cargo build returned exit code 101
make[1]: *** [debian/rules:8: override_dh_auto_test] Error 101
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -B"
and it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-coresimd.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Pkg-rust-maintainers
mailing list