[pkg-go] Bug#909414: restic: FTBFS (cannot find package "github.com/mattn/go-isatty")
Santiago Vila
sanvila at debian.org
Sun Sep 23 10:49:27 BST 2018
Package: src:restic
Version: 0.9.2+ds-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
dh build-arch --buildsystem=golang --with=golang
dh_update_autotools_config -a -O--buildsystem=golang
dh_autoreconf -a -O--buildsystem=golang
dh_auto_configure -a -O--buildsystem=golang
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/restic-0.9.2+ds'
dh_auto_build -- -ldflags "-X \"main.version=0.9.2\""
cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/restic-0.9.2\+ds/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/restic-0.9.2\+ds/obj-x86_64-linux-gnu/src\" -v -p 1 -ldflags "-X \"main.version=0.9.2\"" github.com/restic/restic/cmd/restic github.com/restic/restic/internal/archiver github.com/restic/restic/internal/backend github.com/restic/restic/internal/backend/azure github.com/restic/restic/internal/backend/b2 github.com/restic/restic/internal/backend/gs github.com/restic/restic/internal/backend/local github.com/restic/restic/internal/backend/location github.com/restic/restic/internal/backend/mem github.com/restic/restic/internal/backend/rclone github.com/restic/restic/internal/backend/rest github.com/restic/restic/internal/backend/s3 github.com/restic/restic/internal/backend/sftp github.com/restic/restic/internal/backend/swift github.com/restic/restic/internal/backend/test github.com/restic/restic/internal/cache github.com/restic/restic/internal/checker github.com/restic/restic/internal/crypto github.com/restic/restic/internal/debug github.com/restic/restic/internal/errors github.com/restic/restic/internal/filter github.com/restic/restic/internal/fs github.com/restic/restic/internal/fuse github.com/restic/restic/internal/hashing github.com/restic/restic/internal/index github.com/restic/restic/internal/limiter github.com/restic/restic/internal/list github.com/restic/restic/internal/migrations github.com/restic/restic/internal/mock github.com/restic/restic/internal/options github.com/restic/restic/internal/pack github.com/restic/restic/internal/repository github.com/restic/restic/internal/restic github.com/restic/restic/internal/restorer github.com/restic/restic/internal/test github.com/restic/restic/internal/textfile github.com/restic/restic/internal/ui github.com/restic/restic/internal/ui/termstatus github.com/restic/restic/internal/walker github.com/restic/restic/internal/worker
src/github.com/restic/restic/internal/ui/termstatus/terminal_unix.go:10:2: cannot find package "github.com/mattn/go-isatty" in any of:
/usr/lib/go-1.10/src/github.com/mattn/go-isatty (from $GOROOT)
/<<BUILDDIR>>/restic-0.9.2+ds/obj-x86_64-linux-gnu/src/github.com/mattn/go-isatty (from $GOPATH)
dh_auto_build: cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/restic-0.9.2\+ds/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/restic-0.9.2\+ds/obj-x86_64-linux-gnu/src\" -v -p 1 -ldflags "-X \"main.version=0.9.2\"" github.com/restic/restic/cmd/restic github.com/restic/restic/internal/archiver github.com/restic/restic/internal/backend github.com/restic/restic/internal/backend/azure github.com/restic/restic/internal/backend/b2 github.com/restic/restic/internal/backend/gs github.com/restic/restic/internal/backend/local github.com/restic/restic/internal/backend/location github.com/restic/restic/internal/backend/mem github.com/restic/restic/internal/backend/rclone github.com/restic/restic/internal/backend/rest github.com/restic/restic/internal/backend/s3 github.com/restic/restic/internal/backend/sftp github.com/restic/restic/internal/backend/swift github.com/restic/restic/internal/backend/test github.com/restic/restic/internal/cache github.com/restic/restic/internal/checker github.com/restic/restic/internal/crypto github.com/restic/restic/internal/debug github.com/restic/restic/internal/errors github.com/restic/restic/internal/filter github.com/restic/restic/internal/fs github.com/restic/restic/internal/fuse github.com/restic/restic/internal/hashing github.com/restic/restic/internal/index github.com/restic/restic/internal/limiter github.com/restic/restic/internal/list github.com/restic/restic/internal/migrations github.com/restic/restic/internal/mock github.com/restic/restic/internal/options github.com/restic/restic/internal/pack github.com/restic/restic/internal/repository github.com/restic/restic/internal/restic github.com/restic/restic/internal/restorer github.com/restic/restic/internal/test github.com/restic/restic/internal/textfile github.com/restic/restic/internal/ui github.com/restic/restic/internal/ui/termstatus github.com/restic/restic/internal/walker github.com/restic/restic/internal/worker returned exit code 1
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/restic-0.9.2+ds'
make: *** [debian/rules:13: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -B"
but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/restic.html
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Pkg-go-maintainers
mailing list