Article View: linux.debian.bugs.dist
Article #2300Bug#1152221: golang-github-alecthomas-chroma-v2 FTCBFS: runs the host architecture go compiler
From: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
63 lines
4511 bytes
4511 bytes
--Mjbui4KgvezMA1ux
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: golang-github-alecthomas-chroma-v2
Version: 2.27.0-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
For a long time, we thought that making go packages cross buildable
would require changes to golang-default. It has become clear that
dropping support for gccgo is enough. Once we do and fix assumptions
about the build's location, golang-github-alecthomas-chroma-v2 can be
made cross buildable. Please consider applying the attached patch.
Helmut
--Mjbui4KgvezMA1ux
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
filename="golang-github-alecthomas-chroma-v2_2.27.0-2.1.debdiff"
diff -Nru golang-github-alecthomas-chroma-v2-2.27.0/debian/changelog golang-github-alecthomas-chroma-v2-2.27.0/debian/changelog
--- golang-github-alecthomas-chroma-v2-2.27.0/debian/changelog 2026-10-21 05:46:33.000000000 +0200
+++ golang-github-alecthomas-chroma-v2-2.27.0/debian/changelog 2026-10-26 14:00:34.000000000 +0100
@@ -1,3 +1,12 @@
+golang-github-alecthomas-chroma-v2 (2.27.0-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Use golang's go.
+ + Reduce assumptions about build location.
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 26 Oct 2026 14:00:34 +0100
+
golang-github-alecthomas-chroma-v2 (2.27.0-2) unstable; urgency=medium
* Migrate to dh-go
diff -Nru golang-github-alecthomas-chroma-v2-2.27.0/debian/control golang-github-alecthomas-chroma-v2-2.27.0/debian/control
--- golang-github-alecthomas-chroma-v2-2.27.0/debian/control 2026-10-21 05:46:33.000000000 +0200
+++ golang-github-alecthomas-chroma-v2-2.27.0/debian/control 2026-10-26 14:00:33.000000000 +0100
@@ -7,7 +7,7 @@
Build-Depends: debhelper-compat (= 14),
dh-exec,
dh-go,
- golang-any (>= 2:1.22~),
+ golang-go:native (>= 2:1.22~),
golang-github-alecthomas-assert-dev (>= 2.7.0),
golang-github-alecthomas-kong-dev (>= 0.9.0),
golang-github-alecthomas-kong-hcl-dev (>= 1.0.1),
diff -Nru golang-github-alecthomas-chroma-v2-2.27.0/debian/golang-chroma-v2.install golang-github-alecthomas-chroma-v2-2.27.0/debian/golang-chroma-v2.install
--- golang-github-alecthomas-chroma-v2-2.27.0/debian/golang-chroma-v2.install 2026-04-08 15:30:03.000000000 +0200
+++ golang-github-alecthomas-chroma-v2-2.27.0/debian/golang-chroma-v2.install 2026-10-26 14:00:34.000000000 +0100
@@ -1,3 +1,3 @@
#!/usr/bin/dh-exec
-_build/bin/chroma => /usr/bin/chroma-v2
-_build/bin/chromad => /usr/bin/chromad-v2
+usr/bin/chroma => /usr/bin/chroma-v2
+usr/bin/chromad => /usr/bin/chromad-v2
--Mjbui4KgvezMA1ux--
Technical Details
Message-ID:
<NSzkJ-84wi-29@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#1152221: golang-github-alecthomas-chroma-v2 FTCBFS: runs the host architecture go compiler Date: Mon, 26 Oct 2026 21:20:01 +0100 Message-ID: <NSzkJ-84wi-29@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 Oct 26 20:18:06 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152221@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1152221 X-Debian-Pr-Package: src:golang-github-alecthomas-chroma-v2 X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: golang-github-alecthomas-chroma-v2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Mjbui4KgvezMA1ux" 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/1999092 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 63 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 16:19:25 +0100 X-Original-Message-ID: <20261026151925.GA3164045@subdivi.de>