Package: src:golang-goyaml
Version: 0.0~bzr50-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -B"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
I: golang-goyaml_0.0~bzr50
dh build-arch --buildsystem=golang --with=golang
dh: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_testdir -a -O--buildsystem=golang
   dh_update_autotools_config -a -O--buildsystem=golang
   dh_auto_configure -a -O--buildsystem=golang
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_auto_build -a -O--buildsystem=golang
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
        go install -v -p 1 launchpad.net/goyaml
launchpad.net/goyaml
   dh_auto_test -a -O--buildsystem=golang
dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use)
        go test -v -p 1 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.009s
dh_auto_test: go test -v -p 1 launchpad.net/goyaml returned exit code 1
debian/rules:7: recipe for target 'build-arch' failed
make: *** [build-arch] Error 1
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

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

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine.

Thanks.

Reply via email to