[debhelper-devel] Bug#858467: Please expand on error message "No packages to build." when architectures do not match

Niels Thykier niels at thykier.net
Mon Apr 10 10:55:00 UTC 2017

On Wed, 22 Mar 2017 19:01:54 +0100 Michael Stapelberg
<stapelberg at debian.org> wrote:
> Package: debhelper
> Version: 10.2.5
> Severity: normal
> Currently, when trying to build a Debian package whose binary packages
> specify “€œArchitecture: arm64“€ on an amd64 machine, I get the following
> error message:
> raspi3-firmware $ dh clean
> dh: No packages to build.
> While this is technically correct, the error message could be way
> friendlier: I’€™d suggest something along the lines of “No packages to
> build (architecture mismatch: got amd64, want arm64)“€.
> What do you think?
> [...]

I am fine with getting patches for the better error messages.

Please keep in mind that the "want" part includes architecture
wildcards, which debhelper doesn't deal with directly so far.


More information about the debhelper-devel mailing list