Article View: linux.debian.bugs.dist
Article #3058Bug#1152882: tea-cli 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
84 lines
4632 bytes
4632 bytes
--bPgmbVcrfUGy0MEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: tea-cli
Version: 0.11.1-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
tea-cli fails to cross build from source, because it installs the host
architecture Go compiler which cannot be run. As we stopped supporting
gccgo and the golang implementation being multi-target, we can narrow
the golang-any dependency to golang-go and then annotate it :native to
fix that. tea-cli still fails to cross build, because it attempts to run
the docs tool which is not installed. To accommodate this I propose
adding a native build pass. Please find a complete patch attached for
your convenience.
Helmut
--bPgmbVcrfUGy0MEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="tea-cli_0.11.1-2.1.debdiff"
diff -Nru tea-cli-0.11.1/debian/changelog tea-cli-0.11.1/debian/changelog
--- tea-cli-0.11.1/debian/changelog 2026-10-17 23:55:00.000000000 +0200
+++ tea-cli-0.11.1/debian/changelog 2026-11-01 08:59:46.000000000 +0100
@@ -1,3 +1,12 @@
+tea-cli (0.11.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Use a native golang Go compiler.
+ + Add a native build pass for the docs tool.
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 01 Nov 2026 08:59:46 +0100
+
tea-cli (0.11.1-2) unstable; urgency=medium
* Team upload.
diff -Nru tea-cli-0.11.1/debian/control tea-cli-0.11.1/debian/control
--- tea-cli-0.11.1/debian/control 2026-10-17 21:00:00.000000000 +0200
+++ tea-cli-0.11.1/debian/control 2026-11-01 08:59:45.000000000 +0100
@@ -5,7 +5,7 @@
Testsuite: autopkgtest-pkg-go
Build-Depends: debhelper-compat (= 13),
dh-golang,
- golang-any,
+ golang-go:native,
golang-code-gitea-sdk-dev,
golang-gitea-noerw-unidiff-comments-dev,
golang-github-adrg-xdg-dev,
diff -Nru tea-cli-0.11.1/debian/rules tea-cli-0.11.1/debian/rules
--- tea-cli-0.11.1/debian/rules 2026-10-17 21:00:00.000000000 +0200
+++ tea-cli-0.11.1/debian/rules 2026-11-01 08:59:46.000000000 +0100
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
BUILD_DATE := $(shell date -u +%F -d @$(SOURCE_DATE_EPOCH))
@@ -7,8 +8,10 @@
dh $@ --builddirectory=debian/build --buildsystem=golang --with=golang
execute_after_dh_auto_build:
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+ dpkg-architecture -f -a$(DEB_BUILD_ARCH) -c dh_auto_build
+endif
debian/build/bin/docs --out docs/CLI.md
- rm debian/build/bin/docs
pandoc --standalone --to man docs/CLI.md -o debian/build/tea-cli.1 \
-V title=tea-cli \
-V section=1 \
@@ -16,4 +19,5 @@
override_dh_auto_install:
dh_auto_install -O--builddirectory=debian/build -O--buildsystem=golang
+ rm debian/tea-cli/usr/bin/docs
mv debian/tea-cli/usr/bin/tea debian/tea-cli/usr/bin/tea-cli
--bPgmbVcrfUGy0MEu--
Technical Details
Message-ID:
<NV78B-9tbZ-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!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!3.eu.feeder.erje.net!feeder.erje.net!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#1152882: tea-cli FTCBFS: fails running the host architecture go compiler Date: Mon, 02 Nov 2026 21:50:01 +0100 Message-ID: <NV78B-9tbZ-9@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 2 20:45:13 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152882@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1152882 X-Debian-Pr-Package: src:tea-cli X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: tea-cli MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bPgmbVcrfUGy0MEu" 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/2000290 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 84 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 1 Nov 2026 09:17:03 +0100 X-Original-Message-ID: <20261101081703.GA716700@subdivi.de>