[SRU] FTBFS in Focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
prometheus-alertmanager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The package FTBFS in Focal because a newer version of golang-
The Prometheus common lib API change which is impacting prometheus-
[Test Case]
Try to build the package in Focal:
$ lxc launch ubuntu-daily:focal builder
$ lxc shell builder
# echo "deb-src http://
# apt update && apt upgrade -y
# apt install -y dpkg-dev
# apt source prometheus-
# apt build-dep -y prometheus-
# cd prometheus-
# dpkg-buildpackage
To fix the FTBFS apply the debdiff attached to this bug and build the package again.
[Regression Potential]
This SRU would not change the current behavior because this extra argument was added to allow users to disable HTTP/2, check out this upstream commit:
https:/
So I believe the potential of a regression is quite low.
[Original Description]
Currently, prometheus-
https:/
The Prometheus common golang library changed its API and the alertmanager version we have in Focal is not ready for it.
tags: | added: patch |
description: | updated |
Changed in prometheus-alertmanager (Ubuntu): | |
status: | New → Invalid |
description: | updated |
description: | updated |
The attached debdiff fixes the FTBFS in Focal, complying to the Prometheus common lib API change. It basically enables HTTP/2 in all calls to NewClientFromCo nfig.