[pkg-go] Bug#830728: golang-github-mattn-go-shellwords: FTBFS: shellwords_test.go:57: fork/exec : no such file or directory

Chris Lamb lamby at debian.org
Sun Jul 10 20:29:39 UTC 2016


Source: golang-github-mattn-go-shellwords
Version: 1.0.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-mattn-go-shellwords fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              golang-github-mattn-go-shellwords
   Version:              1.0.0-1
   Build architecture:   amd64
   Date:                 Sun, 10 Jul 2016 22:26:17 +0200
   Hostname:             b7cc84410cb6
   Uname:                Linux b7cc84410cb6 4.6.0-1-amd64 #1 SMP Debian 4.6.2-2 (2016-06-25) 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-mattn-go-shellwords-build-deps' in '../golang-github-mattn-go-shellwords-build-deps_1.0.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-mattn-go-shellwords-build-deps.
  (Reading database ... 23116 files and directories currently installed.)
  Preparing to unpack golang-github-mattn-go-shellwords-build-deps_1.0.0-1_all.deb ...
  Unpacking golang-github-mattn-go-shellwords-build-deps (1.0.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-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-go golang-src
  0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 26.5 MB of archives.
  After this operation, 191 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]
  Fetched 26.5 MB in 0s (89.9 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 ... 23120 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) ...
  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-src (2:1.6.1+1) ...
  Setting up golang-1.6-go (1.6.2-2) ...
  Setting up golang-go (2:1.6.1+1) ...
  Setting up golang-github-mattn-go-shellwords-build-deps (1.0.0-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=b7cc84410cb6
  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.20160710222616.2SFzNR52rW.golang-github-mattn-go-shellwords/golang-github-mattn-go-shellwords-1.0.0
  OLDPWD=/home/lamby/temp/cdt.20160710222616.2SFzNR52rW.golang-github-mattn-go-shellwords
  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-mattn-go-shellwords 1.0.0-1 on amd64                      **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package golang-github-mattn-go-shellwords
  dpkg-buildpackage: info: source version 1.0.0-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Dmitry Smirnov <onlyjob at debian.org>
   dpkg-source --before-build golang-github-mattn-go-shellwords-1.0.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/mattn/go-shellwords
  github.com/mattn/go-shellwords
     dh_auto_test -O--buildsystem=golang
  	go test -v github.com/mattn/go-shellwords
  === RUN   TestSimple
  --- PASS: TestSimple (0.00s)
  === RUN   TestError
  --- PASS: TestError (0.00s)
  === RUN   TestBacktick
  --- FAIL: TestBacktick (0.00s)
  	shellwords_test.go:57: fork/exec : no such file or directory:
  === RUN   TestBacktickError
  --- PASS: TestBacktickError (0.00s)
  === RUN   TestEnv
  --- PASS: TestEnv (0.00s)
  === RUN   TestNoEnv
  --- PASS: TestNoEnv (0.00s)
  === RUN   TestDupEnv
  --- PASS: TestDupEnv (0.00s)
  FAIL
  exit status 1
  FAIL	github.com/mattn/go-shellwords	0.002s
  dh_auto_test: go test -v github.com/mattn/go-shellwords 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-mattn-go-shellwords.1.0.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2131 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160710/ce21a861/attachment-0001.obj>


More information about the Pkg-go-maintainers mailing list