Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Mon, 26 Oct 2026 20:20
Bug#1152221: golang-github-alecthomas-chroma-v2 FTCBFS: runs the host architecture go compiler
Author: 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--
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