[From nobody Tue Jul 14 10:39:10 2026
Received: (at submit) by bugs.debian.org; 26 Sep 2019 19:35:11 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-17.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
 RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham
 autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 149; neutral, 44; spammy,
 1. spammytokens:0.987-1--H*MI:186f hammytokens:0.000-+--H*u:60.0,
 0.000-+--Hx-spam-relays-external:!IPv6, 0.000-+--H*RU:!IPv6,
 0.000-+--testsuite, 0.000-+--H*F:U*plugwash
Return-path: &lt;plugwash@p10link.net&gt;
Received: from p10link.net ([80.68.89.68])
 by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;plugwash@p10link.net&gt;)
 id 1iDZXj-0007TF-5O
 for submit@bugs.debian.org; Thu, 26 Sep 2019 19:35:11 +0000
Received: from [IPv6:2a02:c7f:ba49:1500::2] (unknown
 [IPv6:2a02:c7f:ba49:1500::2])
 by P10Link.net (Postfix) with ESMTPSA id 97BC740C00F
 for &lt;submit@bugs.debian.org&gt;; Thu, 26 Sep 2019 20:35:08 +0100 (BST)
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
From: peter green &lt;plugwash@p10link.net&gt;
Subject: rust-sha1-asm, useless on most architectures.
Message-ID: &lt;2b4d2447-186f-1e3c-fe8e-842ea94a8c74@p10link.net&gt;
Date: Thu, 26 Sep 2019 20:35:08 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.7.2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Delivered-To: submit@bugs.debian.org

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.
]