🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #1483

Bug#1151720: distrobuilder: FTBFS: go.work:1661: replace github.com/theupdateframework/go-tuf/v0: invalid module path

#1483
From: Juan M. Méndez Rey
Date: Fri, 23 Oct 2026 16:30
39 lines
3705 bytes
Hey, yes! I am on it.

Merge request: https://salsa.debian.org/go-team/packages/golang-github-theupdateframework-go-tuf/-/merge_requests/2

I was waiting on the pipelines to be green before answering.
It is still running, but in case you want to have a look later. 


I could reproduce it, and the cause is in go-tuf.

The cause: Since -2, v0 is installed at github.com/theupdateframework/go-tuf/v0 with its own go.mod, which says "module github.com/theupdateframework/go-tuf/v0".

I missed it because go-tuf builds with dh-golang, which never reads go.mod, and so do the reverse dependencies I rebuilt (sigstore, sigstore-go). From now on I check that every installed go.mod parses at its own path, and I rebuild at least one dh-go reverse dependency.

Cheers, 

Juan



El viernes, 23 de octubre de 2026 a las 18:14, Otto Kekäläinen <otto@debian.org> escribió:

> Hi!
> 
> Thanks for reporting. We did do a reverse deps build test before
> upload (https://salsa.debian.org/go-team/packages/golang-github-theupdateframework-go-tuf/-/pipelines/1196043)
> and both sigstore packages built fine. Interesting to learn that this
> distrobuilder was also dependant of it.
> 
> Juan: Can you look into it?
>
Technical Details
Message-ID: <NRqjv-7qss-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NRmzg-7omJ-27@gated-at.bofh.it> <NRpx7-7q12-1@gated-at.bofh.it> <NRqjv-7qss-11@gated-at.bofh.it> <NRmzg-7omJ-27@gated-at.bofh.it> <NRqjv-7qss-11@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Juan M. Méndez Rey <juan.mendezr@proton.me>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151720: distrobuilder: FTBFS: go.work:1661: replace github.com/theupdateframework/go-tuf/v0: invalid module path
Date: Fri, 23 Oct 2026 18:30:01 +0200
Message-ID: <NRqjv-7qss-9@gated-at.bofh.it>
References: <NRmzg-7omJ-27@gated-at.bofh.it> <NRpx7-7q12-1@gated-at.bofh.it> <NRqjv-7qss-11@gated-at.bofh.it> <NRmzg-7omJ-27@gated-at.bofh.it> <NRqjv-7qss-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct 23 16:21:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Juan M. Méndez Rey <juan.mendezr@proton.me>, 1151720@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: followup 1151720
X-Debian-Pr-Package: golang-github-theupdateframework-go-tuf
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: golang-github-theupdateframework-go-tuf
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: 933dcdbb223bff29203f3a8290a6d0c6cc737290
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-rc@lists.debian.org> archive/latest/835707
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 39
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Mathias Gibbens <gibmat@debian.org>, 1151720@bugs.debian.org, Santiago Vila <sanvila@debian.org>
X-Original-Date: Fri, 23 Oct 2026 16:18:51 +0000
X-Original-Message-ID: <5lQjinJigtUIqEOqRZWZxPvejYlN9-WjDHwKvkZOX7kqoSfa1VAqZ9gPK9GoHfdpy74yTe8UM_Uns6zE1wuHJjk_BBziL2lhUpTGZnfUbO0=@proton.me>
X-Original-References: <E1xKEG4-004qsd-1k@paradis.debian.org> <9342c3705d72d094aa2720538c2ee5110a94d532.camel@debian.org> <CAOU6tADbrWrtBcO2xJP9zFxjgeBfKeJm7BprPN0bBeWAKUNMHg@mail.gmail.com> <E1xKEG4-004qsd-1k@paradis.debian.org> <CAOU6tADbrWrtBcO2xJP9zFxjgeBfKeJm7BprPN0bBeWAKUNMHg@mail.gmail.com>