#1155164 a56 FTCBFS: fails stripping keybld

Package:
src:a56
Source:
src:a56
Submitter:
Helmut Grohne
Date:
2026-11-24 20:51:04 UTC
Severity:
normal
Tags:
#1155164#5
Date:
2026-11-22 15:54:31 UTC
From:
To:
a56 fails to cross build from source as it fails stripping keybld. They
keybld tool is in a strange position as it is both run during build and
installed into the package. The upstream Makefile partially recognizes
this and compiles it using $(HOSTCC). Unfortunately, that results in it
being the wrong architecture for packaging. There is no right here as
the installed one must be host and the run one must be build. What we
actually need here is building them twice. I am attaching a patch to the
Makefile that implements this need. When HOSTCC equals CC, there is no
need to build them twice, so my patch ensures that the native case
remains as before. Please consider forwarding the patch upstream.

Helmut