[pkg-go] Bug#819642: golang-goyaml: FTBFS: FAIL: encode_test.go:217: S.TestMarshal
Chris Lamb
lamby at debian.org
Thu Mar 31 12:17:51 UTC 2016
Source: golang-goyaml
Version: 0.0~bzr50-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
golang-goyaml fails to build from source in unstable/amd64:
[..]
dh_auto_build -O--buildsystem=golang
go install -v launchpad.net/goyaml
launchpad.net/goyaml
dh_auto_test -O--buildsystem=golang
go test -v launchpad.net/goyaml
=== RUN Test
----------------------------------------------------------------------
FAIL: encode_test.go:217: S.TestMarshal
encode_test.go:221:
c.Assert(string(data), Equals, item.data)
... obtained string = "" +
... "a: 1\n" +
... "b: 2\n"
... expected string = "" +
... "a: 1\n" +
... "b: 2\n" +
... "c: 3\n"
----------------------------------------------------------------------
FAIL: encode_test.go:238: S.TestMarshalErrors
encode_test.go:241:
c.Assert(err, ErrorMatches, item.error)
... value = nil
... regex string = "Duplicated key 'b' in struct struct \\{ B int; .*"
... Error value is nil
----------------------------------------------------------------------
FAIL: decode_test.go:364: S.TestUnmarshal
decode_test.go:385:
c.Assert(value, DeepEquals, item.value, Commentf("Item #%d", i))
... obtained *struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" } = &struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" }{A:1, C:goyaml_test.inlineB{B:2, inlineC:goyaml_test.inlineC{C:0}}}
... expected *struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" } = &struct { A int; C goyaml_test.inlineB "yaml:\",inline\"" }{A:1, C:goyaml_test.inlineB{B:2, inlineC:goyaml_test.inlineC{C:3}}}
... Item #84
OOPS: 9 passed, 3 FAILED
--- FAIL: Test (0.01s)
FAIL
exit status 1
FAIL launchpad.net/goyaml 0.008s
dh_auto_test: go test -v launchpad.net/goyaml returned exit code 1
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 1
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-goyaml.0.0~bzr50-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 838 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160331/2ec9ef3a/attachment.obj>
More information about the Pkg-go-maintainers
mailing list