On Wed, 2026-07-15 at 20:52 +0200, Félix Sipma wrote:
> The first error is gone, but there is a new one :-).
> 
>      ...
>      dh_auto_build
>       cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 
> github.com/restic/restic/cmd/restic
>      src/github.com/restic/restic/cmd/restic/cmd_mount.go:27:2: 
> github.com/peterbourgon/[email protected] requires
>       github.com/peterbourgon/ff/[email protected] requires
>       gopkg.in/[email protected]: module lookup disabled by GOPROXY=off

  I've encountered a similar error with a package that depends on
golang-github-moul-http2curl. I think the issue is the mismatch of the
package's XS-Go-Import-Path, which don't match the entry in go.mod. In
the case of golang-github-moul-http2curl, updating XS-Go-Import-Path to
match go.mod fixed things, although of course this will break other
packages that are still expecting the prior import path.

  I did try listing multiple import paths, similar to what's done by
golang-yaml.v2, but the current logic only seems to consider DH_GOPKG.

Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to