🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Wed, 28 Oct 2026 16:00
Bug#1152366: nats-server FTCBFS: fails running the host architecture go compiler
#2501
Author: Helmut Grohne
Date: Wed, 28 Oct 2026 16:00
53 lines
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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads