Source: golang-golang-x-vuln
Version: 1.9.0-1
Tags: patch
User: [email protected]
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
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 <[email protected]>  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 <[email protected]>,
 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),

Reply via email to