Article View: linux.debian.bugs.dist
Article #3314Bug#1153092: wego FTCBFS: multiple reasons
From: Helmut Grohne
Date: Thu, 05 Nov 2026 09:30
Date: Thu, 05 Nov 2026 09:30
76 lines
4270 bytes
4270 bytes
--OJAHZb62DNoNerBh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: wego
Version: 2.4-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
wego fails to cross build from source, because it fails running the
host's Go compiler. Since gccgo became unsupported, we can change the
compiler dependency to golang-go and since the latter is a multitarget
compiler, we can annotate it :native. Once this is fixed, generation of
the manual page fails. I suggest adding a secondary build pass here. As
go uses a different build directory layout for cross compilation, we can
share the build place and reference the wego binary for manual page
generation there. Please consider applying the attached patch.
Helmut
--OJAHZb62DNoNerBh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="wego_2.4-2.1.debdiff"
diff -Nru wego-2.4/debian/changelog wego-2.4/debian/changelog
--- wego-2.4/debian/changelog 2026-08-19 20:23:22.000000000 +0200
+++ wego-2.4/debian/changelog 2026-11-05 10:09:36.000000000 +0100
@@ -1,3 +1,12 @@
+wego (2.4-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Use a native golang Go compiler.
+ + Add a build pass for the manual page.
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 05 Nov 2026 10:09:36 +0100
+
wego (2.4-2) unstable; urgency=medium
* Team upload
diff -Nru wego-2.4/debian/control wego-2.4/debian/control
--- wego-2.4/debian/control 2026-08-19 20:23:22.000000000 +0200
+++ wego-2.4/debian/control 2026-11-05 10:08:32.000000000 +0100
@@ -4,7 +4,7 @@
Uploaders: Philipp Kern <pkern@debian.org>
Build-Depends: debhelper-compat (= 14),
dh-sequence-golang,
- golang-any,
+ golang-go:native,
golang-github-mattn-go-colorable-dev,
golang-github-mattn-go-runewidth-dev,
golang-github-muesli-mango-dev (>> 0.2.0-3~),
diff -Nru wego-2.4/debian/rules wego-2.4/debian/rules
--- wego-2.4/debian/rules 2026-08-19 20:23:22.000000000 +0200
+++ wego-2.4/debian/rules 2026-11-05 10:09:36.000000000 +0100
@@ -1,10 +1,15 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
%:
dh $@ --builddirectory=_build --buildsystem=golang
override_dh_auto_install:
dh_auto_install -- --no-source
mkdir -p debian/tmp/usr/share/man/man1
- debian/tmp/usr/bin/wego --man \
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+ dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build
+endif
+ _build/bin/wego --man \
> debian/tmp/usr/share/man/man1/wego.1
--OJAHZb62DNoNerBh--
Technical Details
Message-ID:
<NW1Xb-9XUD-33@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!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#1153092: wego FTCBFS: multiple reasons Date: Thu, 05 Nov 2026 10:30:01 +0100 Message-ID: <NW1Xb-9XUD-33@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 Thu Nov 5 09:29:22 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1153092@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1153092 X-Debian-Pr-Package: src:wego X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: wego MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="OJAHZb62DNoNerBh" 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/2000770 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 76 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 5 Nov 2026 10:18:25 +0100 X-Original-Message-ID: <20261105091825.GA1029694@subdivi.de>