Control: clone -1 -2
Control: reassign -2 src:dh-golang
Control: severity -2 important
Control: retitle -2 dh-golang forcing httpmuxgo121 on
X-Debbugs-CC: [email protected]

I'm afraid more and more bugs will come if we are still using old
GOPATH mode to build packages. However dh-golang and the whole Go
ecosystem in Debian are tied to GOPATH. Rewriting them to the Go
module mode is not trivial, which should have happened 7 years ago...

On Sun, Apr 26, 2026 at 1:13 AM Adam Dane <[email protected]> wrote:
>
> After more digging, I found
> https://sources.debian.org/src/openvpn-auth-oauth2/1.27.3-1/cmd/openvpn-auth-oauth2/root.go?hl=1#L1
> via code search, which points to
> https://github.com/jkroepke/openvpn-auth-oauth2/issues/680#issuecomment-3686988447
> explaining that dh-golang currently results in turning the old servemux
> code on.
>
> The change there lines up with the fix I'd already found for now:
> explicitly adding `//go:debug httpmuxgo121=0` above the package
> declaration (in main.go in miniflux's case).
>
> I'll leave it up to y'all if that's sufficient or if there can be some
> change at dh-golang to avoid this for other packages?
>

-- 
Shengjing Zhu

Reply via email to