Source: nats-server Version: 2.15.1-1 Tags: patch User: [email protected] Usertags: ftcbfs Control: affects 960842 - src:nats-server
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
diff -Nru nats-server-2.15.1/debian/changelog nats-server-2.15.1/debian/changelog --- nats-server-2.15.1/debian/changelog 2026-10-13 23:34:18.000000000 +0200 +++ nats-server-2.15.1/debian/changelog 2026-10-28 07:20:37.000000000 +0100 @@ -1,3 +1,10 @@ +nats-server (2.15.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use a native golang-go compiler. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 28 Oct 2026 07:20:37 +0100 + nats-server (2.15.1-1) unstable; urgency=medium * New upstream release diff -Nru nats-server-2.15.1/debian/control nats-server-2.15.1/debian/control --- nats-server-2.15.1/debian/control 2026-10-13 23:32:58.000000000 +0200 +++ nats-server-2.15.1/debian/control 2026-10-28 07:20:35.000000000 +0100 @@ -7,7 +7,7 @@ Build-Depends: debhelper-compat (= 13), dh-golang, dh-sequence-installsysusers, - golang-any, + golang-go:native, golang-github-antithesishq-antithesis-sdk-go-dev, golang-github-klauspost-compress-dev, golang-github-minio-highwayhash-dev (>= 1.0.3+git20251030.070ab1a),

