Article View: linux.debian.bugs.dist
Article #954Bug#1150995: prometheus-hacluster-exporter FTCBFS: fails running the go compiler
From: Helmut Grohne
Date: Thu, 15 Oct 2026 12:30
Date: Thu, 15 Oct 2026 12:30
55 lines
3751 bytes
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--
Technical Details
Message-ID:
<NOsKR-5GFG-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150995: prometheus-hacluster-exporter FTCBFS: fails running the go compiler Date: Thu, 15 Oct 2026 14:30:01 +0200 Message-ID: <NOsKR-5GFG-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 15 12:23:18 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1150995@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-ha-maintainers@alioth-lists.debian.net X-Debian-Pr-Message: report 1150995 X-Debian-Pr-Package: src:prometheus-hacluster-exporter X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: prometheus-hacluster-exporter MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="E1x54So45D9ZtsTK" Content-Disposition: inline X-Reportbug-Version: 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996936 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 14 Oct 2026 16:20:51 +0200 X-Original-Message-ID: <20261014142051.GA2965911@subdivi.de>