Bug#1127346: src:sprng: fails to migrate to testing for too long: FTBFS on armhf

Peter Green <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.ports.arm
Message-ID <[email protected]>
On 07/02/2026 08:45, Paul Gevers wrote:

> ∙ ∙ Missing build on armhf

The culrpit appears to be the following change.
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-ifeq ($(DEB_HOST_ARCH),armhf)
+arch            := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+ifeq ($(arch),armhf)

This change appears to be wrong in two ways.

1. Checking the "host" arch (arch you are building for) not the "build" arch (arch you are building on) is generally what you want for compiler flags.
2. DEB_{BUILD|HOST}_ARCH_CPU on armhf is "arm" not "armhf".

With an arm porter hat on, I suggest reverting this change.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.