[pkg-go] Bug#859703: tendermint-go-merkle: FTBFS: go_level_db.go:7:2: cannot find package "github.com/syndtr/goleveldb/leveldb"

Chris Lamb lamby at debian.org
Thu Apr 6 07:31:31 UTC 2017


Source: tendermint-go-merkle
Version: 0.1~20170131~0git7a86b44-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

tendermint-go-merkle fails to build from source in unstable/amd64:

  […]

     debian/rules override_dh_auto_test
  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              tendermint-go-merkle
   Version:              0.1~20170131~0git7a86b44-1
   Build architecture:   amd64
   Date:                 Thu, 06 Apr 2017 09:28:19 +0200
   Hostname:             bcc95f78fe80
   Uname:                Linux bcc95f78fe80 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64 GNU/Linux
   /etc/timezone:        Europe/Amsterdam
  
  **************************************************************************************
  ** 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 'tendermint-go-merkle-build-deps' in '../tendermint-go-merkle-build-deps_0.1~20170131~0git7a86b44-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 tendermint-go-merkle-build-deps.
  (Reading database ... 23700 files and directories currently installed.)
  Preparing to unpack tendermint-go-merkle-build-deps_0.1~20170131~0git7a86b44-1_all.deb ...
  Unpacking tendermint-go-merkle-build-deps (0.1~20170131~0git7a86b44-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-any
    golang-github-davecgh-go-spew-dev golang-github-go-stack-stack-dev
    golang-github-golang-snappy-dev golang-github-mattn-go-colorable-dev
    golang-github-mattn-go-isatty-dev golang-github-pmezard-go-difflib-dev
    golang-github-stretchr-objx-dev golang-github-stretchr-testify-dev
    golang-github-syndtr-goleveldb-dev golang-github-tendermint-go-common-dev
    golang-github-tendermint-go-db-dev golang-github-tendermint-go-logger-dev
    golang-github-tendermint-go-wire-dev golang-github-tendermint-log15-dev
    golang-go golang-golang-x-crypto-dev golang-golang-x-net-dev
    golang-golang-x-text-dev golang-golang-x-tools-dev golang-goleveldb-dev
    golang-src golang-x-text-dev
  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-any
    golang-github-davecgh-go-spew-dev golang-github-go-stack-stack-dev
    golang-github-golang-snappy-dev golang-github-mattn-go-colorable-dev
    golang-github-mattn-go-isatty-dev golang-github-pmezard-go-difflib-dev
    golang-github-stretchr-objx-dev golang-github-stretchr-testify-dev
    golang-github-syndtr-goleveldb-dev golang-github-tendermint-go-common-dev
    golang-github-tendermint-go-db-dev golang-github-tendermint-go-logger-dev
    golang-github-tendermint-go-wire-dev golang-github-tendermint-log15-dev
    golang-go golang-golang-x-crypto-dev golang-golang-x-net-dev
    golang-golang-x-text-dev golang-golang-x-tools-dev golang-goleveldb-dev
    golang-src golang-x-text-dev
  0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 32.1 MB of archives.
  After this operation, 172 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 dh-golang all 1.20 [9766 B]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 golang-1.7-src amd64 1.7.4-2 [7677 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 golang-1.7-go amd64 1.7.4-2 [19.3 MB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 golang-src amd64 2:1.7~5 [3560 B]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 golang-go amd64 2:1.7~5 [22.7 kB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 golang-any amd64 2:1.7~5 [3678 B]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 golang-github-davecgh-go-spew-dev all 1.1.0-1 [29.5 kB]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 golang-github-pmezard-go-difflib-dev all 1.0.0-1 [11.8 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 golang-github-stretchr-objx-dev all 0.0~git20150928.0.1a9d0bb-1 [20.9 kB]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 golang-github-stretchr-testify-dev all 1.1.4+ds-1 [36.5 kB]
  Get:11 http://httpredir.debian.org/debian sid/main amd64 golang-github-go-stack-stack-dev all 1.5.2-2 [6956 B]
  Get:12 http://httpredir.debian.org/debian sid/main amd64 golang-github-mattn-go-isatty-dev all 0.0.1-1 [3456 B]
  Get:13 http://httpredir.debian.org/debian sid/main amd64 golang-github-mattn-go-colorable-dev all 0.0.6-1 [6366 B]
  Get:14 http://httpredir.debian.org/debian sid/main amd64 golang-github-tendermint-log15-dev all 2.3-67-g9545b24-2 [20.8 kB]
  Get:15 http://httpredir.debian.org/debian sid/main amd64 golang-github-tendermint-go-common-dev all 0~20170309~0gitdcb015d-1 [13.5 kB]
  Get:16 http://httpredir.debian.org/debian sid/main amd64 golang-github-golang-snappy-dev all 0.0+git20160529.d9eb7a3-2 [50.2 kB]
  Get:17 http://httpredir.debian.org/debian sid/main amd64 golang-github-syndtr-goleveldb-dev all 0.0~git20170302.0.3c5717c-2 [3790 B]
  Get:18 http://httpredir.debian.org/debian sid/main amd64 golang-goleveldb-dev all 0.0~git20170302.0.3c5717c-2 [2816 B]
  Get:19 http://httpredir.debian.org/debian sid/main amd64 golang-github-tendermint-go-db-dev all 0.1~20170131~0git72f6dac-1 [4706 B]
  Get:20 http://httpredir.debian.org/debian sid/main amd64 golang-github-tendermint-go-logger-dev all 0~20161018~0gitcefb3a4-1 [2924 B]
  Get:21 http://httpredir.debian.org/debian sid/main amd64 golang-golang-x-tools-dev all 1:0.0~git20161028.0.b814a3b+ds-4 [906 kB]
  Get:22 http://httpredir.debian.org/debian sid/main amd64 golang-golang-x-text-dev all 0.0~git20161013.0.c745997-2 [2300 kB]
  Get:23 http://httpredir.debian.org/debian sid/main amd64 golang-x-text-dev all 0.0~git20161013.0.c745997-2 [3012 B]
  Get:24 http://httpredir.debian.org/debian sid/main amd64 golang-golang-x-net-dev all 1:0.0+git20161013.8b4af36+dfsg-3 [499 kB]
  Get:25 http://httpredir.debian.org/debian sid/main amd64 golang-golang-x-crypto-dev all 1:0.0~git20161012.0.5f31782-1 [1107 kB]
  Get:26 http://httpredir.debian.org/debian sid/main amd64 golang-github-tendermint-go-wire-dev all 1.0~rc+git20161223.40.2f3b7aa-1 [25.1 kB]
  Fetched 32.1 MB in 21s (1506 kB/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 ... 23704 files and directories currently installed.)
  Preparing to unpack .../00-dh-golang_1.20_all.deb ...
  Unpacking dh-golang (1.20) ...
  Selecting previously unselected package golang-1.7-src.
  Preparing to unpack .../01-golang-1.7-src_1.7.4-2_amd64.deb ...
  Unpacking golang-1.7-src (1.7.4-2) ...
  Selecting previously unselected package golang-1.7-go.
  Preparing to unpack .../02-golang-1.7-go_1.7.4-2_amd64.deb ...
  Unpacking golang-1.7-go (1.7.4-2) ...
  Selecting previously unselected package golang-src.
  Preparing to unpack .../03-golang-src_2%3a1.7~5_amd64.deb ...
  Unpacking golang-src (2:1.7~5) ...
  Selecting previously unselected package golang-go.
  Preparing to unpack .../04-golang-go_2%3a1.7~5_amd64.deb ...
  Unpacking golang-go (2:1.7~5) ...
  Selecting previously unselected package golang-any.
  Preparing to unpack .../05-golang-any_2%3a1.7~5_amd64.deb ...
  Unpacking golang-any (2:1.7~5) ...
  Selecting previously unselected package golang-github-davecgh-go-spew-dev.
  Preparing to unpack .../06-golang-github-davecgh-go-spew-dev_1.1.0-1_all.deb ...
  Unpacking golang-github-davecgh-go-spew-dev (1.1.0-1) ...
  Selecting previously unselected package golang-github-pmezard-go-difflib-dev.
  Preparing to unpack .../07-golang-github-pmezard-go-difflib-dev_1.0.0-1_all.deb ...
  Unpacking golang-github-pmezard-go-difflib-dev (1.0.0-1) ...
  Selecting previously unselected package golang-github-stretchr-objx-dev.
  Preparing to unpack .../08-golang-github-stretchr-objx-dev_0.0~git20150928.0.1a9d0bb-1_all.deb ...
  Unpacking golang-github-stretchr-objx-dev (0.0~git20150928.0.1a9d0bb-1) ...
  Selecting previously unselected package golang-github-stretchr-testify-dev.
  Preparing to unpack .../09-golang-github-stretchr-testify-dev_1.1.4+ds-1_all.deb ...
  Unpacking golang-github-stretchr-testify-dev (1.1.4+ds-1) ...
  Selecting previously unselected package golang-github-go-stack-stack-dev.
  Preparing to unpack .../10-golang-github-go-stack-stack-dev_1.5.2-2_all.deb ...
  Unpacking golang-github-go-stack-stack-dev (1.5.2-2) ...
  Selecting previously unselected package golang-github-mattn-go-isatty-dev.
  Preparing to unpack .../11-golang-github-mattn-go-isatty-dev_0.0.1-1_all.deb ...
  Unpacking golang-github-mattn-go-isatty-dev (0.0.1-1) ...
  Selecting previously unselected package golang-github-mattn-go-colorable-dev.
  Preparing to unpack .../12-golang-github-mattn-go-colorable-dev_0.0.6-1_all.deb ...
  Unpacking golang-github-mattn-go-colorable-dev (0.0.6-1) ...
  Selecting previously unselected package golang-github-tendermint-log15-dev.
  Preparing to unpack .../13-golang-github-tendermint-log15-dev_2.3-67-g9545b24-2_all.deb ...
  Unpacking golang-github-tendermint-log15-dev (2.3-67-g9545b24-2) ...
  Selecting previously unselected package golang-github-tendermint-go-common-dev.
  Preparing to unpack .../14-golang-github-tendermint-go-common-dev_0~20170309~0gitdcb015d-1_all.deb ...
  Unpacking golang-github-tendermint-go-common-dev (0~20170309~0gitdcb015d-1) ...
  Selecting previously unselected package golang-github-golang-snappy-dev.
  Preparing to unpack .../15-golang-github-golang-snappy-dev_0.0+git20160529.d9eb7a3-2_all.deb ...
  Unpacking golang-github-golang-snappy-dev (0.0+git20160529.d9eb7a3-2) ...
  Selecting previously unselected package golang-github-syndtr-goleveldb-dev.
  Preparing to unpack .../16-golang-github-syndtr-goleveldb-dev_0.0~git20170302.0.3c5717c-2_all.deb ...
  Unpacking golang-github-syndtr-goleveldb-dev (0.0~git20170302.0.3c5717c-2) ...
  Selecting previously unselected package golang-goleveldb-dev.
  Preparing to unpack .../17-golang-goleveldb-dev_0.0~git20170302.0.3c5717c-2_all.deb ...
  Unpacking golang-goleveldb-dev (0.0~git20170302.0.3c5717c-2) ...
  Selecting previously unselected package golang-github-tendermint-go-db-dev.
  Preparing to unpack .../18-golang-github-tendermint-go-db-dev_0.1~20170131~0git72f6dac-1_all.deb ...
  Unpacking golang-github-tendermint-go-db-dev (0.1~20170131~0git72f6dac-1) ...
  Selecting previously unselected package golang-github-tendermint-go-logger-dev.
  Preparing to unpack .../19-golang-github-tendermint-go-logger-dev_0~20161018~0gitcefb3a4-1_all.deb ...
  Unpacking golang-github-tendermint-go-logger-dev (0~20161018~0gitcefb3a4-1) ...
  Selecting previously unselected package golang-golang-x-tools-dev.
  Preparing to unpack .../20-golang-golang-x-tools-dev_1%3a0.0~git20161028.0.b814a3b+ds-4_all.deb ...
  Unpacking golang-golang-x-tools-dev (1:0.0~git20161028.0.b814a3b+ds-4) ...
  Selecting previously unselected package golang-golang-x-text-dev.
  Preparing to unpack .../21-golang-golang-x-text-dev_0.0~git20161013.0.c745997-2_all.deb ...
  Unpacking golang-golang-x-text-dev (0.0~git20161013.0.c745997-2) ...
  Selecting previously unselected package golang-x-text-dev.
  Preparing to unpack .../22-golang-x-text-dev_0.0~git20161013.0.c745997-2_all.deb ...
  Unpacking golang-x-text-dev (0.0~git20161013.0.c745997-2) ...
  Selecting previously unselected package golang-golang-x-net-dev.
  Preparing to unpack .../23-golang-golang-x-net-dev_1%3a0.0+git20161013.8b4af36+dfsg-3_all.deb ...
  Unpacking golang-golang-x-net-dev (1:0.0+git20161013.8b4af36+dfsg-3) ...
  Selecting previously unselected package golang-golang-x-crypto-dev.
  Preparing to unpack .../24-golang-golang-x-crypto-dev_1%3a0.0~git20161012.0.5f31782-1_all.deb ...
  Unpacking golang-golang-x-crypto-dev (1:0.0~git20161012.0.5f31782-1) ...
  Selecting previously unselected package golang-github-tendermint-go-wire-dev.
  Preparing to unpack .../25-golang-github-tendermint-go-wire-dev_1.0~rc+git20161223.40.2f3b7aa-1_all.deb ...
  Unpacking golang-github-tendermint-go-wire-dev (1.0~rc+git20161223.40.2f3b7aa-1) ...
  Setting up golang-github-pmezard-go-difflib-dev (1.0.0-1) ...
  Setting up golang-github-golang-snappy-dev (0.0+git20160529.d9eb7a3-2) ...
  Setting up dh-golang (1.20) ...
  Setting up golang-github-mattn-go-isatty-dev (0.0.1-1) ...
  Setting up golang-github-go-stack-stack-dev (1.5.2-2) ...
  Setting up golang-github-syndtr-goleveldb-dev (0.0~git20170302.0.3c5717c-2) ...
  Setting up golang-github-stretchr-objx-dev (0.0~git20150928.0.1a9d0bb-1) ...
  Setting up golang-github-davecgh-go-spew-dev (1.1.0-1) ...
  Setting up golang-golang-x-tools-dev (1:0.0~git20161028.0.b814a3b+ds-4) ...
  Setting up golang-github-stretchr-testify-dev (1.1.4+ds-1) ...
  Processing triggers for man-db (2.7.6.1-2) ...
  Setting up golang-1.7-src (1.7.4-2) ...
  Setting up golang-golang-x-text-dev (0.0~git20161013.0.c745997-2) ...
  Setting up golang-github-mattn-go-colorable-dev (0.0.6-1) ...
  Setting up golang-x-text-dev (0.0~git20161013.0.c745997-2) ...
  Setting up golang-src (2:1.7~5) ...
  Setting up golang-goleveldb-dev (0.0~git20170302.0.3c5717c-2) ...
  Setting up golang-golang-x-net-dev (1:0.0+git20161013.8b4af36+dfsg-3) ...
  Setting up golang-golang-x-crypto-dev (1:0.0~git20161012.0.5f31782-1) ...
  Setting up golang-1.7-go (1.7.4-2) ...
  Setting up golang-go (2:1.7~5) ...
  Setting up golang-github-tendermint-log15-dev (2.3-67-g9545b24-2) ...
  Setting up golang-any (2:1.7~5) ...
  Setting up golang-github-tendermint-go-common-dev (0~20170309~0gitdcb015d-1) ...
  Setting up golang-github-tendermint-go-logger-dev (0~20161018~0gitcefb3a4-1) ...
  Setting up golang-github-tendermint-go-wire-dev (1.0~rc+git20161223.40.2f3b7aa-1) ...
  Setting up golang-github-tendermint-go-db-dev (0.1~20170131~0git72f6dac-1) ...
  Setting up tendermint-go-merkle-build-deps (0.1~20170131~0git7a86b44-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=bcc95f78fe80
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  DEB_BUILD_PROFILES=
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20170406092758.ewsMU6tScE.db.tendermint-go-merkle/tendermint-go-merkle-0.1~20170131~0git7a86b44
  OLDPWD=/home/lamby/temp/cdt.20170406092758.ewsMU6tScE.db.tendermint-go-merkle
  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 tendermint-go-merkle 0.1~20170131~0git7a86b44-1 on amd64                **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -us -uc -b
  dpkg-buildpackage: info: source package tendermint-go-merkle
  dpkg-buildpackage: info: source version 0.1~20170131~0git7a86b44-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Alessio Treglia <alessio at debian.org>
   dpkg-source --before-build tendermint-go-merkle-0.1~20170131~0git7a86b44
  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 -p 1 github.com/tendermint/go-merkle github.com/tendermint/go-merkle/scripts
  src/github.com/tendermint/go-db/go_level_db.go:7:2: cannot find package "github.com/syndtr/goleveldb/leveldb" in any of:
  	/usr/lib/go-1.7/src/github.com/syndtr/goleveldb/leveldb (from $GOROOT)
  	«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb (from $GOPATH)
  src/github.com/tendermint/go-db/go_level_db.go:8:2: cannot find package "github.com/syndtr/goleveldb/leveldb/errors" in any of:
  	/usr/lib/go-1.7/src/github.com/syndtr/goleveldb/leveldb/errors (from $GOROOT)
  	«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/errors (from $GOPATH)
  src/github.com/tendermint/go-db/go_level_db.go:9:2: cannot find package "github.com/syndtr/goleveldb/leveldb/opt" in any of:
  	/usr/lib/go-1.7/src/github.com/syndtr/goleveldb/leveldb/opt (from $GOROOT)
  	«BUILDDIR»/obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/opt (from $GOPATH)
  dh_auto_build: go install -v -p 1 github.com/tendermint/go-merkle github.com/tendermint/go-merkle/scripts returned exit code 1
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

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: tendermint-go-merkle.0.1~20170131~0git7a86b44-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3444 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170406/8ea357ed/attachment-0001.obj>


More information about the Pkg-go-maintainers mailing list