Raspbian Package Auto-Building

Build log for consul-migrate (0.1.0-1) on armhf

consul-migrate0.1.0-1armhf → 2015-12-24 21:36:45

sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on bm-wb-03

╔══════════════════════════════════════════════════════════════════════════════╗
║ consul-migrate 0.1.0-1 (armhf)                             24 Dec 2015 21:28 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: consul-migrate
Version: 0.1.0-1
Source Version: 0.1.0-1
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/consul-migrate-WvF2__/consul-migrate-0.1.0' with '«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/consul-migrate-WvF2__' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-0e1130d6-b30d-4fba-b182-1f7f1163e485' with '«CHROOT»'

┌──────────────────────────────────────────────────────────────────────────────┐
│ Update chroot                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

Get:1 http://172.17.0.1/private stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private stretch-staging/main Sources [8565 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf Packages [10.6 MB]
Fetched 19.2 MB in 20s (922 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

┌──────────────────────────────────────────────────────────────────────────────┐
│ Fetch source files                                                           │
└──────────────────────────────────────────────────────────────────────────────┘


Check APT
─────────

Checking available source versions...

Download source files with APT
──────────────────────────────

Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'consul-migrate' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/pkg-go/packages/golang-github-hashicorp-consul-migrate.git
Please use:
git clone git://anonscm.debian.org/pkg-go/packages/golang-github-hashicorp-consul-migrate.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 21.7 kB of source archives.
Get:1 http://172.17.0.1/private stretch-staging/main consul-migrate 0.1.0-1 (dsc) [2331 B]
Get:2 http://172.17.0.1/private stretch-staging/main consul-migrate 0.1.0-1 (tar) [12.8 kB]
Get:3 http://172.17.0.1/private stretch-staging/main consul-migrate 0.1.0-1 (diff) [6540 B]
Fetched 21.7 kB in 0s (350 kB/s)
Download complete and in download only mode

Check architectures
───────────────────


Check dependencies
──────────────────

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/«BUILDDIR»/resolver-7LLSc0/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Get:1 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ InRelease
Ign:1 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ InRelease
Get:2 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ Release [2119 B]
Get:2 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ Release [2119 B]
Get:3 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ Release.gpg [299 B]
Get:3 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ Release.gpg [299 B]
Get:4 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ Sources [208 B]
Get:5 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ Packages [526 B]
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install core build dependencies (apt-based resolver)                         │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/764 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 file:/«BUILDDIR»/resolver-7LLSc0/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [764 B]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package sbuild-build-depends-core-dummy.
(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 ... 12266 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges
Merged Build-Depends: libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-golang, golang-github-hashicorp-raft-boltdb-dev, golang-github-hashicorp-raft-dev, golang-github-hashicorp-raft-mdb-dev, golang-go
Filtered Build-Depends: libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-golang, golang-github-hashicorp-raft-boltdb-dev, golang-github-hashicorp-raft-dev, golang-github-hashicorp-raft-mdb-dev, golang-go
dpkg-deb: building package 'sbuild-build-depends-consul-migrate-dummy' in '/«BUILDDIR»/resolver-LzLrXx/apt_archive/sbuild-build-depends-consul-migrate-dummy.deb'.
OK
Get:1 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ InRelease
Ign:1 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ InRelease
Get:2 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ Release [2119 B]
Get:2 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ Release [2119 B]
Get:3 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ Release.gpg [299 B]
Get:3 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ Release.gpg [299 B]
Get:4 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ Sources [357 B]
Get:5 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ Packages [619 B]
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install consul-migrate build dependencies (apt-based resolver)               │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  bsdmainutils debhelper dh-golang dh-strip-nondeterminism file gettext
  gettext-base golang-check.v1-dev golang-codegangsta-cli-dev
  golang-github-armon-go-metrics-dev golang-github-armon-gomdb-dev
  golang-github-boltdb-bolt-dev golang-github-codegangsta-cli-dev
  golang-github-datadog-datadog-go-dev golang-github-hashicorp-go-msgpack-dev
  golang-github-hashicorp-raft-boltdb-dev golang-github-hashicorp-raft-dev
  golang-github-hashicorp-raft-mdb-dev golang-github-ugorji-go-codec-dev
  golang-github-ugorji-go-msgpack-dev golang-go golang-gopkg-mgo.v2-dev
  golang-gopkg-tomb.v2-dev golang-gopkg-vmihailenco-msgpack.v2-dev
  golang-goprotobuf-dev golang-procfs-dev golang-prometheus-client-dev
  golang-protobuf-extensions-dev golang-src groff-base intltool-debian
  libarchive-zip-perl libcroco3 libffi6 libfile-stripnondeterminism-perl
  libglib2.0-0 libicu55 liblmdb-dev liblmdb0 libmagic1 libpipeline1
  libprotobuf9v5 libprotoc9v5 libsasl2-2 libsasl2-dev libsasl2-modules-db
  libtimedate-perl libunistring0 libxml2 man-db po-debconf protobuf-compiler
Suggested packages:
  wamerican | wordlist whois vacation dh-make gettext-doc autopoint
  libasprintf-dev libgettextpo-dev bzr ca-certificates git
  golang-golang-x-tools mercurial subversion groff less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx-cur pkg-config libglib2.0-data shared-mime-info
  xdg-user-dirs lmdb-doc libsasl2-modules xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper dh-golang dh-strip-nondeterminism file gettext
  gettext-base golang-check.v1-dev golang-codegangsta-cli-dev
  golang-github-armon-go-metrics-dev golang-github-armon-gomdb-dev
  golang-github-boltdb-bolt-dev golang-github-codegangsta-cli-dev
  golang-github-datadog-datadog-go-dev golang-github-hashicorp-go-msgpack-dev
  golang-github-hashicorp-raft-boltdb-dev golang-github-hashicorp-raft-dev
  golang-github-hashicorp-raft-mdb-dev golang-github-ugorji-go-codec-dev
  golang-github-ugorji-go-msgpack-dev golang-go golang-gopkg-mgo.v2-dev
  golang-gopkg-tomb.v2-dev golang-gopkg-vmihailenco-msgpack.v2-dev
  golang-goprotobuf-dev golang-procfs-dev golang-prometheus-client-dev
  golang-protobuf-extensions-dev golang-src groff-base intltool-debian
  libarchive-zip-perl libcroco3 libffi6 libfile-stripnondeterminism-perl
  libglib2.0-0 libicu55 liblmdb-dev liblmdb0 libmagic1 libpipeline1
  libprotobuf9v5 libprotoc9v5 libsasl2-2 libsasl2-dev libsasl2-modules-db
  libtimedate-perl libunistring0 libxml2 man-db po-debconf protobuf-compiler
  sbuild-build-depends-consul-migrate-dummy
0 upgraded, 53 newly installed, 0 to remove and 6 not upgraded.
Need to get 45.5 MB/45.5 MB of archives.
After this operation, 252 MB of additional disk space will be used.
Get:1 file:/«BUILDDIR»/resolver-LzLrXx/apt_archive ./ sbuild-build-depends-consul-migrate-dummy 0.invalid.0 [856 B]
Get:2 http://172.17.0.1/private stretch-staging/main armhf groff-base armhf 1.22.3-4 [1084 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf bsdmainutils armhf 9.0.6 [177 kB]
Get:4 http://172.17.0.1/private stretch-staging/main armhf libpipeline1 armhf 1.4.1-1 [23.9 kB]
Get:5 http://172.17.0.1/private stretch-staging/main armhf man-db armhf 2.7.5-1 [975 kB]
Get:6 http://172.17.0.1/private stretch-staging/main armhf liblmdb0 armhf 0.9.16-1 [34.9 kB]
Get:7 http://172.17.0.1/private stretch-staging/main armhf liblmdb-dev armhf 0.9.16-1 [50.0 kB]
Get:8 http://172.17.0.1/private stretch-staging/main armhf libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:9 http://172.17.0.1/private stretch-staging/main armhf libmagic1 armhf 1:5.25-2 [250 kB]
Get:10 http://172.17.0.1/private stretch-staging/main armhf file armhf 1:5.25-2 [61.2 kB]
Get:11 http://172.17.0.1/private stretch-staging/main armhf gettext-base armhf 0.19.6-1 [119 kB]
Get:12 http://172.17.0.1/private stretch-staging/main armhf libsasl2-modules-db armhf 2.1.26.dfsg1-14+b1 [65.8 kB]
Get:13 http://172.17.0.1/private stretch-staging/main armhf libsasl2-2 armhf 2.1.26.dfsg1-14+b1 [97.1 kB]
Get:14 http://172.17.0.1/private stretch-staging/main armhf libicu55 armhf 55.1-6 [7379 kB]
Get:15 http://172.17.0.1/private stretch-staging/main armhf libxml2 armhf 2.9.3+dfsg1-1 [800 kB]
Get:16 http://172.17.0.1/private stretch-staging/main armhf libffi6 armhf 3.2.1-4 [18.5 kB]
Get:17 http://172.17.0.1/private stretch-staging/main armhf libglib2.0-0 armhf 2.46.2-1 [2482 kB]
Get:18 http://172.17.0.1/private stretch-staging/main armhf libcroco3 armhf 0.6.11-1 [131 kB]
Get:19 http://172.17.0.1/private stretch-staging/main armhf gettext armhf 0.19.6-1 [1393 kB]
Get:20 http://172.17.0.1/private stretch-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:21 http://172.17.0.1/private stretch-staging/main armhf po-debconf all 1.0.18 [248 kB]
Get:22 http://172.17.0.1/private stretch-staging/main armhf libarchive-zip-perl all 1.55-1 [97.4 kB]
Get:23 http://172.17.0.1/private stretch-staging/main armhf libfile-stripnondeterminism-perl all 0.014-1 [10.6 kB]
Get:24 http://172.17.0.1/private stretch-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:25 http://172.17.0.1/private stretch-staging/main armhf dh-strip-nondeterminism all 0.014-1 [7472 B]
Get:26 http://172.17.0.1/private stretch-staging/main armhf debhelper all 9.20151126 [830 kB]
Get:27 http://172.17.0.1/private stretch-staging/main armhf golang-src armhf 2:1.5.1-4 [6418 kB]
Get:28 http://172.17.0.1/private stretch-staging/main armhf golang-go armhf 2:1.5.1-4 [20.2 MB]
Get:29 http://172.17.0.1/private stretch-staging/main armhf libprotobuf9v5 armhf 2.6.1-1.3 [292 kB]
Get:30 http://172.17.0.1/private stretch-staging/main armhf libprotoc9v5 armhf 2.6.1-1.3 [241 kB]
Get:31 http://172.17.0.1/private stretch-staging/main armhf libsasl2-dev armhf 2.1.26.dfsg1-14+b1 [293 kB]
Get:32 http://172.17.0.1/private stretch-staging/main armhf protobuf-compiler armhf 2.6.1-1.3 [35.8 kB]
Get:33 http://172.17.0.1/private stretch-staging/main armhf dh-golang all 1.12 [9402 B]
Get:34 http://172.17.0.1/private stretch-staging/main armhf golang-check.v1-dev all 0.0+git20150729.11d3bc7-2 [29.0 kB]
Get:35 http://172.17.0.1/private stretch-staging/main armhf golang-github-codegangsta-cli-dev all 0.0~git20150117-3 [14.4 kB]
Get:36 http://172.17.0.1/private stretch-staging/main armhf golang-codegangsta-cli-dev all 0.0~git20150117-3 [2332 B]
Get:37 http://172.17.0.1/private stretch-staging/main armhf golang-goprotobuf-dev armhf 0.0~git20150526-2 [700 kB]
Get:38 http://172.17.0.1/private stretch-staging/main armhf golang-protobuf-extensions-dev all 0+git20150513.fc2b8d3-4 [8694 B]
Get:39 http://172.17.0.1/private stretch-staging/main armhf golang-procfs-dev all 0+git20150616.c91d8ee-1 [13.5 kB]
Get:40 http://172.17.0.1/private stretch-staging/main armhf golang-prometheus-client-dev all 0.7.0+ds-2 [89.7 kB]
Get:41 http://172.17.0.1/private stretch-staging/main armhf golang-github-datadog-datadog-go-dev all 0.0~git20150930.0.b050cd8-1 [7034 B]
Get:42 http://172.17.0.1/private stretch-staging/main armhf golang-github-armon-go-metrics-dev all 0.0~git20151207.0.06b6099-1 [13.0 kB]
Get:43 http://172.17.0.1/private stretch-staging/main armhf golang-github-armon-gomdb-dev all 0.0~git20150106.0.151f2e0-1 [7438 B]
Get:44 http://172.17.0.1/private stretch-staging/main armhf golang-github-boltdb-bolt-dev all 1.1.0-1 [55.3 kB]
Get:45 http://172.17.0.1/private stretch-staging/main armhf golang-github-ugorji-go-msgpack-dev all 0.0~git20130605.792643-1 [20.3 kB]
Get:46 http://172.17.0.1/private stretch-staging/main armhf golang-github-ugorji-go-codec-dev all 0.0~git20151130.0.357a44b-1 [127 kB]
Get:47 http://172.17.0.1/private stretch-staging/main armhf golang-gopkg-vmihailenco-msgpack.v2-dev all 2.4.5-1 [17.0 kB]
Get:48 http://172.17.0.1/private stretch-staging/main armhf golang-gopkg-tomb.v2-dev all 0.0~git20140626.14b3d72-1 [5140 B]
Get:49 http://172.17.0.1/private stretch-staging/main armhf golang-gopkg-mgo.v2-dev all 2015.06.03-3 [129 kB]
Get:50 http://172.17.0.1/private stretch-staging/main armhf golang-github-hashicorp-go-msgpack-dev all 0.0~git20150518-1 [42.1 kB]
Get:51 http://172.17.0.1/private stretch-staging/main armhf golang-github-hashicorp-raft-dev all 0.0~git20150728.9b586e2-2 [49.3 kB]
Get:52 http://172.17.0.1/private stretch-staging/main armhf golang-github-hashicorp-raft-boltdb-dev all 0.0~git20150201.d1e82c1-1 [9744 B]
Get:53 http://172.17.0.1/private stretch-staging/main armhf golang-github-hashicorp-raft-mdb-dev all 0.0~git20150806.0.55f2947-1 [10.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 45.5 MB in 5s (7765 kB/s)
Selecting previously unselected package groff-base.
(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 ... 12266 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-4_armhf.deb ...
Unpacking groff-base (1.22.3-4) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../libpipeline1_1.4.1-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.5-1_armhf.deb ...
Unpacking man-db (2.7.5-1) ...
Selecting previously unselected package liblmdb0:armhf.
Preparing to unpack .../liblmdb0_0.9.16-1_armhf.deb ...
Unpacking liblmdb0:armhf (0.9.16-1) ...
Selecting previously unselected package liblmdb-dev:armhf.
Preparing to unpack .../liblmdb-dev_0.9.16-1_armhf.deb ...
Unpacking liblmdb-dev:armhf (0.9.16-1) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.25-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.25-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.25-2_armhf.deb ...
Unpacking file (1:5.25-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.6-1_armhf.deb ...
Unpacking gettext-base (0.19.6-1) ...
Selecting previously unselected package libsasl2-modules-db:armhf.
Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-14+b1_armhf.deb ...
Unpacking libsasl2-modules-db:armhf (2.1.26.dfsg1-14+b1) ...
Selecting previously unselected package libsasl2-2:armhf.
Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-14+b1_armhf.deb ...
Unpacking libsasl2-2:armhf (2.1.26.dfsg1-14+b1) ...
Selecting previously unselected package libicu55:armhf.
Preparing to unpack .../libicu55_55.1-6_armhf.deb ...
Unpacking libicu55:armhf (55.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.3+dfsg1-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.3+dfsg1-1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.2.1-4_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-4) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.46.2-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.46.2-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.11-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.11-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.6-1_armhf.deb ...
Unpacking gettext (0.19.6-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.18_all.deb ...
Unpacking po-debconf (1.0.18) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../libarchive-zip-perl_1.55-1_all.deb ...
Unpacking libarchive-zip-perl (1.55-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.014-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.014-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.014-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.014-1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20151126_all.deb ...
Unpacking debhelper (9.20151126) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../golang-src_2%3a1.5.1-4_armhf.deb ...
Unpacking golang-src (2:1.5.1-4) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../golang-go_2%3a1.5.1-4_armhf.deb ...
Unpacking golang-go (2:1.5.1-4) ...
Selecting previously unselected package libprotobuf9v5:armhf.
Preparing to unpack .../libprotobuf9v5_2.6.1-1.3_armhf.deb ...
Unpacking libprotobuf9v5:armhf (2.6.1-1.3) ...
Selecting previously unselected package libprotoc9v5:armhf.
Preparing to unpack .../libprotoc9v5_2.6.1-1.3_armhf.deb ...
Unpacking libprotoc9v5:armhf (2.6.1-1.3) ...
Selecting previously unselected package libsasl2-dev.
Preparing to unpack .../libsasl2-dev_2.1.26.dfsg1-14+b1_armhf.deb ...
Unpacking libsasl2-dev (2.1.26.dfsg1-14+b1) ...
Selecting previously unselected package protobuf-compiler.
Preparing to unpack .../protobuf-compiler_2.6.1-1.3_armhf.deb ...
Unpacking protobuf-compiler (2.6.1-1.3) ...
Selecting previously unselected package dh-golang.
Preparing to unpack .../dh-golang_1.12_all.deb ...
Unpacking dh-golang (1.12) ...
Selecting previously unselected package golang-check.v1-dev.
Preparing to unpack .../golang-check.v1-dev_0.0+git20150729.11d3bc7-2_all.deb ...
Unpacking golang-check.v1-dev (0.0+git20150729.11d3bc7-2) ...
Selecting previously unselected package golang-github-codegangsta-cli-dev.
Preparing to unpack .../golang-github-codegangsta-cli-dev_0.0~git20150117-3_all.deb ...
Unpacking golang-github-codegangsta-cli-dev (0.0~git20150117-3) ...
Selecting previously unselected package golang-codegangsta-cli-dev.
Preparing to unpack .../golang-codegangsta-cli-dev_0.0~git20150117-3_all.deb ...
Unpacking golang-codegangsta-cli-dev (0.0~git20150117-3) ...
Selecting previously unselected package golang-goprotobuf-dev.
Preparing to unpack .../golang-goprotobuf-dev_0.0~git20150526-2_armhf.deb ...
Unpacking golang-goprotobuf-dev (0.0~git20150526-2) ...
Selecting previously unselected package golang-protobuf-extensions-dev.
Preparing to unpack .../golang-protobuf-extensions-dev_0+git20150513.fc2b8d3-4_all.deb ...
Unpacking golang-protobuf-extensions-dev (0+git20150513.fc2b8d3-4) ...
Selecting previously unselected package golang-procfs-dev.
Preparing to unpack .../golang-procfs-dev_0+git20150616.c91d8ee-1_all.deb ...
Unpacking golang-procfs-dev (0+git20150616.c91d8ee-1) ...
Selecting previously unselected package golang-prometheus-client-dev.
Preparing to unpack .../golang-prometheus-client-dev_0.7.0+ds-2_all.deb ...
Unpacking golang-prometheus-client-dev (0.7.0+ds-2) ...
Selecting previously unselected package golang-github-datadog-datadog-go-dev.
Preparing to unpack .../golang-github-datadog-datadog-go-dev_0.0~git20150930.0.b050cd8-1_all.deb ...
Unpacking golang-github-datadog-datadog-go-dev (0.0~git20150930.0.b050cd8-1) ...
Selecting previously unselected package golang-github-armon-go-metrics-dev.
Preparing to unpack .../golang-github-armon-go-metrics-dev_0.0~git20151207.0.06b6099-1_all.deb ...
Unpacking golang-github-armon-go-metrics-dev (0.0~git20151207.0.06b6099-1) ...
Selecting previously unselected package golang-github-armon-gomdb-dev.
Preparing to unpack .../golang-github-armon-gomdb-dev_0.0~git20150106.0.151f2e0-1_all.deb ...
Unpacking golang-github-armon-gomdb-dev (0.0~git20150106.0.151f2e0-1) ...
Selecting previously unselected package golang-github-boltdb-bolt-dev.
Preparing to unpack .../golang-github-boltdb-bolt-dev_1.1.0-1_all.deb ...
Unpacking golang-github-boltdb-bolt-dev (1.1.0-1) ...
Selecting previously unselected package golang-github-ugorji-go-msgpack-dev.
Preparing to unpack .../golang-github-ugorji-go-msgpack-dev_0.0~git20130605.792643-1_all.deb ...
Unpacking golang-github-ugorji-go-msgpack-dev (0.0~git20130605.792643-1) ...
Selecting previously unselected package golang-github-ugorji-go-codec-dev.
Preparing to unpack .../golang-github-ugorji-go-codec-dev_0.0~git20151130.0.357a44b-1_all.deb ...
Unpacking golang-github-ugorji-go-codec-dev (0.0~git20151130.0.357a44b-1) ...
Selecting previously unselected package golang-gopkg-vmihailenco-msgpack.v2-dev.
Preparing to unpack .../golang-gopkg-vmihailenco-msgpack.v2-dev_2.4.5-1_all.deb ...
Unpacking golang-gopkg-vmihailenco-msgpack.v2-dev (2.4.5-1) ...
Selecting previously unselected package golang-gopkg-tomb.v2-dev.
Preparing to unpack .../golang-gopkg-tomb.v2-dev_0.0~git20140626.14b3d72-1_all.deb ...
Unpacking golang-gopkg-tomb.v2-dev (0.0~git20140626.14b3d72-1) ...
Selecting previously unselected package golang-gopkg-mgo.v2-dev.
Preparing to unpack .../golang-gopkg-mgo.v2-dev_2015.06.03-3_all.deb ...
Unpacking golang-gopkg-mgo.v2-dev (2015.06.03-3) ...
Selecting previously unselected package golang-github-hashicorp-go-msgpack-dev.
Preparing to unpack .../golang-github-hashicorp-go-msgpack-dev_0.0~git20150518-1_all.deb ...
Unpacking golang-github-hashicorp-go-msgpack-dev (0.0~git20150518-1) ...
Selecting previously unselected package golang-github-hashicorp-raft-dev.
Preparing to unpack .../golang-github-hashicorp-raft-dev_0.0~git20150728.9b586e2-2_all.deb ...
Unpacking golang-github-hashicorp-raft-dev (0.0~git20150728.9b586e2-2) ...
Selecting previously unselected package golang-github-hashicorp-raft-boltdb-dev.
Preparing to unpack .../golang-github-hashicorp-raft-boltdb-dev_0.0~git20150201.d1e82c1-1_all.deb ...
Unpacking golang-github-hashicorp-raft-boltdb-dev (0.0~git20150201.d1e82c1-1) ...
Selecting previously unselected package golang-github-hashicorp-raft-mdb-dev.
Preparing to unpack .../golang-github-hashicorp-raft-mdb-dev_0.0~git20150806.0.55f2947-1_all.deb ...
Unpacking golang-github-hashicorp-raft-mdb-dev (0.0~git20150806.0.55f2947-1) ...
Selecting previously unselected package sbuild-build-depends-consul-migrate-dummy.
Preparing to unpack .../sbuild-build-depends-consul-migrate-dummy.deb ...
Unpacking sbuild-build-depends-consul-migrate-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.21-4) ...
Setting up groff-base (1.22.3-4) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libpipeline1:armhf (1.4.1-1) ...
Setting up man-db (2.7.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up liblmdb0:armhf (0.9.16-1) ...
Setting up liblmdb-dev:armhf (0.9.16-1) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up libmagic1:armhf (1:5.25-2) ...
Setting up file (1:5.25-2) ...
Setting up gettext-base (0.19.6-1) ...
Setting up libsasl2-modules-db:armhf (2.1.26.dfsg1-14+b1) ...
Setting up libsasl2-2:armhf (2.1.26.dfsg1-14+b1) ...
Setting up libicu55:armhf (55.1-6) ...
Setting up libxml2:armhf (2.9.3+dfsg1-1) ...
Setting up libffi6:armhf (3.2.1-4) ...
Setting up libglib2.0-0:armhf (2.46.2-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.11-1) ...
Setting up gettext (0.19.6-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.18) ...
Setting up libarchive-zip-perl (1.55-1) ...
Setting up libfile-stripnondeterminism-perl (0.014-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up golang-src (2:1.5.1-4) ...
Setting up golang-go (2:1.5.1-4) ...
update-alternatives: using /usr/lib/go/bin/go to provide /usr/bin/go (go) in auto mode
Setting up libprotobuf9v5:armhf (2.6.1-1.3) ...
Setting up libprotoc9v5:armhf (2.6.1-1.3) ...
Setting up libsasl2-dev (2.1.26.dfsg1-14+b1) ...
Setting up protobuf-compiler (2.6.1-1.3) ...
Setting up golang-check.v1-dev (0.0+git20150729.11d3bc7-2) ...
Setting up golang-github-codegangsta-cli-dev (0.0~git20150117-3) ...
Setting up golang-codegangsta-cli-dev (0.0~git20150117-3) ...
Setting up golang-goprotobuf-dev (0.0~git20150526-2) ...
Setting up golang-protobuf-extensions-dev (0+git20150513.fc2b8d3-4) ...
Setting up golang-procfs-dev (0+git20150616.c91d8ee-1) ...
Setting up golang-prometheus-client-dev (0.7.0+ds-2) ...
Setting up golang-github-datadog-datadog-go-dev (0.0~git20150930.0.b050cd8-1) ...
Setting up golang-github-armon-go-metrics-dev (0.0~git20151207.0.06b6099-1) ...
Setting up golang-github-armon-gomdb-dev (0.0~git20150106.0.151f2e0-1) ...
Setting up golang-github-boltdb-bolt-dev (1.1.0-1) ...
Setting up golang-github-ugorji-go-msgpack-dev (0.0~git20130605.792643-1) ...
Setting up golang-github-ugorji-go-codec-dev (0.0~git20151130.0.357a44b-1) ...
Setting up golang-gopkg-vmihailenco-msgpack.v2-dev (2.4.5-1) ...
Setting up golang-gopkg-tomb.v2-dev (0.0~git20140626.14b3d72-1) ...
Setting up golang-gopkg-mgo.v2-dev (2015.06.03-3) ...
Setting up golang-github-hashicorp-go-msgpack-dev (0.0~git20150518-1) ...
Setting up golang-github-hashicorp-raft-dev (0.0~git20150728.9b586e2-2) ...
Setting up golang-github-hashicorp-raft-boltdb-dev (0.0~git20150201.d1e82c1-1) ...
Setting up golang-github-hashicorp-raft-mdb-dev (0.0~git20150806.0.55f2947-1) ...
Setting up debhelper (9.20151126) ...
Setting up dh-golang (1.12) ...
Setting up sbuild-build-depends-consul-migrate-dummy (0.invalid.0) ...
Setting up dh-strip-nondeterminism (0.014-1) ...
Processing triggers for libc-bin (2.21-4) ...
W: No sandbox user '_apt' on the system, can not drop privileges

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build environment                                                            │
└──────────────────────────────────────────────────────────────────────────────┘

Kernel: Linux 3.19.0-trunk-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25.90.20151209-1 dpkg-dev_1.18.3 g++-5_5.3.1-3+rpi1 gcc-5_5.3.1-3+rpi1 libc6-dev_2.21-4 libstdc++-5-dev_5.3.1-3+rpi1 libstdc++6_5.3.1-3+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: adduser_3.113+nmu3 apt_1.1.4 base-files_9.4+rpi1 base-passwd_3.5.38 bash_4.3-14 binutils_2.25.90.20151209-1 bsdmainutils_9.0.6 bsdutils_1:2.27.1-1 build-essential_11.7 bzip2_1.0.6-8 coreutils_8.23-4 cpio_2.11+dfsg-4.1 cpp_4:5.2.1-4+rpi3 cpp-5_5.3.1-3+rpi1 dash_0.5.7-4 debconf_1.5.58 debconf-i18n_1.5.58 debfoster_2.7-2 debhelper_9.20151126 debianutils_4.5.1 dh-golang_1.12 dh-strip-nondeterminism_0.014-1 diffutils_1:3.3-2 dmsetup_2:1.02.110-2 dpkg_1.18.3 dpkg-dev_1.18.3 e2fslibs_1.42.13-1 e2fsprogs_1.42.13-1 fakeroot_1.20.2-1 file_1:5.25-2 findutils_4.4.2-10 g++_4:5.2.1-4+rpi3 g++-5_5.3.1-3+rpi1 gcc_4:5.2.1-4+rpi3 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-1+b1 gcc-4.9-base_4.9.3-5+b1 gcc-5_5.3.1-3+rpi1 gcc-5-base_5.3.1-3+rpi1 gettext_0.19.6-1 gettext-base_0.19.6-1 gnupg_1.4.19-6 golang-check.v1-dev_0.0+git20150729.11d3bc7-2 golang-codegangsta-cli-dev_0.0~git20150117-3 golang-github-armon-go-metrics-dev_0.0~git20151207.0.06b6099-1 golang-github-armon-gomdb-dev_0.0~git20150106.0.151f2e0-1 golang-github-boltdb-bolt-dev_1.1.0-1 golang-github-codegangsta-cli-dev_0.0~git20150117-3 golang-github-datadog-datadog-go-dev_0.0~git20150930.0.b050cd8-1 golang-github-hashicorp-go-msgpack-dev_0.0~git20150518-1 golang-github-hashicorp-raft-boltdb-dev_0.0~git20150201.d1e82c1-1 golang-github-hashicorp-raft-dev_0.0~git20150728.9b586e2-2 golang-github-hashicorp-raft-mdb-dev_0.0~git20150806.0.55f2947-1 golang-github-ugorji-go-codec-dev_0.0~git20151130.0.357a44b-1 golang-github-ugorji-go-msgpack-dev_0.0~git20130605.792643-1 golang-go_2:1.5.1-4 golang-gopkg-mgo.v2-dev_2015.06.03-3 golang-gopkg-tomb.v2-dev_0.0~git20140626.14b3d72-1 golang-gopkg-vmihailenco-msgpack.v2-dev_2.4.5-1 golang-goprotobuf-dev_0.0~git20150526-2 golang-procfs-dev_0+git20150616.c91d8ee-1 golang-prometheus-client-dev_0.7.0+ds-2 golang-protobuf-extensions-dev_0+git20150513.fc2b8d3-4 golang-src_2:1.5.1-4 gpgv_1.4.19-6 grep_2.22-1 groff-base_1.22.3-4 gzip_1.6-4 hostname_3.16 init_1.24 init-system-helpers_1.24 initramfs-tools_0.120 initscripts_2.88dsf-59.2 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-4+rpi1 kmod_21-1 libacl1_2.2.52-2 libapparmor1_2.10-2+b2 libapt-pkg4.16_1.0.10.2 libapt-pkg5.0_1.1.4 libarchive-zip-perl_1.55-1 libasan2_5.3.1-3+rpi1 libatomic1_5.3.1-3+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.4.4-4 libaudit1_1:2.4.4-4 libblkid1_2.27.1-1 libbz2-1.0_1.0.6-8 libc-bin_2.21-4 libc-dev-bin_2.21-4 libc6_2.21-4 libc6-dev_2.21-4 libcap2_1:2.24-12 libcap2-bin_1:2.24-12 libcc1-0_5.3.1-3+rpi1 libcomerr2_1.42.13-1 libcroco3_0.6.11-1 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-11 libdbus-1-3_1.10.6-1 libdebconfclient0_0.200 libdevmapper1.02.1_2:1.02.110-2 libdpkg-perl_1.18.3 libdrm2_2.4.65-3 libfakeroot_1.20.2-1 libfdisk1_2.27.1-1 libffi6_3.2.1-4 libfile-stripnondeterminism-perl_0.014-1 libgc1c2_1:7.4.2-7.3 libgcc-5-dev_5.3.1-3+rpi1 libgcc1_1:5.3.1-3+rpi1 libgcrypt20_1.6.4-3 libgdbm3_1.8.3-13.1 libglib2.0-0_2.46.2-1 libgmp10_2:6.1.0+dfsg-2 libgomp1_5.3.1-3+rpi1 libgpg-error0_1.20-1 libicu55_55.1-6 libisl13_0.14-2 libisl15_0.15-3 libklibc_2.0.4-4+rpi1 libkmod2_21-1 liblmdb-dev_0.9.16-1 liblmdb0_0.9.16-1 liblocale-gettext-perl_1.07-1 liblzma5_5.1.1alpha+20120614-2.1 libmagic1_1:5.25-2 libmount1_2.27.1-1 libmpc3_1.0.3-1 libmpfr4_3.1.3-1 libncurses5_6.0+20151024-2 libncursesw5_6.0+20151024-2 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-8 libpipeline1_1.4.1-1 libplymouth4_0.9.2-3 libpng12-0_1.2.54-1 libprocps4_2:3.3.10-2 libprotobuf9v5_2.6.1-1.3 libprotoc9v5_2.6.1-1.3 libreadline6_6.3-8+b3 libsasl2-2_2.1.26.dfsg1-14+b1 libsasl2-dev_2.1.26.dfsg1-14+b1 libsasl2-modules-db_2.1.26.dfsg1-14+b1 libseccomp2_2.2.3-2 libselinux1_2.4-3 libsemanage-common_2.4-3 libsemanage1_2.4-3 libsepol1_2.4-2 libsmartcols1_2.27.1-1 libss2_1.42.13-1 libstdc++-5-dev_5.3.1-3+rpi1 libstdc++6_5.3.1-3+rpi1 libsystemd0_228-2 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7.1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20151024-2 libubsan0_5.3.1-3+rpi1 libudev1_228-2 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-27 libustr-1.0-1_1.0.4-5 libuuid1_2.27.1-1 libxml2_2.9.3+dfsg1-1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.2-3.1 lsb-base_4.1+Debian13+rpi1+nmu1 make_4.0-8.2 makedev_2.3.1-93 man-db_2.7.5-1 manpages_3.74-1 mawk_1.3.3-17 mount_2.27.1-1 multiarch-support_2.21-4 ncurses-base_6.0+20151024-2 ncurses-bin_6.0+20151024-2 passwd_1:4.2-3.1 patch_2.7.5-1 perl_5.20.2-6 perl-base_5.20.2-6 perl-modules_5.20.2-6 plymouth_0.9.2-3 po-debconf_1.0.18 procps_2:3.3.10-2 protobuf-compiler_2.6.1-1.3 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-consul-migrate-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.2.2-6.1 sensible-utils_0.0.9 startpar_0.59-3 systemd_228-2 systemd-sysv_228-2 sysv-rc_2.88dsf-59.2 sysvinit-utils_2.88dsf-59.2 tar_1.28-2.1 tzdata_2015g-1 udev_228-2 util-linux_2.27.1-1 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build                                                                        │
└──────────────────────────────────────────────────────────────────────────────┘


Unpack source
─────────────

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu Nov 12 21:23:15 2015 UTC using RSA key ID BF357DD4
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./consul-migrate_0.1.0-1.dsc
dpkg-source: info: extracting consul-migrate in consul-migrate-0.1.0
dpkg-source: info: unpacking consul-migrate_0.1.0.orig.tar.gz
dpkg-source: info: unpacking consul-migrate_0.1.0-1.debian.tar.xz

Check disc space
────────────────

Sufficient free space for build

User Environment
────────────────

DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-0e1130d6-b30d-4fba-b182-1f7f1163e485
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package consul-migrate
dpkg-buildpackage: source version 0.1.0-1
dpkg-buildpackage: source distribution unstable
 dpkg-source --before-build consul-migrate-0.1.0
dpkg-buildpackage: host architecture armhf
 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-arch
dh build-arch --buildsystem=golang --with=golang
   dh_testdir -a -O--buildsystem=golang
   dh_auto_configure -a -O--buildsystem=golang
   dh_auto_build -a -O--buildsystem=golang
	go install -v github.com/hashicorp/consul-migrate github.com/hashicorp/consul-migrate/migrator
github.com/boltdb/bolt
github.com/armon/gomdb
github.com/armon/go-metrics
github.com/hashicorp/go-msgpack/codec
github.com/hashicorp/raft
github.com/hashicorp/raft-boltdb
github.com/hashicorp/raft-mdb
github.com/hashicorp/consul-migrate/migrator
github.com/hashicorp/consul-migrate
   dh_auto_test -a -O--buildsystem=golang
	go test -v github.com/hashicorp/consul-migrate github.com/hashicorp/consul-migrate/migrator
=== RUN   TestMain_fails
Usage: consul-migrate <data-dir>

Consul-migrate is a tool for moving Consul server data from LMDB to BoltDB.
This is a prerequisite for upgrading to Consul >= 0.5.1.

This utility will migrate all of the data Consul needs to pick up right where
it left off. The original MDB data folder will *NOT* be modified during the
migration process. If any part of the migration fails, it is safe to try again.
This command is also idempotent, and will not re-attempt a migration which has
already been completed.

Upon successful migration, the MDB data directory will be renamed so that it
includes the ".backup" extension. Once you have verified Consul is operational
after the migration, and contains all of the expected data, it is safe to
archive the "mdb.backup" directory and remove it from the Consul server.

Returns 0 on successful migration or no-op, 1 for errors.

Usage: consul-migrate <data-dir>

Consul-migrate is a tool for moving Consul server data from LMDB to BoltDB.
This is a prerequisite for upgrading to Consul >= 0.5.1.

This utility will migrate all of the data Consul needs to pick up right where
it left off. The original MDB data folder will *NOT* be modified during the
migration process. If any part of the migration fails, it is safe to try again.
This command is also idempotent, and will not re-attempt a migration which has
already been completed.

Upon successful migration, the MDB data directory will be renamed so that it
includes the ".backup" extension. Once you have verified Consul is operational
after the migration, and contains all of the expected data, it is safe to
archive the "mdb.backup" directory and remove it from the Consul server.

Returns 0 on successful migration or no-op, 1 for errors.

Error creating migrator: stat /unicorns: no such file or directory
--- PASS: TestMain_fails (0.00s)
=== RUN   TestMain_help
--- PASS: TestMain_help (0.00s)
=== RUN   TestMain_noop
--- PASS: TestMain_noop (0.00s)
PASS
ok  	github.com/hashicorp/consul-migrate	0.047s
=== RUN   TestMigrator_data
--- FAIL: TestMigrator_data (0.01s)
	migrator_test.go:60: err: MDB_INVALID: File is not an LMDB file
=== RUN   TestMigrator_new
--- PASS: TestMigrator_new (0.00s)
=== RUN   TestMigrator_migrate
--- FAIL: TestMigrator_migrate (0.00s)
	migrator_test.go:130: err: Failed to connect MDB: MDB_INVALID: File is not an LMDB file %!s(MISSING)
=== RUN   TestMigrator_migrate_fails
--- PASS: TestMigrator_migrate_fails (0.40s)
=== RUN   TestMigrator_migrate_noop
--- PASS: TestMigrator_migrate_noop (0.00s)
FAIL
FAIL	github.com/hashicorp/consul-migrate/migrator	0.455s
dh_auto_test: go test -v github.com/hashicorp/consul-migrate github.com/hashicorp/consul-migrate/migrator returned exit code 1
make: *** [build-arch] Error 1
debian/rules:7: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20151224-2134

Finished
────────

E: Build failure (dpkg-buildpackage died)

┌──────────────────────────────────────────────────────────────────────────────┐
│ Cleanup                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Purging /«BUILDDIR»
Not cleaning session: cloned chroot in use

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Build Architecture: armhf
Build-Space: 12068
Build-Time: 60
Distribution: stretch-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 297
Job: consul-migrate_0.1.0-1
Machine Architecture: armhf
Package: consul-migrate
Package-Time: 399
Source-Version: 0.1.0-1
Space: 12068
Status: attempted
Version: 0.1.0-1
────────────────────────────────────────────────────────────────────────────────
Finished at 20151224-2134
Build needed 00:06:39, 12068k disc space