Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Thu, 05 Nov 2026 09:30
Bug#1153092: wego FTCBFS: multiple reasons
Author: 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--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads