🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2315

Bug#1152202: golang-golang-x-vuln FTCBFS: uses the host architecture go compiler

#2315
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
54 lines
3685 bytes
--+UEFolkmWW4fPJoP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: golang-golang-x-vuln
Version: 1.9.0-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

golang-golang-x-vuln fails to cross build from source, because it uses
the host architecture go compiler and fails running it. For a long time,
we thought that this would require changes to golang-defaults to cover
for gccgo, but gccgo is no longer supported. In explicitly using
golang-go, we can correctly express the build dependency and make
golang-golang-x-vuln cross buildable. Please consider applying the
attached patch.

Helmut

--+UEFolkmWW4fPJoP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="golang-golang-x-vuln_1.9.0-1.1.debdiff"

diff -Nru golang-golang-x-vuln-1.9.0/debian/changelog golang-golang-x-vuln-1.9.0/debian/changelog
--- golang-golang-x-vuln-1.9.0/debian/changelog	2026-10-15 14:56:55.000000000 +0200
+++ golang-golang-x-vuln-1.9.0/debian/changelog	2026-10-23 11:28:44.000000000 +0200
@@ -1,3 +1,10 @@
+golang-golang-x-vuln (1.9.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Build with golang-go. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 23 Oct 2026 11:28:44 +0200
+
 golang-golang-x-vuln (1.9.0-1) unstable; urgency=medium
 
   * Team upload
diff -Nru golang-golang-x-vuln-1.9.0/debian/control golang-golang-x-vuln-1.9.0/debian/control
--- golang-golang-x-vuln-1.9.0/debian/control	2026-10-15 14:56:55.000000000 +0200
+++ golang-golang-x-vuln-1.9.0/debian/control	2026-10-23 11:28:42.000000000 +0200
@@ -4,7 +4,7 @@
 Uploaders: Shengjing Zhu <zhsj@debian.org>,
 Build-Depends: debhelper-compat (= 14),
                dh-sequence-golang,
-               golang-any (>= 2:1.22~),
+               golang-go:native(>= 2:1.22~),
                golang-github-google-go-cmp-dev (>= 0.5.8),
                golang-golang-x-mod-dev (>= 0.22.0),
                golang-golang-x-sync-dev (>= 0.6.0),

--+UEFolkmWW4fPJoP--
Technical Details
Message-ID: <NSzkK-84wi-51@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.nntp4.net!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#1152202: golang-golang-x-vuln FTCBFS: uses the host architecture go compiler
Date: Mon, 26 Oct 2026 21:20:02 +0100
Message-ID: <NSzkK-84wi-51@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 26 20:17:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152202@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1152202
X-Debian-Pr-Package: src:golang-golang-x-vuln
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: golang-golang-x-vuln
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="+UEFolkmWW4fPJoP"
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/1999074
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 23 Oct 2026 11:41:24 +0200
X-Original-Message-ID: <20261023094124.GA853148@subdivi.de>