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
src/github.com/restic/restic/cmd/restic/cmd_mount.go:28:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/cmd/restic/cmd_init.go:8:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/errors/errors.go:6:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/http_transport.go:13:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/http_transport.go:17:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/crypto/kdf.go:9:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/crypto/crypto.go:12:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/crypto/kdf.go:10:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/restic/parallel.go:8:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/fs/node_xattr.go:13:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/fs/mknod_unix.go:8:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/b2/b2.go:20:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/b2/b2.go:21:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/limiter/static_limiter.go:8:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/gs/gs.go:14:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/gs/gs.go:23:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/gs/gs.go:24:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/gs/gs.go:25:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/gs/gs.go:26:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/gs/gs.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
src/github.com/restic/restic/internal/backend/local/local.go:21:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/terminal/password.go:8:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/s3/s3.go:24:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/s3/s3.go:25:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/sftp/sftp.go:29:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/swift/swift.go:24:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/repository/check.go:11:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/backend/mem/mem_backend.go:13:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/bloblru/cache.go:9:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/textfile/read.go:9:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/filter/exclude.go:13:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/ui/format.go:13:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/internal/global/global_release.go:8:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/cmd/restic/cmd_generate.go:13:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
src/github.com/restic/restic/cmd/restic/main.go:15:2:
github.com/peterbourgon/[email protected] requires
github.com/peterbourgon/ff/[email protected] requires
gopkg.in/[email protected]: module lookup disabled by GOPROXY=off
dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p
4 github.com/restic/restic/cmd/restic returned exit code 1
...So, there seem to be a problem in golang-github-peterbourgon-ff or golang-yaml.v2...
I tried to build golang-github-peterbourgon-ff with dh-golang (>= 1.66~exp2) (it had dh-sequence-golang instead of dh-golang in B-D, no idea why), and it fails with:
...
dh_auto_build: error: Unable to open directory
_build/src/github.com/peterbourgon/ff/v3 No such file or directory
...
but it builds fine with dh-golang from sid.
golang-yaml.v2 builds fine with dh-golang (>= 1.66~exp2)
golang-github-peterbourgon-ff is not in the lists
https://wiki.debian.org/DebConf/26/Sprints/DebianGoTeam/GoModBuilds
https://wiki.debian.org/DebConf/26/Sprints/DebianGoTeam/DevPackages
Maybe there are other false negatives? I hope it doesn't add too many
packages to the rebuild queue...
On 2026-07-15 16:46+0200, Andrew Lee wrote:
Hi Félix, On Sun, Jul 12, 2026 at 5:08 PM Félix Sipma <[email protected]> wrote:If it can help, I just tried to build restic with dh-golang 1.66~exp2 and it failed with this error: dh_auto_build go: errors parsing go.work: obj-x86_64-linux-gnu/go.work:42: replace github.com/cncf/xds/go/udpa/data/orca/v1: invalid module path obj-x86_64-linux-gnu/go.work:43: replace github.com/cncf/xds/go/udpa/service/orca/v1: invalid module path obj-x86_64-linux-gnu/go.work:44: replace github.com/cncf/xds/go/udpa/type/v1: invalid module path Thanks a lot for trying to fix this!I have made a new upload for golang-github-cncf-xds-dev package yesterday. The golang-github-cncf-xds-dev package now ships go.mod file. I think this issue should goes away, can you please try again and let us know the results? Happy hacking,
-- Félix
signature.asc
Description: PGP signature
