Source: goxkcdpwgen
Version: 0.0~git20231122.e51aa57-4
Tags: patch
User: [email protected]
Usertags: ftcbfs

goxkcdpwgen fails to cross build from source, because it attempts to run
the host architecture go compiler. For a long time, I assumed that this
required changes to golang-defaults, but now that gccgo is no longer
supported, we can switch to golang-go and correctly annotate it :native.
Please consider applying the attached patch.

Note that the packages does not actually use help2man during build. If
it were, it were failing to cross build. The dependency can be dropped.
The generated manual page is included below debian/ in the source
package. Consider writing a real one as the existing one duplicates all
options and contains garbage at the end. The manual page is out of scope
for this bug though.

Helmut
diff -Nru goxkcdpwgen-0.0~git20231122.e51aa57/debian/changelog 
goxkcdpwgen-0.0~git20231122.e51aa57/debian/changelog
--- goxkcdpwgen-0.0~git20231122.e51aa57/debian/changelog        2026-09-05 
10:11:41.000000000 +0200
+++ goxkcdpwgen-0.0~git20231122.e51aa57/debian/changelog        2026-10-23 
15:10:26.000000000 +0200
@@ -1,3 +1,10 @@
+goxkcdpwgen (0.0~git20231122.e51aa57-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use golang-go. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 23 Oct 2026 15:10:26 +0200
+
 goxkcdpwgen (0.0~git20231122.e51aa57-4) unstable; urgency=medium
 
   * debian/control: build-deps on dh-go instead of dh-golang to
diff -Nru goxkcdpwgen-0.0~git20231122.e51aa57/debian/control 
goxkcdpwgen-0.0~git20231122.e51aa57/debian/control
--- goxkcdpwgen-0.0~git20231122.e51aa57/debian/control  2026-09-05 
09:53:40.000000000 +0200
+++ goxkcdpwgen-0.0~git20231122.e51aa57/debian/control  2026-10-23 
15:10:26.000000000 +0200
@@ -4,7 +4,7 @@
 Uploaders: Andrew Lee (李健秋) <[email protected]>,
 Build-Depends: debhelper-compat (= 14),
                dh-go,
-               golang-any,
+               golang-go:native,
                golang-github-stretchr-testify-dev,
                help2man,
 Standards-Version: 4.7.4

Reply via email to