🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1152215: goxkcdpwgen FTBCFS: uses the host architecture go compiler

#2316
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
60 lines
4099 bytes
--WPT21V1y80s3zaPV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: goxkcdpwgen
Version: 0.0~git20231122.e51aa57-4
Tags: patch
User: debian-cross@lists.debian.org
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

--WPT21V1y80s3zaPV
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
	filename="goxkcdpwgen_0.0~git20231122.e51aa57-4.1.debdiff"
Content-Transfer-Encoding: 8bit

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 <helmut@subdivi.de>  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 (李健秋) <ajqlee@debian.org>,
 Build-Depends: debhelper-compat (= 14),
                dh-go,
-               golang-any,
+               golang-go:native,
                golang-github-stretchr-testify-dev,
                help2man,
 Standards-Version: 4.7.4

--WPT21V1y80s3zaPV--
Technical Details
Message-ID: <NSzkK-84wi-49@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!robomod

Show 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#1152215: goxkcdpwgen FTBCFS: uses the host architecture go compiler
Date: Mon, 26 Oct 2026 21:20:02 +0100
Message-ID: <NSzkK-84wi-49@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  Mon Oct 26 20:17:29 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152215@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1152215
X-Debian-Pr-Package: src:goxkcdpwgen
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: goxkcdpwgen
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="WPT21V1y80s3zaPV"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999087
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 60
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 23 Oct 2026 15:17:38 +0200
X-Original-Message-ID: <20261023131738.GA1267176@subdivi.de>