Article View: linux.debian.bugs.dist
Article #2501Bug#1152366: nats-server FTCBFS: fails running the host architecture go compiler
From: Helmut Grohne
Date: Wed, 28 Oct 2026 16:00
Date: Wed, 28 Oct 2026 16:00
53 lines
3656 bytes
3656 bytes
--yDl/BCPJM5c3lE09
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: nats-server
Version: 2.15.1-1
Tags: patch
User: debian-cross@lists.debian.org
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
--yDl/BCPJM5c3lE09
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="nats-server_2.15.1-1.1.debdiff"
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 <helmut@subdivi.de> 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),
--yDl/BCPJM5c3lE09--
Technical Details
Message-ID:
<NTeee-8rU2-27@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152366: nats-server FTCBFS: fails running the host architecture go compiler Date: Wed, 28 Oct 2026 17:00:02 +0100 Message-ID: <NTeee-8rU2-27@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 28 15:51:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152366@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1152366 X-Debian-Pr-Package: src:nats-server X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: nats-server MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="yDl/BCPJM5c3lE09" Content-Disposition: inline X-Reportbug-Version: 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999384 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 53 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 28 Oct 2026 07:25:55 +0100 X-Original-Message-ID: <20261028062555.GA1099340@subdivi.de>