🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1153300: dh-go: 1.70 writes a replace next to the use for the same module, FTBFS

#2553
From: juan.mendezr
Date: Sat, 07 Nov 2026 01:50
28 lines
2904 bytes
My first paragraph made this sound like a multi-module problem. It is not, and
the scope is wider than I wrote.

A third package reproduces it: golang-github-knqyf263-nested 0.0.1-4, a single
module at the root with no /vN and no submodules. Under
autopkgtest-virt-unshare on sid, with the 1.70 from the archive, the test fails
with one "Use of uninitialized value $_ ... line 1051" and two "workspace
module github.com/knqyf263/nested is replaced at all versions", and with 1.70
plus the patch it passes with neither. Also on salsa:
https://salsa.debian.org/go-team/packages/golang-github-knqyf263-nested/-/jobs/10608315

So the condition is only this: the module being built is also installed under
/usr/share/gocode/src. The multi-module layout changes how many errors you
get, 44 for otel against 2 for nested, not whether you get them. That means
every dh-go package is affected under autopkgtest, where its own -dev is
installed by definition, which matches the roughly 50 reverse dependency
autopkgtests in the migration excuses rather than only the multi-module ones.

That run is not mine. I checked the two logs on the same machine and they say
FAIL and PASS as described.
Technical Details
Message-ID: <NWDJ7-aiQD-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NWCDn-aiiU-3@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.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: juan.mendezr@proton.me
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1153300: dh-go: 1.70 writes a replace next to the use for the same module, FTBFS
Date: Sat, 07 Nov 2026 02:50:01 +0100
Message-ID: <NWDJ7-aiQD-1@gated-at.bofh.it>
References: <NWCDn-aiiU-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Nov  7 01:49:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: juan.mendezr@proton.me, 1153300@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: followup 1153300
X-Debian-Pr-Package: dh-go
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: dh-go
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: 65f1aa8882586f3b55dfe442aacffdd378b42f9b
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/837435
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 28
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 07 Nov 2026 01:46:05 +0000
X-Original-Message-ID: <934fd73495d2db15f8be0285a32e585a@proton.me>
X-Original-References: <c8840e8a8c9803d838c1caa44cd7e0d7@proton.me>