diff --git a/frontend/deb/templates/debian_rules.tmpl b/frontend/deb/templates/debian_rules.tmpl index 2d1f4ce81..2076d9ac6 100644 --- a/frontend/deb/templates/debian_rules.tmpl +++ b/frontend/deb/templates/debian_rules.tmpl @@ -26,6 +26,10 @@ fix_sources: override_dh_auto_configure: fix_sources @# Stop debhelper from running auto configure, which should be part of the build steps +# dh_dwz is problematic for (some) go builds and causes the build to error out. +override_dh_dwz: + @# https://salsa.debian.org/go-team/packages/dh-golang/-/commit/831f3a9dccc14f63f21d3dfac0c0d0e0c25b4084 + {{ .OverridePerms }} {{ .OverrideSystemd }}