[From nobody Mon Nov 16 17:23:09 2026
Received: (at submit) by bugs.debian.org; 15 Oct 2026 12:21:40 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 required=4.0 tests=BAYES_00, DATE_IN_PAST_12_24, 
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
 SPF_HELO_NONE, 
 SPF_NONE,WORD_WITHOUT_VOWELS autolearn=no autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 150; neutral, 61; spammy,
 0. spammytokens: hammytokens:0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian, 0.000-+--HTo:N*Bug, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Tracking
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:43938)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;helmut@subdivi.de&gt;) id 1xHKSq-00AgjX-0N
 for submit@bugs.debian.org; Thu, 15 Oct 2026 12:21:40 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k33.isilmar-4; t=1792066897;
 bh=+rcLwvoOGEfo2FJNNTLAw4YbFDBD32wjM8QvK9tfofg=;
 h=Date:From:To:Subject:From;
 b=AKutqbAchxv5tPY8q6GdULjrlfJ6BodsBw2OnXVQTJmPU24ka1fXqiE7G8qsrkkX1
 6mpBinS8UrqDhY0ZN4/x0P9Xb8bfuA+E5d+/9RocI1kb/k22FecB5ZObTYZRHeDL2S
 nXP71xgGiyHr+cPg9+tmKowtSLLyupHRy2fr4dMsyNrK89NUzbqYOoMzT7rDWrxLpY
 b3G5AyRclB9cbbpZ0eOOpiMg0g81U6GOOf7/fPsNmJsesSw2XFrhP+VzZhuinZbpKI
 cWKJIQh4OX0BIWEaQpIWoo/80+IAfMXbATUZEXc2MbPAGblVnwhJkGf/WZzzY3dWL6
 oXDxjBwo06AfQ==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id 6CEA1200316
 for &lt;submit@bugs.debian.org&gt;; Thu, 15 Oct 2026 12:21:37 +0000 (UTC)
Date: Wed, 14 Oct 2026 16:20:51 +0200
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: prometheus-hacluster-exporter FTCBFS: fails running the go compiler
Message-ID: &lt;20261014142051.GA2965911@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;E1x54So45D9ZtsTK&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org


--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=&quot;prometheus-hacluster-exporter_1.4.2-1.1.debdiff&quot;

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 &lt;helmut@subdivi.de&gt;  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--
]