🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Juan Manuel Méndez Rey Wed, 25 Nov 2026 11:20
Bug#1155235: golang-github-prometheus-exporter-toolkit: installed tls_config.go imports github.com/go-kit/log, which no go.mod r...
#6066
Author: Juan Manuel Méndez Rey
Date: Wed, 25 Nov 2026 11:20
30 lines
2780 bytes
Source: golang-github-prometheus-exporter-toolkit
Version: 0.17.1-1
Severity: normal

golang-github-prometheus-exporter-toolkit-dev installs

  usr/share/gocode/src/github.com/prometheus/exporter-toolkit/web/tls_config.go:33
      "github.com/go-kit/log"

but the go.mod installed with it does not require github.com/go-kit/log,
and neither do the packages that use the toolkit. The same file also
imports github.com/prometheus/common/promslog, which is the replacement
for go-kit/log, so the two look like leftovers of a half finished
change.

A GOPATH build ignores go.mod and works. A module-aware build stops
with:

  module github.com/go-kit/log provides package github.com/go-kit/log
  and is replaced but not required

so web/ cannot be used from any package built with dh-go. I hit it while
measuring a dh-go port of prometheus-alertmanager.

Either the import should go, if promslog already covers it, or go.mod
should require go-kit/log so the installed sources and the module graph
agree.

Juan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads