#1129215 mairix FTCBFS: builds for the build architecture

Package:
src:mairix
Source:
src:mairix
Submitter:
Helmut Grohne
Date:
2026-02-28 23:27:01 UTC
Severity:
normal
Tags:
#1129215#5
Date:
2026-02-26 19:12:21 UTC
From:
To:
mairix fails to cross build from source, because it builds for the build
architecture. The configure invocation lacks any indication of what the
host architecture is. Usually one would pass --host=..., but this
configure is hand-written and does not accept that flag. Instead, it
expects the CC variable to be suitably exported. Once doing so, it
actually cross builds but the fails running the dfasyn tool. It is
purely used during build and should be compiled with the build
architecture compiler. Hence I propose to build it separately passing a
different compiler. With both of these changes, mairix cross builds
successfully. Please consider applying the attached patch.

Helmut

#1129215#10
Date:
2026-02-28 23:17:35 UTC
From:
To:
Greetings!

This looks reasonable. Thanks for submitting the patch!

Later,
Mako


{"quotation": {"who": "Helmut Grohne", "date": "Thu, Feb 26, 2026 at 08:12:21PM +0100"}}