Your message dated Thu, 15 Dec 2022 04:35:34 +0000
with message-id <e1p5fy2-00cpav...@fasolo.debian.org>
and subject line Bug#1026094: fixed in prometheus-ipmi-exporter 1.6.1-2
has caused the Debian Bug report #1026094,
regarding prometheus-ipmi-exporter: autopkgtest/build fails due to API change
in prometheus exporter-toolkit
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1026094: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026094
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: prometheus-ipmi-exporter
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lunar ubuntu-patch
Dear Maintainer,
Recent API changes in the github.com/prometheus/exporter-toolkit/web
package, which are included in golang-github-prometheus-exporter-toolkit
0.8.2-1, cause the autopkgtest (and re-build) to fail.
This can be fixed by an upstream commit that adapts to the new API.
Thanks,
Nick
diff -Nru
prometheus-ipmi-exporter-1.6.1/debian/patches/02-fix-build-with-new-exporter-toolkit.patch
prometheus-ipmi-exporter-1.6.1/debian/patches/02-fix-build-with-new-exporter-toolkit.patch
---
prometheus-ipmi-exporter-1.6.1/debian/patches/02-fix-build-with-new-exporter-toolkit.patch
1969-12-31 19:00:00.000000000 -0500
+++
prometheus-ipmi-exporter-1.6.1/debian/patches/02-fix-build-with-new-exporter-toolkit.patch
2022-12-13 15:51:36.000000000 -0500
@@ -0,0 +1,33 @@
+Description: Fix build with golang-github-prometheus-exporter-toolkit 0.8.2
+Origin: upstream,
https://github.com/prometheus-community/ipmi_exporter/commit/e8989cfdf79bebb2e3d84e43f65a7fc027ee7bba.patch
+Bug-Ubuntu: https://launchpad.net/bugs/1999574
+Last-Update: 2022-12-13
+---
+--- a/main.go
++++ b/main.go
+@@ -41,11 +41,7 @@
+ "freeipmi.path",
+ "Path to FreeIPMI executables.",
+ ).Default("/usr/sbin").String()
+- listenAddress = kingpin.Flag(
+- "web.listen-address",
+- "Address to listen on for web interface and telemetry.",
+- ).Default(":9290").String()
+- webConfig = webflag.AddFlags(kingpin.CommandLine)
++ webConfig = webflag.AddFlags(kingpin.CommandLine, ":9290")
+
+ sc = &SafeConfig{
+ C: &Config{},
+@@ -169,10 +165,8 @@
+ </html>`))
+ })
+
+- level.Info(logger).Log("msg", "Listening on", "address", *listenAddress)
+-
+- srv := &http.Server{Addr: *listenAddress}
+- if err := web.ListenAndServe(srv, *webConfig, logger); err != nil {
++ srv := &http.Server{}
++ if err := web.ListenAndServe(srv, webConfig, logger); err != nil {
+ level.Error(logger).Log("msg", "HTTP listener stopped",
"error", err)
+ os.Exit(1)
+ }
diff -Nru prometheus-ipmi-exporter-1.6.1/debian/patches/series
prometheus-ipmi-exporter-1.6.1/debian/patches/series
--- prometheus-ipmi-exporter-1.6.1/debian/patches/series 2022-06-22
07:19:56.000000000 -0400
+++ prometheus-ipmi-exporter-1.6.1/debian/patches/series 2022-12-13
15:23:10.000000000 -0500
@@ -1 +1,2 @@
01-debian-defaults.patch
+02-fix-build-with-new-exporter-toolkit.patch
--- End Message ---
--- Begin Message ---
Source: prometheus-ipmi-exporter
Source-Version: 1.6.1-2
Done: Daniel Swarbrick <dswarbr...@debian.org>
We believe that the bug you reported is fixed in the latest version of
prometheus-ipmi-exporter, which is due to be installed in the Debian FTP
archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1026...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Swarbrick <dswarbr...@debian.org> (supplier of updated
prometheus-ipmi-exporter package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 15 Dec 2022 04:09:48 +0000
Source: prometheus-ipmi-exporter
Architecture: source
Version: 1.6.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg...@tracker.debian.org>
Changed-By: Daniel Swarbrick <dswarbr...@debian.org>
Closes: 1026094
Changes:
prometheus-ipmi-exporter (1.6.1-2) unstable; urgency=medium
.
[ Daniel Swarbrick ]
* Bump minimum required golang-github-prometheus-exporter-toolkit-dev
version to 0.8.0
* d/control: replace golang-go with golang-any
.
[ Nick Rosbrook ]
* Add new 02-fix-build-with-new-exporter-toolkit.patch (Closes: #1026094)
Checksums-Sha1:
5018aa39228713fa78ce2a2d36de6b8947ff5983 2501
prometheus-ipmi-exporter_1.6.1-2.dsc
56b390f56c24e4d8e7e5c94187f8fac778e4e017 42664
prometheus-ipmi-exporter_1.6.1.orig.tar.gz
af2460970a35e45112e91125d5a671a89225ee84 6220
prometheus-ipmi-exporter_1.6.1-2.debian.tar.xz
baa81d507623abb955e4875b291b9cae0f6a102b 8828
prometheus-ipmi-exporter_1.6.1-2_amd64.buildinfo
Checksums-Sha256:
3a309d16d3817ee5bc2ccb175bf3598e74e0e80e88badf80128943776038d6c0 2501
prometheus-ipmi-exporter_1.6.1-2.dsc
792cb0fd24f32d50c1d803fcd80cfd7f7e01e597e5ac19e24eceb6c010b088e3 42664
prometheus-ipmi-exporter_1.6.1.orig.tar.gz
1a43dc62d5fa6739169b75ddff785d843135987d69578db4c0e97f11ba4648f0 6220
prometheus-ipmi-exporter_1.6.1-2.debian.tar.xz
a7a15cf62b13d88326876e0c3599e0f46bf603ba83b5d8576b86544156661fed 8828
prometheus-ipmi-exporter_1.6.1-2_amd64.buildinfo
Files:
bd67dbd2f3a7c8f8560e8bc9c412f61d 2501 net optional
prometheus-ipmi-exporter_1.6.1-2.dsc
99044e4929c0b7a5b375a25c506f2c71 42664 net optional
prometheus-ipmi-exporter_1.6.1.orig.tar.gz
76d3fc4d36d8445e7447c87ecba0b0b4 6220 net optional
prometheus-ipmi-exporter_1.6.1-2.debian.tar.xz
e865d1ce0477325a37e6250da59a1ea6 8828 net optional
prometheus-ipmi-exporter_1.6.1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJKBAEBCgA0FiEEMD9oek78sa58GjWjtwAXP7uAWikFAmOanlsWHGRzd2FyYnJp
Y2tAZGViaWFuLm9yZwAKCRC3ABc/u4BaKfJ7D/9ok1eOCoGE024xvxVYrLS/eoEb
12mOi4Fx5mLnkers0fq2yrN4NmXQIlr0mRo5pwR5O5G4cMIjIqzYEGXWNXBiZFmv
KaZO1WgWVdnu/PJ49tg7V4rp03RMjPV8xKN1yU6ie00GAY5u8cHSe/iXA77Kk4Od
KchfAp7OOYKJEGB1BkRArtaCJbKbhFBoeEjGBl5HFu5gAiOJNSWFT1UMTCUKKxoL
omFManpEFlwfbbhCKE4dS/9eCJ7LuvmiQW1lu9WX2c6YH+Z4Qcr6D1Q/Wp/atEmD
6+LlvMF6KT4atFrrzGfylSXOqfqD63m1RjuE95oJQwaykuchJbsrUyJ9RxBZ1CBm
1/Adm5JidFuktMnUCs8qWQujUibk78z5XFqi5yVn720M5lF4XQ68pqUf/Sa1+NL5
ny15qP+rPUuRV+oMHnUyVu7LKGR8X/ejf7lxwS4TI2nOJVQ5y9dAcTCTioNO65P7
7iLDK/C4FeLyPsQEUVnMRQmtdj9WGZ3wV7uToS0eZFuZGy1qSGh/4lDO9II1ROJ/
jQp3WXxo4iy57Nsi8EOj6crzk5wu3G/dF6yFbqPNHRWR3OW/EzMOyfaCTjbnmX0B
uVygRyxICFTAVUs3yRqZHJnPhENK1KlygHBqlUdF0OCzLoTeKehkWbewBasSd/Lh
HLhd6uIWSZI0eczkjw==
=n2p9
-----END PGP SIGNATURE-----
--- End Message ---