#1152366 nats-server FTCBFS: fails running the host architecture go compiler

#1152366#5
Date:
2026-10-28 06:25:55 UTC
From:
To:
nats-server fails to cross build from source, because it installs the
host architecture go compiler, which cannot be run. For a long time, we
hoped that this would be fixable in golang-defaults, but at this time
gccgo is no longer supported, so switching to golang-go allows solving
the problem by appending :native. Once doing so, nats-server cross
builds successfully. Please consider applying the attached patch.

Helmut