Your message dated Fri, 06 Nov 2026 18:19:03 +0000
with message-id <[email protected]>
and subject line Bug#1150077: fixed in dh-go 1.70
has caused the Debian Bug report #1150077,
regarding dh-go: XS-Go-Import-Path check never runs, it looks for go.mod in the
build directory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1150077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150077
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-go
Version: 1.69
Severity: normal
The check added in 1.69 reads the go.mod from the build directory:
my $gomodfile = $this->get_buildpath('go.mod');
if (!-e $gomodfile) {
warning("package does not provide 'go.mod', please add it.");
return;
}
get_buildpath returns the build directory when there is one, and
DEFAULT_BUILD_DIRECTORY is _build for compat 14 and later. The sources are
copied to _build/src/$DH_GOPKG, so _build/go.mod never exists. For every
package at compat 14 the check therefore returns early without comparing
anything, and the log gets a warning saying the package provides no go.mod
while it does ship one.
Please read it from the source directory instead:
--- a/lib/Debian/Debhelper/Buildsystem/golang.pm
+++ b/lib/Debian/Debhelper/Buildsystem/golang.pm
@@
- my $gomodfile = $this->get_buildpath('go.mod');
+ my $gomodfile = $this->get_sourcepath('go.mod');
--- End Message ---
--- Begin Message ---
Source: dh-go
Source-Version: 1.70
Done: Dr. Tobias Quathamer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dh-go, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <[email protected]> (supplier of updated dh-go package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 06 Nov 2026 18:52:19 +0100
Source: dh-go
Architecture: source
Version: 1.70
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Dr. Tobias Quathamer <[email protected]>
Closes: 1150077 1151331 1151332 1151333 1152595
Changes:
dh-go (1.70) unstable; urgency=medium
.
[ Juan Manuel Mendez Rey ]
* Do not let an installed copy shadow the module being built
Closes: #1151332
* Name the build patterns which match no package
Closes: #1151333
* Report the module which is missing, not the one which requires it
Closes: #1151331
.
[ Dr. Tobias Quathamer ]
* Fix wrong location of go.mod in the build directory.
Closes: #1150077
* Run perltidy
* Fix go.work in autopkgtest.
Thanks to Juan Manuel Méndez Rey <[email protected]>
Closes: #1152595
.
[ Tiago Ilieve ]
* Look for module in the package parent directories
* Skip modules for directories already mapped
Checksums-Sha1:
692e0a946131ec3639603b3f07dfbad5a9bbfbfd 1726 dh-go_1.70.dsc
4bb5e2ea0d389e39bb52b598b256b341cdde7936 29312 dh-go_1.70.tar.xz
e615de7df008859681cbdc02d64d0e20ebb9c3d0 5376 dh-go_1.70_amd64.buildinfo
Checksums-Sha256:
c851a054a2b9968922f282ba7a406d1052d06bb23ef18e04b4f4d1aac0edea13 1726
dh-go_1.70.dsc
fa47bddcd3780e00294058a71def918032d6a7b02de5beeb933ddde1432ce1ec 29312
dh-go_1.70.tar.xz
6a30b9f063beb64e4bc9c87c7d3adb4390ddac91f94748811ef286a71855cc09 5376
dh-go_1.70_amd64.buildinfo
Files:
c2654c3d11640e3afbda31f169be0c01 1726 golang optional dh-go_1.70.dsc
64173298564461d571a33bcc8715ebeb 29312 golang optional dh-go_1.70.tar.xz
167be381f6daa4e2a42c444debbbb3e4 5376 golang optional
dh-go_1.70_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAmruFTUACgkQEwLx8Dbr
6xl4ew//agsgk2MY37FcPSuNuGxbM+1gUcJa4VZRJLuCKpq0pL6YmC+ZW1ikDvVA
VjSvNZY0ZD3q1s9FYshxsTftVJhV7Em6OytgSzCBMnyIMe+qUAOisSftHjVBEkIE
ODASFteYqBE+6VoE5mgp3jG/rZPLErTum9A9YjguT1JSHgmwn1lljM21XCChzPpE
S9rQb5QfUd7gFaRihhdf+mEviZc7WtBSty/1879VO5RHMDD/yWijKW6mggB/BCr0
gdAiW2D1KnZ2Ia275rrOQvQs3lD4ioLpMLZVkSq1FHExdFI+Sa5YZKpwWgxya+bN
nXXhl3+//poOhS5rWBwzrTaahRlUJ9Bt2x0NdovKGKZv9Sl+qdW+w+FMmLLYXFVx
A63aXcyvCcCORPvRHSpIlZg/cjiZLkaAVt1F6WBsgYBoIV6FIqxoblyASxpECdUo
ZrdE6vBLsT9bzMDJa4+SwF59gYRsXOoY2oHDBJvb1r5wvqfoID6yE1xNnQAqy7Kp
hzw3kYssaoizhl+16XY8guQb6wxzdMtO4G25NJ3RYBgTubh4EBmnnVeBYOjWH2UN
xmUR6m5NAEoCxOhUgFwu3JfmqhpK/AbnGARrI7BExkUsQ78miyyAgHi2kpP5FST0
pEZt5zOrlw4gEkx4stFk1Oli74wuUdHhf8AzuZUvO1byj48xuNI=
=Vd0z
-----END PGP SIGNATURE-----
pgpIClYSr3C7M.pgp
Description: PGP signature
--- End Message ---