[pkg-go] Bug#954683: golang-github-tinylib-msgp: FTBFS: src/golang.org/x/tools/internal/imports/mod.go:17:2: cannot find package "golang.org/x/mod/module"
Lucas Nussbaum
lucas at debian.org
Sun Mar 22 13:52:03 GMT 2020
Source: golang-github-tinylib-msgp
Version: 1.0.2-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200322 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # build the "msgp" binary
> dh_auto_build
> cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/tinylib/msgp github.com/tinylib/msgp/gen github.com/tinylib/msgp/msgp github.com/tinylib/msgp/parse github.com/tinylib/msgp/printer
> src/golang.org/x/tools/internal/imports/mod.go:17:2: cannot find package "golang.org/x/mod/module" in any of:
> /usr/lib/go-1.14/src/golang.org/x/mod/module (from $GOROOT)
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/golang.org/x/mod/module (from $GOPATH)
> src/golang.org/x/tools/internal/imports/mod.go:18:2: cannot find package "golang.org/x/mod/semver" in any of:
> /usr/lib/go-1.14/src/golang.org/x/mod/semver (from $GOROOT)
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/golang.org/x/mod/semver (from $GOPATH)
> dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/tinylib/msgp github.com/tinylib/msgp/gen github.com/tinylib/msgp/msgp github.com/tinylib/msgp/parse github.com/tinylib/msgp/printer returned exit code 1
> make[1]: *** [debian/rules:7: override_dh_auto_build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2020/03/22/golang-github-tinylib-msgp_1.0.2-2_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