[pkg-go] Bug#973144: restic: FTBFS: src/github.com/restic/restic/internal/fuse/blobcache.go:9:2: cannot find package "github.com/hashicorp/golang-lru/simplelru"

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:12:04 GMT 2020


Source: restic
Version: 0.10.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> 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/internal/fuse/blobcache.go:9:2: cannot find package "github.com/hashicorp/golang-lru/simplelru" in any of:
> 	/usr/lib/go-1.15/src/github.com/hashicorp/golang-lru/simplelru (from $GOROOT)
> 	/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/hashicorp/golang-lru/simplelru (from $GOPATH)
> 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
> make[1]: *** [debian/rules:22: override_dh_auto_build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/restic_0.10.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list