On Tue, Apr 28, 2026 at 9:10 PM Mathias Gibbens <[email protected]> wrote:
>   I actually just spent some time this past weekend finally tracking
> down this exact same issue with Incus[0]. Debian's golang packaging
> workflow depending on a deprecated GO111MODULE=off is less than ideal,
> and will stop working at some point down the road when GO111MODULE is
> removed from Go.

I am planing to address this issue as a talk in mini DebConf Hamburg.
It's good to see others also noticed the same problem that may work
together for a solution.

I also found root of prolem is dh-golang sets `GO111MODULE=off` by
default. Once we set it to `GO111MODULE=on`, The issue will goes away.

But we have to build with go.mod(or go.work) instead. I have drafted a
proof of concept script that builds with `GO111MODULE=on` and go.work
file. But it's in a very early stage that still needs a lot of
improvement to make it actully work for all the packages in Debian.

Best regards,
-- 
-Andrew

Reply via email to