[pkg-go] Bug#822700: golang-github-spf13-viper: FTBFS: inotify.go:19:2: cannot find package "golang.org/x/sys/unix"
Chris Lamb
lamby at debian.org
Tue Apr 26 18:01:23 UTC 2016
Source: golang-github-spf13-viper
Version: 0.0~git20160111.0.a212099-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-spf13-viper fails to build from source in unstable/amd64:
[..]
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-spf13-viper-build-deps' in '../golang-github-spf13-viper-build-deps_0.0~git20160111.0.a212099-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-spf13-viper-build-deps.
(Reading database ... 23036 files and directories currently installed.)
Preparing to unpack golang-github-spf13-viper-build-deps_0.0~git20160111.0.a212099-1_all.deb ...
Unpacking golang-github-spf13-viper-build-deps (0.0~git20160111.0.a212099-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
dh-golang golang-check.v1-dev golang-etcd-dev
golang-github-armon-consul-api-dev golang-github-fsnotify-fsnotify-dev
golang-github-go-fsnotify-fsnotify-dev golang-github-hashicorp-hcl-dev
golang-github-magiconair-properties-dev
golang-github-mitchellh-mapstructure-dev golang-github-spf13-cast-dev
golang-github-spf13-jwalterweatherman-dev golang-github-spf13-pflag-dev
golang-github-stretchr-objx-dev golang-github-stretchr-testify-dev
golang-github-xordataexchange-crypt-dev golang-go golang-golang-x-crypto-dev
golang-pretty-dev golang-src golang-text-dev golang-toml-dev
golang-yaml.v2-dev
Suggested packages:
golang-github-xordataexchange-crypt bzr ca-certificates
golang-golang-x-tools mercurial subversion
Recommended packages:
pkg-config
The following NEW packages will be installed:
dh-golang golang-check.v1-dev golang-etcd-dev
golang-github-armon-consul-api-dev golang-github-fsnotify-fsnotify-dev
golang-github-go-fsnotify-fsnotify-dev golang-github-hashicorp-hcl-dev
golang-github-magiconair-properties-dev
golang-github-mitchellh-mapstructure-dev golang-github-spf13-cast-dev
golang-github-spf13-jwalterweatherman-dev golang-github-spf13-pflag-dev
golang-github-stretchr-objx-dev golang-github-stretchr-testify-dev
golang-github-xordataexchange-crypt-dev golang-go golang-golang-x-crypto-dev
golang-pretty-dev golang-src golang-text-dev golang-toml-dev
golang-yaml.v2-dev
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 28.0 MB of archives.
After this operation, 195 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 dh-golang all 1.16 [8572 B]
Get:2 http://httpredir.debian.org/debian sid/main amd64 golang-src amd64 2:1.6.1-2 [6781 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 golang-go amd64 2:1.6.1-2 [20.0 MB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 golang-toml-dev all 0.1.0+git20160102.23.5c4df71-1 [33.6 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 golang-github-fsnotify-fsnotify-dev all 1.3.0-1 [24.9 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 golang-github-go-fsnotify-fsnotify-dev all 1.3.0-1 [6522 B]
Get:7 http://httpredir.debian.org/debian sid/main amd64 golang-github-hashicorp-hcl-dev all 0.0~git20151110.0.fa160f1-1 [42.7 kB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 golang-text-dev all 0.0~git20130502-1 [6246 B]
Get:9 http://httpredir.debian.org/debian sid/main amd64 golang-pretty-dev all 0.0~git20130613-1 [7220 B]
Get:10 http://httpredir.debian.org/debian sid/main amd64 golang-check.v1-dev all 0.0+git20150729.11d3bc7-3 [29.1 kB]
Get:11 http://httpredir.debian.org/debian sid/main amd64 golang-github-magiconair-properties-dev all 1.6.0-3 [47.0 kB]
Get:12 http://httpredir.debian.org/debian sid/main amd64 golang-github-mitchellh-mapstructure-dev all 0.0~git20150717.0.281073e-2 [14.4 kB]
Get:13 http://httpredir.debian.org/debian sid/main amd64 golang-github-stretchr-objx-dev all 0.0~git20150928.0.1a9d0bb-1 [20.9 kB]
Get:14 http://httpredir.debian.org/debian sid/main amd64 golang-github-stretchr-testify-dev all 1.0-2 [27.8 kB]
Get:15 http://httpredir.debian.org/debian sid/main amd64 golang-github-spf13-jwalterweatherman-dev all 0.0~git20151231.0.d006540-2 [4942 B]
Get:16 http://httpredir.debian.org/debian sid/main amd64 golang-github-spf13-cast-dev all 0.0~git20151218.0.ee7b3e0-1 [5888 B]
Get:17 http://httpredir.debian.org/debian sid/main amd64 golang-github-spf13-pflag-dev all 0.0~git20151218.0.7f60f83-2 [26.8 kB]
Get:18 http://httpredir.debian.org/debian sid/main amd64 golang-github-armon-consul-api-dev all 0.0~git20150107.0.dcfedd5-2 [17.9 kB]
Get:19 http://httpredir.debian.org/debian sid/main amd64 golang-etcd-dev all 2.0.0-1 [16.6 kB]
Get:20 http://httpredir.debian.org/debian sid/main amd64 golang-golang-x-crypto-dev all 1:0.0~git20151201.0.7b85b09-2 [802 kB]
Get:21 http://httpredir.debian.org/debian sid/main amd64 golang-github-xordataexchange-crypt-dev all 0.0.2+git20150523.17.749e360-3 [11.6 kB]
Get:22 http://httpredir.debian.org/debian sid/main amd64 golang-yaml.v2-dev all 0.0+git20160301.0.a83829b-1 [52.3 kB]
Fetched 28.0 MB in 0s (71.6 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 ... 23040 files and directories currently installed.)
Preparing to unpack .../dh-golang_1.16_all.deb ...
Unpacking dh-golang (1.16) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../golang-src_2%3a1.6.1-2_amd64.deb ...
Unpacking golang-src (2:1.6.1-2) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../golang-go_2%3a1.6.1-2_amd64.deb ...
Unpacking golang-go (2:1.6.1-2) ...
Selecting previously unselected package golang-toml-dev.
Preparing to unpack .../golang-toml-dev_0.1.0+git20160102.23.5c4df71-1_all.deb ...
Unpacking golang-toml-dev (0.1.0+git20160102.23.5c4df71-1) ...
Selecting previously unselected package golang-github-fsnotify-fsnotify-dev.
Preparing to unpack .../golang-github-fsnotify-fsnotify-dev_1.3.0-1_all.deb ...
Unpacking golang-github-fsnotify-fsnotify-dev (1.3.0-1) ...
Selecting previously unselected package golang-github-go-fsnotify-fsnotify-dev.
Preparing to unpack .../golang-github-go-fsnotify-fsnotify-dev_1.3.0-1_all.deb ...
Unpacking golang-github-go-fsnotify-fsnotify-dev (1.3.0-1) ...
Selecting previously unselected package golang-github-hashicorp-hcl-dev.
Preparing to unpack .../golang-github-hashicorp-hcl-dev_0.0~git20151110.0.fa160f1-1_all.deb ...
Unpacking golang-github-hashicorp-hcl-dev (0.0~git20151110.0.fa160f1-1) ...
Selecting previously unselected package golang-text-dev.
Preparing to unpack .../golang-text-dev_0.0~git20130502-1_all.deb ...
Unpacking golang-text-dev (0.0~git20130502-1) ...
Selecting previously unselected package golang-pretty-dev.
Preparing to unpack .../golang-pretty-dev_0.0~git20130613-1_all.deb ...
Unpacking golang-pretty-dev (0.0~git20130613-1) ...
Selecting previously unselected package golang-check.v1-dev.
Preparing to unpack .../golang-check.v1-dev_0.0+git20150729.11d3bc7-3_all.deb ...
Unpacking golang-check.v1-dev (0.0+git20150729.11d3bc7-3) ...
Selecting previously unselected package golang-github-magiconair-properties-dev.
Preparing to unpack .../golang-github-magiconair-properties-dev_1.6.0-3_all.deb ...
Unpacking golang-github-magiconair-properties-dev (1.6.0-3) ...
Selecting previously unselected package golang-github-mitchellh-mapstructure-dev.
Preparing to unpack .../golang-github-mitchellh-mapstructure-dev_0.0~git20150717.0.281073e-2_all.deb ...
Unpacking golang-github-mitchellh-mapstructure-dev (0.0~git20150717.0.281073e-2) ...
Selecting previously unselected package golang-github-stretchr-objx-dev.
Preparing to unpack .../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 .../golang-github-stretchr-testify-dev_1.0-2_all.deb ...
Unpacking golang-github-stretchr-testify-dev (1.0-2) ...
Selecting previously unselected package golang-github-spf13-jwalterweatherman-dev.
Preparing to unpack .../golang-github-spf13-jwalterweatherman-dev_0.0~git20151231.0.d006540-2_all.deb ...
Unpacking golang-github-spf13-jwalterweatherman-dev (0.0~git20151231.0.d006540-2) ...
Selecting previously unselected package golang-github-spf13-cast-dev.
Preparing to unpack .../golang-github-spf13-cast-dev_0.0~git20151218.0.ee7b3e0-1_all.deb ...
Unpacking golang-github-spf13-cast-dev (0.0~git20151218.0.ee7b3e0-1) ...
Selecting previously unselected package golang-github-spf13-pflag-dev.
Preparing to unpack .../golang-github-spf13-pflag-dev_0.0~git20151218.0.7f60f83-2_all.deb ...
Unpacking golang-github-spf13-pflag-dev (0.0~git20151218.0.7f60f83-2) ...
Selecting previously unselected package golang-github-armon-consul-api-dev.
Preparing to unpack .../golang-github-armon-consul-api-dev_0.0~git20150107.0.dcfedd5-2_all.deb ...
Unpacking golang-github-armon-consul-api-dev (0.0~git20150107.0.dcfedd5-2) ...
Selecting previously unselected package golang-etcd-dev.
Preparing to unpack .../golang-etcd-dev_2.0.0-1_all.deb ...
Unpacking golang-etcd-dev (2.0.0-1) ...
Selecting previously unselected package golang-golang-x-crypto-dev.
Preparing to unpack .../golang-golang-x-crypto-dev_1%3a0.0~git20151201.0.7b85b09-2_all.deb ...
Unpacking golang-golang-x-crypto-dev (1:0.0~git20151201.0.7b85b09-2) ...
Selecting previously unselected package golang-github-xordataexchange-crypt-dev.
Preparing to unpack .../golang-github-xordataexchange-crypt-dev_0.0.2+git20150523.17.749e360-3_all.deb ...
Unpacking golang-github-xordataexchange-crypt-dev (0.0.2+git20150523.17.749e360-3) ...
Selecting previously unselected package golang-yaml.v2-dev.
Preparing to unpack .../golang-yaml.v2-dev_0.0+git20160301.0.a83829b-1_all.deb ...
Unpacking golang-yaml.v2-dev (0.0+git20160301.0.a83829b-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up dh-golang (1.16) ...
Setting up golang-src (2:1.6.1-2) ...
Setting up golang-go (2:1.6.1-2) ...
update-alternatives: using /usr/lib/go/bin/go to provide /usr/bin/go (go) in auto mode
Setting up golang-toml-dev (0.1.0+git20160102.23.5c4df71-1) ...
Setting up golang-github-fsnotify-fsnotify-dev (1.3.0-1) ...
Setting up golang-github-go-fsnotify-fsnotify-dev (1.3.0-1) ...
Setting up golang-github-hashicorp-hcl-dev (0.0~git20151110.0.fa160f1-1) ...
Setting up golang-text-dev (0.0~git20130502-1) ...
Setting up golang-pretty-dev (0.0~git20130613-1) ...
Setting up golang-check.v1-dev (0.0+git20150729.11d3bc7-3) ...
Setting up golang-github-magiconair-properties-dev (1.6.0-3) ...
Setting up golang-github-mitchellh-mapstructure-dev (0.0~git20150717.0.281073e-2) ...
Setting up golang-github-stretchr-objx-dev (0.0~git20150928.0.1a9d0bb-1) ...
Setting up golang-github-stretchr-testify-dev (1.0-2) ...
Setting up golang-github-spf13-jwalterweatherman-dev (0.0~git20151231.0.d006540-2) ...
Setting up golang-github-spf13-cast-dev (0.0~git20151218.0.ee7b3e0-1) ...
Setting up golang-github-spf13-pflag-dev (0.0~git20151218.0.7f60f83-2) ...
Setting up golang-github-armon-consul-api-dev (0.0~git20150107.0.dcfedd5-2) ...
Setting up golang-etcd-dev (2.0.0-1) ...
Setting up golang-golang-x-crypto-dev (1:0.0~git20151201.0.7b85b09-2) ...
Setting up golang-github-xordataexchange-crypt-dev (0.0.2+git20150523.17.749e360-3) ...
Setting up golang-yaml.v2-dev (0.0+git20160301.0.a83829b-1) ...
Setting up golang-github-spf13-viper-build-deps (0.0~git20160111.0.a212099-1) ...
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package golang-github-spf13-viper
dpkg-buildpackage: source version 0.0~git20160111.0.a212099-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Anthony Fok <foka at debian.org>
dpkg-source --before-build golang-github-spf13-viper-0.0~git20160111.0.a212099
dpkg-buildpackage: 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/spf13/viper github.com/spf13/viper/remote
src/gopkg.in/fsnotify.v1/inotify.go:19:2: cannot find package "golang.org/x/sys/unix" in any of:
/usr/lib/go/src/golang.org/x/sys/unix (from $GOROOT)
/home/lamby/temp/cdt.20160426185844.SvErsKTlzk.golang-github-spf13-viper/golang-github-spf13-viper-0.0~git20160111.0.a212099/obj-x86_64-linux-gnu/src/golang.org/x/sys/unix (from $GOPATH)
dh_auto_build: go install -v github.com/spf13/viper github.com/spf13/viper/remote 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-spf13-viper.0.0~git20160111.0.a212099-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2617 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160426/bf8d2cf5/attachment-0001.obj>
More information about the Pkg-go-maintainers
mailing list