Source: prometheus-hacluster-exporter Version: 1.4.2-1 Tags: patch User: [email protected] Usertags: ftcbfs
prometheus-hacluster-exporter fails to cross build from source, because it encounters an Exec format error running the Go compiler. In principle, we would have to turn golang-any M-A:foreign, but that would been broken when using gccgo-go. Now that gccgo-go is no more, we can directly depend on golang-go and there we can add a :native annotation. dh-golang has been fixed to pass suitable cross compilation flags a while ago, so just changing the dependency makes it cross buildable. Please consider applying the attached patch. Helmut
diff -Nru prometheus-hacluster-exporter-1.4.2/debian/changelog prometheus-hacluster-exporter-1.4.2/debian/changelog --- prometheus-hacluster-exporter-1.4.2/debian/changelog 2026-07-31 23:57:29.000000000 +0200 +++ prometheus-hacluster-exporter-1.4.2/debian/changelog 2026-10-14 15:49:21.000000000 +0200 @@ -1,3 +1,10 @@ +prometheus-hacluster-exporter (1.4.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use a host architecture go compiler. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 14 Oct 2026 15:49:21 +0200 + prometheus-hacluster-exporter (1.4.2-1) unstable; urgency=medium * New upstream version 1.4.2 diff -Nru prometheus-hacluster-exporter-1.4.2/debian/control prometheus-hacluster-exporter-1.4.2/debian/control --- prometheus-hacluster-exporter-1.4.2/debian/control 2026-07-31 23:57:29.000000000 +0200 +++ prometheus-hacluster-exporter-1.4.2/debian/control 2026-10-14 15:49:21.000000000 +0200 @@ -5,7 +5,7 @@ Build-Depends: debhelper-compat (= 13), dh-golang, - golang-any, + golang-go:native, golang-github-go-kit-kit-dev, golang-github-golang-mock-dev, golang-github-pkg-errors-dev,

