[pkg-go] Bug#835613: golang-goyaml: FTBFS: FAIL: encode_test.go:217: S.TestMarshal

Chris Lamb lamby at debian.org
Sat Aug 27 15:42:48 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:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              golang-goyaml
   Version:              0.0~bzr50-1
   Build architecture:   amd64
   Date:                 Sat, 27 Aug 2016 16:41:31 +0100
   Hostname:             c194ca82fcc4
   Uname:                Linux c194ca82fcc4 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux
   /etc/timezone:        Europe/London
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'golang-goyaml-build-deps' in '../golang-goyaml-build-deps_0.0~bzr50-1_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package golang-goyaml-build-deps.
  (Reading database ... 23251 files and directories currently installed.)
  Preparing to unpack golang-goyaml-build-deps_0.0~bzr50-1_all.deb ...
  Unpacking golang-goyaml-build-deps (0.0~bzr50-1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    dh-golang golang-1.7-go golang-1.7-src golang-go golang-gocheck-dev
    golang-src
  Suggested packages:
    bzr ca-certificates mercurial subversion
  Recommended packages:
    pkg-config
  The following NEW packages will be installed:
    dh-golang golang-1.7-go golang-1.7-src golang-go golang-gocheck-dev
    golang-src
  0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 26.3 MB of archives.
  After this operation, 143 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 dh-golang all 1.19 [9548 B]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 golang-1.7-src amd64 1.7-3 [7643 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 golang-1.7-go amd64 1.7-3 [18.6 MB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 golang-src amd64 2:1.7~1 [3186 B]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 golang-go amd64 2:1.7~1 [22.3 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 golang-gocheck-dev all 0.0~bzr20131118+85-2 [27.4 kB]
  Fetched 26.3 MB in 0s (115 MB/s)
  Selecting previously unselected package dh-golang.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23255 files and directories currently installed.)
  Preparing to unpack .../0-dh-golang_1.19_all.deb ...
  Unpacking dh-golang (1.19) ...
  Selecting previously unselected package golang-1.7-src.
  Preparing to unpack .../1-golang-1.7-src_1.7-3_amd64.deb ...
  Unpacking golang-1.7-src (1.7-3) ...
  Selecting previously unselected package golang-1.7-go.
  Preparing to unpack .../2-golang-1.7-go_1.7-3_amd64.deb ...
  Unpacking golang-1.7-go (1.7-3) ...
  Selecting previously unselected package golang-src.
  Preparing to unpack .../3-golang-src_2%3a1.7~1_amd64.deb ...
  Unpacking golang-src (2:1.7~1) ...
  Selecting previously unselected package golang-go.
  Preparing to unpack .../4-golang-go_2%3a1.7~1_amd64.deb ...
  Unpacking golang-go (2:1.7~1) ...
  Selecting previously unselected package golang-gocheck-dev.
  Preparing to unpack .../5-golang-gocheck-dev_0.0~bzr20131118+85-2_all.deb ...
  Unpacking golang-gocheck-dev (0.0~bzr20131118+85-2) ...
  Setting up golang-gocheck-dev (0.0~bzr20131118+85-2) ...
  Setting up dh-golang (1.19) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up golang-1.7-src (1.7-3) ...
  Setting up golang-src (2:1.7~1) ...
  Setting up golang-1.7-go (1.7-3) ...
  Setting up golang-go (2:1.7~1) ...
  Setting up golang-goyaml-build-deps (0.0~bzr50-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=c194ca82fcc4
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160827164130.kVQhDjphMa.db.golang-goyaml/golang-goyaml-0.0~bzr50
  OLDPWD=/home/lamby/temp/cdt.20160827164130.kVQhDjphMa.db.golang-goyaml
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building golang-goyaml 0.0~bzr50-1 on amd64                                      **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package golang-goyaml
  dpkg-buildpackage: info: source version 0.0~bzr50-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Vincent Bernat <bernat at debian.org>
   dpkg-source --before-build golang-goyaml-0.0~bzr50
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  I: golang-goyaml_0.0~bzr50
  dh clean --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_auto_clean -O--buildsystem=golang
     dh_clean -O--buildsystem=golang
   debian/rules build
  I: golang-goyaml_0.0~bzr50
  dh build --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_update_autotools_config -O--buildsystem=golang
     dh_auto_configure -O--buildsystem=golang
     dh_auto_build -O--buildsystem=golang
  	go install -v -p 1 launchpad.net/goyaml
  launchpad.net/goyaml
     dh_auto_test -O--buildsystem=golang
  	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.012s
  dh_auto_test: go test -v -p 1 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: 2459 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160827/552bcce8/attachment.obj>


More information about the Pkg-go-maintainers mailing list