Source: golang-github-alecthomas-chroma-v2 Version: 2.27.0-2 Tags: patch User: [email protected] 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
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 <[email protected]> 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

