[pkg-go] Bug#903350: golang-github-gosuri-uitable: FTBFS in buster/sid (dh_installdocs: Cannot find "README.rst")
Santiago Vila
sanvila at debian.org
Sun Jul 8 23:08:51 BST 2018
Package: src:golang-github-gosuri-uitable
Version: 0.0~git20170830.36ee7e94-1
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-gosuri-uitable-0.0\~git20170830.36ee7e94/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<BUILDDIR>>/golang-github-gosuri-uitable-0.0\~git20170830.36ee7e94/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/gosuri/uitable github.com/gosuri/uitable/example github.com/gosuri/uitable/util/strutil github.com/gosuri/uitable/util/wordwrap
github.com/mattn/go-runewidth
github.com/gosuri/uitable/util/strutil
github.com/gosuri/uitable/util/wordwrap
github.com/gosuri/uitable
github.com/gosuri/uitable/example
dh_auto_test -i -O--buildsystem=golang
cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 github.com/gosuri/uitable github.com/gosuri/uitable/example github.com/gosuri/uitable/util/strutil github.com/gosuri/uitable/util/wordwrap
=== RUN TestCell
--- PASS: TestCell (0.00s)
=== RUN TestRow
--- PASS: TestRow (0.00s)
=== RUN TestAlign
--- PASS: TestAlign (0.00s)
=== RUN TestAddRow
--- PASS: TestAddRow (0.00s)
PASS
ok github.com/gosuri/uitable 0.001s
? github.com/gosuri/uitable/example [no test files]
=== RUN TestResize
--- PASS: TestResize (0.00s)
=== RUN TestAlign
--- PASS: TestAlign (0.00s)
=== RUN TestJoin
--- PASS: TestJoin (0.00s)
=== RUN TestPadRight
--- PASS: TestPadRight (0.00s)
=== RUN TestPadLeft
--- PASS: TestPadLeft (0.00s)
PASS
ok github.com/gosuri/uitable/util/strutil 0.001s
=== RUN TestWrapString
--- PASS: TestWrapString (0.00s)
PASS
ok github.com/gosuri/uitable/util/wordwrap 0.001s
fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=golang --with=golang
dh_testroot -i -O--buildsystem=golang
dh_prep -i -O--buildsystem=golang
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
cd obj-x86_64-linux-gnu && mkdir -p /<<BUILDDIR>>/golang-github-gosuri-uitable-0.0\~git20170830.36ee7e94/debian/golang-github-gosuri-uitable-dev/usr
cd obj-x86_64-linux-gnu && cp -r bin /<<BUILDDIR>>/golang-github-gosuri-uitable-0.0\~git20170830.36ee7e94/debian/golang-github-gosuri-uitable-dev/usr
cd obj-x86_64-linux-gnu && mkdir -p /<<BUILDDIR>>/golang-github-gosuri-uitable-0.0\~git20170830.36ee7e94/debian/golang-github-gosuri-uitable-dev/usr/share/gocode/src/github.com/gosuri/uitable
cd obj-x86_64-linux-gnu && cp -r -T src/github.com/gosuri/uitable /<<BUILDDIR>>/golang-github-gosuri-uitable-0.0\~git20170830.36ee7e94/debian/golang-github-gosuri-uitable-dev/usr/share/gocode/src/github.com/gosuri/uitable
rm -rf ./debian/golang-github-gosuri-uitable-dev/usr/bin/example
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-gosuri-uitable.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