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

2018-09-01 Thread Santiago Vila
On Sat, Sep 01, 2018 at 03:31:00PM +0800, Shengjing Zhu wrote:
> (resend, forget to cc bts)
> 
> That's the one failed test,
> 
> --- FAIL: TestCountMallocs (0.00s)
> fmt_test.go:1443: Sprintf(""): got 3 allocs, want <=0
> fmt_test.go:1443: Sprintf("xxx"): got 4 allocs, want <=1
> fmt_test.go:1443: Sprintf("%x"): got 5 allocs, want <=2
> fmt_test.go:1443: Sprintf("%s"): got 5 allocs, want <=2
> fmt_test.go:1443: Sprintf("%x %x"): got 5 allocs, want <=3
> fmt_test.go:1443: Sprintf("%g"): got 7 allocs, want <=2
> fmt_test.go:1443: Fprintf(buf, "%s"): got 4 allocs, want <=1
> fmt_test.go:1443: Fprintf(buf, "%x %x %x"): got 4 allocs, want <=0
> 
> 
> It happens when you run tests with 1 process(GOMAXPROCS=1)
> 
> The upstream bug is https://github.com/golang/go/issues/23000
> 
> This test is to ensure max malloc times used, so I don't think the test
> is so important to kick packages out of testing.
> 
> Can we skip this test?

If you ask me, yes, that's definitely what I would do. I expect
packages to be buildable on any Debian setup on which Debian itself
may be installed, provided there is enough RAM and hard disk.

Thanks.



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

2018-09-01 Thread Shengjing Zhu
(resend, forget to cc bts)

That's the one failed test,

--- FAIL: TestCountMallocs (0.00s)
fmt_test.go:1443: Sprintf(""): got 3 allocs, want <=0
fmt_test.go:1443: Sprintf("xxx"): got 4 allocs, want <=1
fmt_test.go:1443: Sprintf("%x"): got 5 allocs, want <=2
fmt_test.go:1443: Sprintf("%s"): got 5 allocs, want <=2
fmt_test.go:1443: Sprintf("%x %x"): got 5 allocs, want <=3
fmt_test.go:1443: Sprintf("%g"): got 7 allocs, want <=2
fmt_test.go:1443: Fprintf(buf, "%s"): got 4 allocs, want <=1
fmt_test.go:1443: Fprintf(buf, "%x %x %x"): got 4 allocs, want <=0


It happens when you run tests with 1 process(GOMAXPROCS=1)

The upstream bug is https://github.com/golang/go/issues/23000

This test is to ensure max malloc times used, so I don't think the test
is so important to kick packages out of testing.

Can we skip this test?

-- 
Shengjing Zhu



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

2018-08-31 Thread Santiago Vila
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=/<>/obj-x86_64-linux-gnu/src\" 
-asmflags=\"-trimpath=/<>/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 golan
 g.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