🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Thu, 15 Oct 2026 12:30
Bug#1150995: prometheus-hacluster-exporter FTCBFS: fails running the go compiler
#954
Author: Helmut Grohne
Date: Thu, 15 Oct 2026 12:30
55 lines
3751 bytes
--E1x54So45D9ZtsTK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: prometheus-hacluster-exporter
Version: 1.4.2-1
Tags: patch
User: debian-cross@lists.debian.org
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

--E1x54So45D9ZtsTK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="prometheus-hacluster-exporter_1.4.2-1.1.debdiff"

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 <helmut@subdivi.de>  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,

--E1x54So45D9ZtsTK--
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