🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1393

Bug#1151342: lintian: add dh-go to the installers of the golang add-on

#1393
From: Juan Manuel Mendez Rey
Date: Mon, 19 Oct 2026 21:30
35 lines
2669 bytes
Package: lintian
Version: 2.142.0
Severity: normal
Tags: patch

A package that build depends on dh-go and runs "dh --with=golang" gets this,
and an override is the only way out:

  E: foo source: missing-build-dependency-for-dh-addon golang
     (does not satisfy dh-golang:any) [debian/rules]

dh-go ships the add-on (Debian/Debhelper/Sequence/golang.pm) but
add_ons.json only lists dh-golang, and dh-go conflicts with dh-golang. It
cannot provide dh-golang either, that would satisfy Build-Depends: dh-golang
for everyone else and dh-go builds in module mode.

The field already takes a list, see phpcomposer and single_binary:

--- a/data/debhelper/add_ons.json
+++ b/data/debhelper/add_ons.json
@@ -182,7 +182,8 @@
       },
       "golang" : {
          "installed_by" : [
-            "dh-golang"
+            "dh-golang",
+            "dh-go"
          ]
       },
       "grantlee" : {

Tried on a copy of /usr/share/lintian with a dh-go source package: tag gone
with the patch, back when I put the original file in the same tree.
Technical Details
Message-ID: <NQ35D-6Byi-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Juan Manuel Mendez Rey <juan.mendezr@proton.me>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151342: lintian: add dh-go to the installers of the golang add-on
Date: Mon, 19 Oct 2026 23:30:01 +0200
Message-ID: <NQ35D-6Byi-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 19 21:27:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Juan Manuel Mendez Rey <juan.mendezr@proton.me>, 1151342@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: lintian-maint@debian.org
X-Debian-Pr-Message: report 1151342
X-Debian-Pr-Package: lintian
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: lintian
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: ce4cf307cf41c66a7cbed0fcaca9943d12f680b6
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/1997592
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 19 Oct 2026 21:25:25 +0000
X-Original-Message-ID: <c966780c027df1e7646562be0696163c@proton.me>