Article View: linux.debian.bugs.dist
Article #6067Bug#1155233: golang-github-hashicorp-memberlist: requires github.com/sean-/seed, which is no longer in the archive
From: Juan Manuel Méndez Rey
Date: Wed, 25 Nov 2026 11:20
Date: Wed, 25 Nov 2026 11:20
45 lines
3767 bytes
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
Technical Details
Message-ID:
<O3jcB-e3D6-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Juan Manuel Méndez Rey <juan.mendezr@proton.me> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155233: golang-github-hashicorp-memberlist: requires github.com/sean-/seed, which is no longer in the archive Date: Wed, 25 Nov 2026 12:20:01 +0100 Message-ID: <O3jcB-e3D6-9@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 25 11:17:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Juan Manuel Méndez Rey <juan.mendezr@proton.me>, 1155233@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: report 1155233 X-Debian-Pr-Package: src:golang-github-hashicorp-memberlist X-Debian-Pr-Source: golang-github-hashicorp-memberlist Feedback-ID: 176548819:user:proton X-Pm-Message-ID: 36c44a83ff82e591299e82520c8e69c9188252d6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004877 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 45 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 25 Nov 2026 11:15:07 +0000 X-Original-Message-ID: <1795605306.2348f1c2@dhgo-dep-bugs.juan.mendezr>