[pkg-go] Bug#903174: golang-github-google-subcommands: FTBFS in buster/sid (dh_installdocs: Cannot find "README.rst")
Santiago Vila
sanvila at debian.org
Sat Jul 7 12:40:11 BST 2018
Package: src:golang-github-google-subcommands
Version: 0.0~git20170830.ce3d4cfc-2
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
dh_update_autotools_config -i -O--buildsystem=golang
dh_auto_configure -i -O--buildsystem=golang
dh_auto_build -i -O--buildsystem=golang
cd obj-x86_64-linux-gnu && go install -gcflags=\"-trimpath=/<<BUILDDIR>>/golang-github-google-subcommands-0.0\~git20170830.ce3d4cfc/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/golang-github-google-subcommands-0.0\~git20170830.ce3d4cfc/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/google/subcommands
github.com/google/subcommands
dh_auto_test -i -O--buildsystem=golang
cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/google/subcommands
? github.com/google/subcommands [no test files]
fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=golang --with=golang
dh_testroot -i -O--buildsystem=golang
dh_prep -i -O--buildsystem=golang
dh_auto_install -i -O--buildsystem=golang
cd obj-x86_64-linux-gnu && mkdir -p /<<BUILDDIR>>/golang-github-google-subcommands-0.0\~git20170830.ce3d4cfc/debian/golang-github-google-subcommands-dev/usr/share/gocode/src/github.com/google/subcommands
cd obj-x86_64-linux-gnu && cp -r -T src/github.com/google/subcommands /<<BUILDDIR>>/golang-github-google-subcommands-0.0\~git20170830.ce3d4cfc/debian/golang-github-google-subcommands-dev/usr/share/gocode/src/github.com/google/subcommands
dh_installdocs -i -O--buildsystem=golang
dh_installdocs: Cannot find (any matches for) "README.rst" (tried in .)
debian/rules:6: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder
but it also fails in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-google-subcommands.html
[ Note: There has been a recent change in debhelper behaviour, the current
behaviour is the intended one. See Bug #903133 for details ].
Thanks.
More information about the Pkg-go-maintainers
mailing list