[pkg-go] Bug#907714: golang-x-text: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Fri Aug 31 19:58:09 BST 2018


Package: src:golang-x-text
Version: 0.3.0-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_autoreconf -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=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src\" -v -p 1 golang.org/x/text golang.org/x/text/cases golang.org/x/text/collate golang.org/x/text/collate/build golang.org/x/text/currency golang.org/x/text/date golang.org/x/text/encoding golang.org/x/text/encoding/charmap golang.org/x/text/encoding/htmlindex golang.org/x/text/encoding/ianaindex golang.org/x/text/encoding/internal golang.org/x/text/encoding/internal/enctest golang.org/x/text/encoding/internal/identifier golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/unicode golang.org/x/text/encoding/unicode/utf32 golang.org/x/text/feature/plural golang.org/x/text/internal golang.org/x/text/internal/catmsg golang.org/x/text/internal/cldrtree golang.org/x/text/internal/colltab golang.org/x/text/internal/export/idna golang.org/x/text/internal/format golang.org/x/text/internal/gen golang.org/x/text/internal/number golang.org/x/text/internal/stringset golang.org/x/text/internal/tag golang.org/x/text/internal/testtext golang.org/x/text/internal/triegen golang.org/x/text/internal/ucd golang.org/x/text/internal/utf8internal golang.org/x/text/language golang.org/x/text/language/display golang.org/x/text/message golang.org/x/text/message/catalog golang.org/x/text/number golang.org/x/text/runes golang.org/x/text/search golang.org/x/text/secure golang.org/x/text/secure/bidirule golang.org/x/text/secure/precis golang.org/x/text/transform golang.org/x/text/unicode golang.org/x/text/unicode/bidi golang.org/x/text/unicode/cldr golang.org/x/text/unicode/norm golang.org/x/text/unicode/rangetable golang.org/x/text/unicode/runenames golang.org/x/text/width
golang.org/x/text
golang.org/x/text/internal/tag
golang.org/x/text/language
golang.org/x/text/internal
golang.org/x/text/transform
golang.org/x/text/unicode/norm
golang.org/x/text/cases

[... snipped ...]

=== RUN   TestNarrowSingleRunes
--- PASS: TestNarrowSingleRunes (0.03s)
=== RUN   TestNarrow
=== RUN   TestNarrow/empty
=== RUN   TestNarrow/short_source_1
=== RUN   TestNarrow/short_source_2
=== RUN   TestNarrow/incomplete_but_terminated_source_1
=== RUN   TestNarrow/incomplete_but_terminated_source_2
=== RUN   TestNarrow/exact_fit_dst
=== RUN   TestNarrow/exact_fit_dst_some_span
=== RUN   TestNarrow/empty_dst
=== RUN   TestNarrow/empty_dst_ascii
=== RUN   TestNarrow/short_dst_1
=== RUN   TestNarrow/short_dst_2
=== RUN   TestNarrow/ambiguous
=== RUN   TestNarrow/short_dst_fast_path
=== RUN   TestNarrow/short_dst_larger_buffer
=== RUN   TestNarrow/fast_path_alternation
--- PASS: TestNarrow (0.00s)
    --- PASS: TestNarrow/empty (0.00s)
    --- PASS: TestNarrow/short_source_1 (0.00s)
    --- PASS: TestNarrow/short_source_2 (0.00s)
    --- PASS: TestNarrow/incomplete_but_terminated_source_1 (0.00s)
    --- PASS: TestNarrow/incomplete_but_terminated_source_2 (0.00s)
    --- PASS: TestNarrow/exact_fit_dst (0.00s)
    --- PASS: TestNarrow/exact_fit_dst_some_span (0.00s)
    --- PASS: TestNarrow/empty_dst (0.00s)
    --- PASS: TestNarrow/empty_dst_ascii (0.00s)
    --- PASS: TestNarrow/short_dst_1 (0.00s)
    --- PASS: TestNarrow/short_dst_2 (0.00s)
    --- PASS: TestNarrow/ambiguous (0.00s)
    --- PASS: TestNarrow/short_dst_fast_path (0.00s)
    --- PASS: TestNarrow/short_dst_larger_buffer (0.00s)
    --- PASS: TestNarrow/fast_path_alternation (0.00s)
=== RUN   ExampleTransformer_fold
--- PASS: ExampleTransformer_fold (0.00s)
=== RUN   ExampleTransformer_widen
--- PASS: ExampleTransformer_widen (0.00s)
=== RUN   ExampleTransformer_narrow
--- PASS: ExampleTransformer_narrow (0.00s)
PASS
ok  	golang.org/x/text/width	0.109s
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 1 golang.org/x/text golang.org/x/text/cases golang.org/x/text/collate golang.org/x/text/collate/build golang.org/x/text/currency golang.org/x/text/date golang.org/x/text/encoding golang.org/x/text/encoding/charmap golang.org/x/text/encoding/htmlindex golang.org/x/text/encoding/ianaindex golang.org/x/text/encoding/internal golang.org/x/text/encoding/internal/enctest golang.org/x/text/encoding/internal/identifier golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/unicode golang.org/x/text/encoding/unicode/utf32 golang.org/x/text/feature/plural golang.org/x/text/internal golang.org/x/text/internal/catmsg golang.org/x/text/internal/cldrtree golang.org/x/text/internal/colltab golang.org/x/text/internal/export/idna golang.org/x/text/internal/format golang.org/x/text/internal/gen golang.org/x/text/internal/number golang.org/x/text/internal/stringset golang.org/x/text/internal/tag golang.org/x/text/internal/testtext golang.org/x/text/internal/triegen golang.org/x/text/internal/ucd golang.org/x/text/internal/utf8internal golang.org/x/text/language golang.org/x/text/language/display golang.org/x/text/message golang.org/x/text/message/catalog golang.org/x/text/number golang.org/x/text/runes golang.org/x/text/search golang.org/x/text/secure golang.org/x/text/secure/bidirule golang.org/x/text/secure/precis golang.org/x/text/transform golang.org/x/text/unicode golang.org/x/text/unicode/bidi golang.org/x/text/unicode/cldr golang.org/x/text/unicode/norm golang.org/x/text/unicode/rangetable golang.org/x/text/unicode/runenames golang.org/x/text/width returned exit code 1
make: *** [debian/rules:9: build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

This is just how the build ends and not necessarily the relevant part.
For full build logs please see:

https://people.debian.org/~sanvila/build-logs/golang-x-text/

To reproduce, please try building with sbuild on a single-CPU machine, where
this error seems to happen 100% of the time.

Thanks.



More information about the Pkg-go-maintainers mailing list