🚀 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#1155233: golang-github-hashicorp-memberlist: requires github.com/sean-/seed, which is no longer in the archive
#6067
Author: Juan Manuel Méndez Rey
Date: Wed, 25 Nov 2026 11:20
45 lines
3767 bytes
Source: golang-github-hashicorp-memberlist
Version: 0.5.0-1
Severity: normal

golang-github-hashicorp-memberlist-dev installs sources that import
github.com/sean-/seed, and its installed go.mod requires it, but no
package in unstable or testing ships that module. The only copy left is
inside memberlist's own vendor directory:

  usr/share/gocode/src/github.com/hashicorp/memberlist/util.go:17
  usr/share/gocode/src/github.com/hashicorp/memberlist/vendor/github.com/sean-/seed/init.go

A GOPATH build resolves the import from that vendor directory and works.
A module-aware build does not, because Go ignores the vendor directory of
a dependency, and stops with:

  no required module provides package github.com/sean-/seed

That makes memberlist unusable from any package built with dh-go. I hit
it while measuring a dh-go port of prometheus-alertmanager.

Upstream still requires seed in every released version from v0.5.0 to
v0.7.0, so a new upstream release will not fix it.

Debian did package the module, as golang-github-sean--seed. It was
removed from unstable on 2026-10-19 as ROM, "package is not needed"
(https://bugs.debian.org/1151123), after
https://bugs.debian.org/1145512 established that nothing in testing
depended on it. memberlist was not counted, and by the GOPATH criterion
that was correct: memberlist builds from its own vendor directory, so it
never needed a build dependency on seed, and nothing in the archive
declared one. The dependency only becomes visible in module mode. The
removed package is still in stable.

The use is a single call, seed.Init() in util.go:33, from an 84 line
module whose only job is to seed math/rand from crypto/rand. Go has
seeded the global source itself since 1.20, so the call no longer does
anything. Dropping the import and the call looks like the smallest fix,
and it would be worth forwarding upstream. Reintroducing seed would also
work, but it was removed five weeks ago as unneeded, so bringing back a
source package for a call that no longer does anything seems the wrong
way round.

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