[pkg-go] Bug#828985: golang-github-gosimple-slug: FTBFS: FAIL: TestSubstituteLang (0.00s) slug_test.go:155: 1. Substitute("o a o", map[string]string{"o":"no", "a":"or"}) = "no nor no"; want "no or no"

Chris Lamb lamby at debian.org
Wed Jun 29 14:28:18 UTC 2016


Source: golang-github-gosimple-slug
Version: 1.0-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-github-gosimple-slug fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              golang-github-gosimple-slug
   Version:              1.0-1
   Build architecture:   amd64
   Date:                 Wed, 29 Jun 2016 15:55:39 +0200
   Hostname:             8d018f376876
   Uname:                Linux 8d018f376876 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) x86_64 GNU/Linux
   /etc/timezone:        Africa/Johannesburg
  
  **************************************************************************************
  ** 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-github-gosimple-slug-build-deps' in '../golang-github-gosimple-slug-build-deps_1.0-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-github-gosimple-slug-build-deps.
  (Reading database ... 23075 files and directories currently installed.)
  Preparing to unpack golang-github-gosimple-slug-build-deps_1.0-1_all.deb ...
  Unpacking golang-github-gosimple-slug-build-deps (1.0-1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    dh-golang golang-1.6-go golang-1.6-src golang-github-rainycape-unidecode-dev
    golang-go golang-src
  Suggested packages:
    bzr ca-certificates mercurial subversion
  Recommended packages:
    pkg-config
  The following NEW packages will be installed:
    dh-golang golang-1.6-go golang-1.6-src golang-github-rainycape-unidecode-dev
    golang-go golang-src
  0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 26.8 MB of archives.
  After this operation, 192 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 dh-golang all 1.18 [9278 B]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 golang-1.6-src amd64 1.6.2-2 [6784 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 golang-1.6-go amd64 1.6.2-2 [19.7 MB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 golang-src amd64 2:1.6.1+1 [2974 B]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 golang-go amd64 2:1.6.1+1 [21.9 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 golang-github-rainycape-unidecode-dev all 0.0~git20150906.0.c9cf8cd-1 [267 kB]
  Fetched 26.8 MB in 0s (108 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 ... 23079 files and directories currently installed.)
  Preparing to unpack .../dh-golang_1.18_all.deb ...
  Unpacking dh-golang (1.18) ...
  Selecting previously unselected package golang-1.6-src.
  Preparing to unpack .../golang-1.6-src_1.6.2-2_amd64.deb ...
  Unpacking golang-1.6-src (1.6.2-2) ...
  Selecting previously unselected package golang-1.6-go.
  Preparing to unpack .../golang-1.6-go_1.6.2-2_amd64.deb ...
  Unpacking golang-1.6-go (1.6.2-2) ...
  Selecting previously unselected package golang-src.
  Preparing to unpack .../golang-src_2%3a1.6.1+1_amd64.deb ...
  Unpacking golang-src (2:1.6.1+1) ...
  Selecting previously unselected package golang-go.
  Preparing to unpack .../golang-go_2%3a1.6.1+1_amd64.deb ...
  Unpacking golang-go (2:1.6.1+1) ...
  Selecting previously unselected package golang-github-rainycape-unidecode-dev.
  Preparing to unpack .../golang-github-rainycape-unidecode-dev_0.0~git20150906.0.c9cf8cd-1_all.deb ...
  Unpacking golang-github-rainycape-unidecode-dev (0.0~git20150906.0.c9cf8cd-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up dh-golang (1.18) ...
  Setting up golang-1.6-src (1.6.2-2) ...
  Setting up golang-1.6-go (1.6.2-2) ...
  Setting up golang-src (2:1.6.1+1) ...
  Setting up golang-go (2:1.6.1+1) ...
  Setting up golang-github-rainycape-unidecode-dev (0.0~git20150906.0.c9cf8cd-1) ...
  Setting up golang-github-gosimple-slug-build-deps (1.0-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=8d018f376876
  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.20160629155537.dnb7XDaa7G.golang-github-gosimple-slug/golang-github-gosimple-slug-1.0
  OLDPWD=/home/lamby/temp/cdt.20160629155537.dnb7XDaa7G.golang-github-gosimple-slug
  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
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building golang-github-gosimple-slug 1.0-1 on amd64                              **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package golang-github-gosimple-slug
  dpkg-buildpackage: info: source version 1.0-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Alexandre Viau <aviau at debian.org>
   dpkg-source --before-build golang-github-gosimple-slug-1.0
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  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
  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 github.com/gosimple/slug
  github.com/rainycape/unidecode
  github.com/gosimple/slug
     dh_auto_test -O--buildsystem=golang
  	go test -v github.com/gosimple/slug
  === RUN   TestSlugMake
  --- PASS: TestSlugMake (0.03s)
  === RUN   TestSlugMakeLang
  --- PASS: TestSlugMakeLang (0.00s)
  === RUN   TestSlugMakeUserSubstituteLang
  --- PASS: TestSlugMakeUserSubstituteLang (0.00s)
  === RUN   TestSlugMakeSubstituteOrderLang
  --- PASS: TestSlugMakeSubstituteOrderLang (0.00s)
  === RUN   TestSubstituteLang
  --- FAIL: TestSubstituteLang (0.00s)
  	slug_test.go:155: 1. Substitute("o a o", map[string]string{"o":"no", "a":"or"}) = "no nor no"; want "no or no"
  === RUN   TestSubstituteRuneLang
  --- PASS: TestSubstituteRuneLang (0.00s)
  === RUN   TestSlugMakeSmartTruncate
  --- PASS: TestSlugMakeSmartTruncate (0.00s)
  FAIL
  exit status 1
  FAIL	github.com/gosimple/slug	0.037s
  dh_auto_test: go test -v github.com/gosimple/slug returned exit code 1
  debian/rules:4: 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-github-gosimple-slug.1.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2271 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160629/edccb34c/attachment.obj>


More information about the Pkg-go-maintainers mailing list