On Thu, Sep 17, 2026 at 10:03:03PM +0200, Nicolas Peugnet wrote:
While trying to migrate a very simple Go package I maintain (gohelp2man)
from dh-golang to dh-go I get this error:

    dh_dwz -a -O--builddirectory=debian/_build -O--buildsystem=golang
 dwz: debian/gohelp2man/usr/bin/gohelp2man: Unknown debugging section 
.debug_addr
 dh_dwz: error: dwz -- debian/gohelp2man/usr/bin/gohelp2man returned exit code 1
 dh_dwz: error: Aborting due to earlier error


I only applied the following patch:

diff --git a/debian/control b/debian/control
index a5f575c..fd411b8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: golang
Maintainer: Debian Go Packaging Team <[email protected]>
Uploaders: Nicolas Peugnet <[email protected]>,
Build-Depends: debhelper-compat (= 13),

As this was copied to d-devel@ I must note that dh_dwz is no longer called in compat 14 and so, even though I have no idea about Go and dh_go, I recommend to bump compat and not spend any time on this.


--
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to