Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Juan Manuel Mendez Rey
Mon, 19 Oct 2026 21:30
Bug#1151342: lintian: add dh-go to the installers of the golang add-on
Author: Juan Manuel Mendez Rey
Date: Mon, 19 Oct 2026 21:30
Date: Mon, 19 Oct 2026 21:30
35 lines
2669 bytes
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.
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