[pkg-go] Bug#828161: golang-github-audriusbutkevicius-go-nat-pmp: FTBFS: natpmp_test.go:8: NewClientForDefaultGateway() = <nil>, fork/exec /usr/bin/ip: no such file or directory FAIL

Chris Lamb lamby at debian.org
Sat Jun 25 15:23:39 UTC 2016


Source: golang-github-audriusbutkevicius-go-nat-pmp
Version: 0.0~git20160516.0.e9d7eca-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-audriusbutkevicius-go-nat-pmp fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              golang-github-audriusbutkevicius-go-nat-pmp
   Version:              0.0~git20160516.0.e9d7eca-1
   Build architecture:   amd64
   Date:                 Sat, 25 Jun 2016 17:20:05 +0200
   Hostname:             0db610b8faee
   Uname:                Linux 0db610b8faee 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-audriusbutkevicius-go-nat-pmp-build-deps' in '../golang-github-audriusbutkevicius-go-nat-pmp-build-deps_0.0~git20160516.0.e9d7eca-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-audriusbutkevicius-go-nat-pmp-build-deps.
  (Reading database ... 23074 files and directories currently installed.)
  Preparing to unpack golang-github-audriusbutkevicius-go-nat-pmp-build-deps_0.0~git20160516.0.e9d7eca-1_all.deb ...
  Unpacking golang-github-audriusbutkevicius-go-nat-pmp-build-deps (0.0~git20160516.0.e9d7eca-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-jackpal-gateway-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-jackpal-gateway-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.6 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]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 golang-github-jackpal-gateway-dev all 1.0.4-1 [5034 B]
  Fetched 26.6 MB in 0s (80.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 ... 23078 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-jackpal-gateway-dev.
  Preparing to unpack .../golang-github-jackpal-gateway-dev_1.0.4-1_all.deb ...
  Unpacking golang-github-jackpal-gateway-dev (1.0.4-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-jackpal-gateway-dev (1.0.4-1) ...
  Setting up golang-github-audriusbutkevicius-go-nat-pmp-build-deps (0.0~git20160516.0.e9d7eca-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=0db610b8faee
  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.20160625172003.aaFRKQINw4.golang-github-audriusbutkevicius-go-nat-pmp/golang-github-audriusbutkevicius-go-nat-pmp-0.0~git20160516.0.e9d7eca
  OLDPWD=/home/lamby/temp/cdt.20160625172003.aaFRKQINw4.golang-github-audriusbutkevicius-go-nat-pmp
  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-audriusbutkevicius-go-nat-pmp 0.0~git20160516.0.e9d7eca-1 on amd64 **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package golang-github-audriusbutkevicius-go-nat-pmp
  dpkg-buildpackage: info: source version 0.0~git20160516.0.e9d7eca-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-audriusbutkevicius-go-nat-pmp-0.0~git20160516.0.e9d7eca
  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/AudriusButkevicius/go-nat-pmp
  github.com/jackpal/gateway
  github.com/AudriusButkevicius/go-nat-pmp
     dh_auto_test -O--buildsystem=golang
  	go test -v github.com/AudriusButkevicius/go-nat-pmp
  === RUN   TestNatPMP
  --- FAIL: TestNatPMP (0.00s)
  	natpmp_test.go:8: NewClientForDefaultGateway() = <nil>,fork/exec /usr/bin/ip: no such file or directory
  FAIL
  exit status 1
  FAIL	github.com/AudriusButkevicius/go-nat-pmp	0.003s
  dh_auto_test: go test -v github.com/AudriusButkevicius/go-nat-pmp 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-audriusbutkevicius-go-nat-pmp.0.0~git20160516.0.e9d7eca-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2204 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160625/8438bf98/attachment-0001.obj>


More information about the Pkg-go-maintainers mailing list