package: rust-sha1-asm
version: 0.4.3-2

The rust-sha1-asm upstream code outright refuses to build on anything other 
than x86 and x86_64 . During the debian package build the upstream code is only 
actually built as part of running the testsuite, not as part of making the 
package (since Debian rust library packages only ship source code).

The Debian package currently builds successfully on all Debian architectures 
but not on raspbian. On further investigation this is because the Debian 
package built process ignores the testsuite result unless DEB_BUILD_RUST_ARCH 
matches arm-* x86-* or x86-64-* (note: DEB_BUILD_RUST_ARCH on the debian arm 
architectures does not match arm-*)

I can understand building with a testsuite disabled/neutered in cases where 
some tests fail, but the package appears to be broadly usable, but that does 
not appear to be the case here. IMO ,unless there is a good reason to do 
otherwise that I am missing, librust-sha-1-dev and it's reverse dependencies 
librust-sha-1+asm-dev and librust-sha-1+sha1-asm-dev should only be built on 
architectures where the code inside can actually be built.

Reply via email to