Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Mon, 02 Nov 2026 20:50
Bug#1152884: witr FTCBFS: fails running the host architecture go compiler
Author: 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--
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