[Bug 1999574] [NEW] autopkgtest fails due to API change in prometheus exporter-toolkit

Launchpad Bug Tracker 1999574 at bugs.launchpad.net
Tue Dec 13 21:29:56 UTC 2022


You have been subscribed to a public bug by Nick Rosbrook (enr0n):

See this autopkgtest log for example:
https://autopkgtest.ubuntu.com/results/autopkgtest-
lunar/lunar/amd64/p/prometheus-ipmi-
exporter/20221207_001801_b4e39@/log.gz. Specifically:

src/github.com/prometheus-community/ipmi_exporter/main.go:48:31: not enough arguments in call to webflag.AddFlags
	have (*kingpin.Application)
	want (*kingpin.Application, string)
src/github.com/prometheus-community/ipmi_exporter/main.go:175:36: cannot use *webConfig (variable of type web.FlagConfig) as type *web.FlagConfig in argument to web.ListenAndServe
dh_auto_build: error: cd build && go install -trimpath -v -p 1 -tags  -ldflags " -X github.com/prometheus/common/version.Version=1.6.1 -X github.com/prometheus/common/version.Revision=1.6.1-1 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go at tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20220622-11:21:18 -X github.com/prometheus/common/version.GoVersion=go1.19.3" github.com/prometheus-community/ipmi_exporter github.com/prometheus-community/ipmi_exporter/freeipmi returned exit code 2
make[1]: *** [debian/rules:28: override_dh_auto_build] Error 25
make[1]: Leaving directory '/tmp/autopkgtest.7SvFJ3/autopkgtest_tmp'
make: *** [debian/rules:22: build] Error 2
autopkgtest [00:17:41]: test dh-golang-autopkgtest: -----------------------]

This is caused by API changes in the github.com/prometheus/exporter-
toolkit/web package, which are included in golang-github-prometheus-
exporter-toolkit 0.8.2-1.

** Affects: prometheus-ipmi-exporter (Ubuntu)
     Importance: Undecided
         Status: New

-- 
autopkgtest fails due to API change in prometheus exporter-toolkit
https://bugs.launchpad.net/bugs/1999574
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list