Hello go team,

On Tue, Jul 14, 2026 at 3:29 PM Andrew Lee <[email protected]> wrote:
> I have been started to prepare another wiki for work needed packages
> in phase 2(package ships executable binary): needs rebuild tests
> against to dh-golang 1.66 in experimental.
>
> > > Please and welcome to join us remote or onsite during DebCamp.
> >
> > How?  #debian-golang?
> Good idea. I will join there as well.

Thank you for all of you who join to improve go ecosystem in Debian.

While test module-aware builds with dh-golang in experimental, I found
there errors:
src/github.com/betterleaks/betterleaks/config/allowlist.go:8:2:
[email protected] requires
        cloud.google.com/[email protected] requires
        github.com/spiffe/go-spiffe/[email protected] requires
        github.com/Microsoft/[email protected]: module lookup disabled
by GOPROXY=off

After investigate I found we have packaged
`github.com/spiffe/go-spiffe` in golang-github-spiffe-go-spiffe-dev
package.
However due to the go import path and the packaged path under
filesystem mismatch. dh-golang cannot lookup the mapping correctly.

Since we now switch to module-aware builds, so that we should consider
to simplify the following to match with `go import path` from golang
upstream:
- upstream name in debian/copyright file
- XS-Go-Import-Path in debian/control file
- -dev package name

Once we have all these identical with `go import path`, it would make
dependency handling much easier under module-aware builds.

I will update these into the document on wiki page for the phase 1.
When you work on the source package, please check the `go import path`
from go.mod file.
And then update it to debian/copyright and debian/control and also the
package name. I will talk to awm from DFSG team here in DebCamp for
these renamed packages.

Best regards,
-- 
-Andrew

Reply via email to