Article View: linux.debian.bugs.dist
Article #3062Bug#1152884: witr FTCBFS: fails running the host architecture go compiler
From: Helmut Grohne
Date: Mon, 02 Nov 2026 20:50
Date: Mon, 02 Nov 2026 20:50
71 lines
4094 bytes
4094 bytes
--F5bJNsf1uxYxwUEO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Source: witr Version: 0.3.1+ds-1 Tags: patch User: debian-cross@lists.debian.org Usertags: ftcbfs witr fails to cross build from source, because it depends on the host architecture Go compiler which cannot be run. Since gccgo became unsupported, we can narrow down the dependency from golang-any to golang-go and since golang-go is a multitarget compiler, we can annotate it :native to select a runnable compiler. What remains is a failure to run the docgen tool. To fix that an additional native build pass is needed. Please consider applying the attached patch. Helmut --F5bJNsf1uxYxwUEO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="witr_0.3.1+ds-1.1.debdiff" diff -Nru witr-0.3.1+ds/debian/changelog witr-0.3.1+ds/debian/changelog --- witr-0.3.1+ds/debian/changelog 2026-04-23 08:59:41.000000000 +0200 +++ witr-0.3.1+ds/debian/changelog 2026-11-01 10:05:22.000000000 +0100 @@ -1,3 +1,12 @@ +witr (0.3.1+ds-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Use a native golang Go compiler. + + Add a native build pass for the docgen tool. + + -- Helmut Grohne <helmut@subdivi.de> Sun, 01 Nov 2026 10:05:22 +0100 + witr (0.3.1+ds-1) unstable; urgency=medium * New upstream version 0.3.1+ds diff -Nru witr-0.3.1+ds/debian/control witr-0.3.1+ds/debian/control --- witr-0.3.1+ds/debian/control 2026-04-23 07:09:15.000000000 +0200 +++ witr-0.3.1+ds/debian/control 2026-11-01 10:03:13.000000000 +0100 @@ -5,7 +5,7 @@ Build-Depends: debhelper-compat (= 13), dh-sequence-golang, - golang-any, + golang-go:native, golang-github-spf13-cobra-dev, golang-github-charmbracelet-bubbles-dev, golang-github-charmbracelet-bubbletea-dev, diff -Nru witr-0.3.1+ds/debian/rules witr-0.3.1+ds/debian/rules --- witr-0.3.1+ds/debian/rules 2026-04-23 08:58:50.000000000 +0200 +++ witr-0.3.1+ds/debian/rules 2026-11-01 10:05:21.000000000 +0100 @@ -19,8 +19,11 @@ dh_auto_build -- -ldflags "$(LD_FLAGS)" execute_after_dh_auto_build: +ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) + dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build +endif debian/build/bin/docgen -format man - rm -f debian/build/bin/docgen override_dh_auto_install: dh_auto_install -- --no-source + rm -f debian/witr/usr/bin/docgen --F5bJNsf1uxYxwUEO--
Technical Details
Message-ID:
<NV78B-9tbZ-19@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152884: witr FTCBFS: fails running the host architecture go compiler Date: Mon, 02 Nov 2026 21:50:01 +0100 Message-ID: <NV78B-9tbZ-19@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 Nov 2 20:45:16 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152884@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1152884 X-Debian-Pr-Package: src:witr X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: witr MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="F5bJNsf1uxYxwUEO" 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/2000292 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 71 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 1 Nov 2026 10:15:07 +0100 X-Original-Message-ID: <20261101091507.GA870908@subdivi.de>