[Reproducible-builds] Bug#831036: nomad: FTBFS: client/fingerprint/cpu.go:25: undefined: cpu.CPUInfo

Chris Lamb lamby at debian.org
Wed Jul 13 19:58:01 UTC 2016


Source: nomad
Version: 0.3.2+dfsg-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,

nomad fails to build from source in unstable/amd64:

  [..]

  Setting up golang-github-jacobsa-reqtrace-dev (0.0~git20150505-2) ...
  Setting up golang-google-cloud-compute-metadata-dev (0.0~git20160413-1) ...
  Setting up golang-github-olekukonko-tablewriter-dev (0.0~git20151029.0.a5eefc2-1) ...
  Setting up golang-github-datadog-datadog-go-dev (0.0~git20150930.0.b050cd8-1) ...
  Setting up golang-github-inconshreveable-muxado-dev (0.0~git20140312.0.f693c7e-1) ...
  Setting up golang-google-appengine-dev (0.0~git20150606-2) ...
  Setting up golang-github-xeipuuv-gojsonpointer-dev (0.0~git20151027.0.e0fe6f6-1) ...
  Setting up golang-github-mattn-go-shellwords-dev (1.0.0-1) ...
  Setting up golang-github-xeipuuv-gojsonreference-dev (0.0~git20150808.0.e02fc20-1) ...
  Setting up golang-github-stathat-go-dev (0.0~git20130314.0.01d012b-1) ...
  Setting up golang-github-jtolds-gls-dev (4.2.0-1) ...
  Setting up golang-github-beorn7-perks-dev (0.0~git20150223.0.b965b61-2) ...
  Setting up golang-dns-dev (0.0~git20160414.0.89d9c5e-1) ...
  Setting up golang-github-jacobsa-ogletest-dev (0.0~git20150610-4) ...
  Setting up golang-github-hashicorp-go-uuid-dev (0.0~git20160311.0.d610f28-1) ...
  Setting up golang-github-mitchellh-hashstructure-dev (0.0~git20160209.0.6b17d66-1) ...
  Setting up golang-github-samuel-go-zookeeper-dev (0.0~git20150817.0.177002e-1) ...
  Setting up golang-clockwork-dev (0.0~git20141217-5) ...
  Setting up golang-github-mattn-go-sqlite3-dev (1.1.0~dfsg1-1) ...
  Setting up golang-github-akrennmair-gopcap-dev (0.0~git20150728.0.00e1103-1) ...
  Setting up golang-github-mattn-go-runewidth-dev (0.0.1-1) ...
  Setting up golang-github-xeipuuv-gojsonschema-dev (0.0~git20160323.0.93e72a7-1) ...
  Setting up golang-github-shiena-ansicolor-dev (0.0~git20151119.0.a422bbe-1) ...
  Setting up golang-github-hashicorp-errwrap-dev (0.0~git20141028.0.7554cd9-1) ...
  Setting up golang-github-hashicorp-yamux-dev (0.0~git20151129.0.df94978-1) ...
  Setting up golang-github-mitchellh-copystructure-dev (0.0~git20160128.0.80adcec-1) ...
  Setting up golang-github-hashicorp-uuid-dev (0.0~git20160218.0.6994546-1) ...
  Setting up golang-github-hashicorp-hil-dev (0.0~git20160326.0.40da60f-1) ...
  Setting up golang-github-prometheus-client-model-dev (0.0.2+git20150212.12.fa8ad6f-1) ...
  Setting up golang-github-dustin-go-humanize-dev (0.0~git20151125.0.8929fe9-1) ...
  Setting up golang-github-fatih-color-dev (0.0~git20160225.0.4f7bcef-1) ...
  Setting up golang-metrics-dev (0.0~git20150823-1) ...
  Setting up golang-github-kballard-go-shellquote-dev (0.0~git20150810.0.d8ec1a6-1) ...
  Setting up golang-github-hashicorp-go-version-dev (0.0~git20150915.0.2b9865f-1) ...
  Setting up golang-github-vdemeester-shakers-dev (0.0~git20160210.0.24d7f1d-1) ...
  Setting up golang-github-google-btree-dev (0.0~git20150413.0.cc6329d-1) ...
  Setting up golang-github-xiang90-probing-dev (0.0~git20150806.0.6a0cc1a-1) ...
  Setting up golang-github-hashicorp-mdns-dev (0.0~git20150317.0.2b439d3-1) ...
  Setting up golang-github-gorilla-mux-dev (1.1-2) ...
  Setting up golang-golang-x-oauth2-dev (0.0~git20160416.0.7e9cd5d-1) ...
  Setting up golang-github-lsegal-gucumber-dev (0.0~git20160110.0.44a4d7e-1) ...
  Setting up golang-prometheus-client-dev (0.7.0+ds-4) ...
  Setting up golang-github-hashicorp-go-plugin-dev (0.0~git20160212.0.cccb4a1-1) ...
  Setting up golang-google-grpc-dev (0.0~git20160517.0.a22b6611-1) ...
  Setting up golang-github-smartystreets-assertions-dev (1.6.0+dfsg-1) ...
  Setting up golang-github-hashicorp-go-immutable-radix-dev (0.0~git20160222.0.8e8ed81-1) ...
  Setting up golang-github-hashicorp-go-memdb-dev (0.0~git20160301.0.98f52f5-1) ...
  Setting up golang-github-opencontainers-specs-dev (0.5.0-1) ...
  Setting up golang-github-coreos-gexpect-dev (0.1.0-1) ...
  Setting up golang-github-hashicorp-go-multierror-dev (0.0~git20150916.0.d30f099-1) ...
  Setting up golang-github-cheggaaa-pb-dev (0.0~git20160304.0.a75ad33-1) ...
  Setting up golang-github-armon-go-metrics-dev (0.0~git20160307.0.f303b03-1) ...
  Setting up golang-github-smartystreets-goconvey-dev (1.6.1-1) ...
  Setting up golang-github-hashicorp-memberlist-dev (0.0~git20160329.0.88ac4de-1) ...
  Setting up golang-github-prometheus-common-dev (0+git20160526.0.a6ab084-1) ...
  Setting up golang-github-hashicorp-serf-dev (0.7.0~ds1-1) ...
  Setting up golang-github-hashicorp-net-rpc-msgpackrpc-dev (0.0~git20151116.0.a14192a-1) ...
  Setting up golang-github-aws-aws-sdk-go-dev (1.1.14+dfsg-1) ...
  Setting up golang-github-hashicorp-go-getter-dev (0.0~git20160316.0.575ec4e-1) ...
  Setting up golang-github-hashicorp-raft-dev (0.0~git20160317.0.3359516-1) ...
  Setting up golang-github-hashicorp-scada-client-dev (0.0~git20160601.0.6e89678-1) ...
  Setting up golang-github-hashicorp-raft-boltdb-dev (0.0~git20150201.d1e82c1-1) ...
  Setting up golang-github-hashicorp-consul-dev (0.6.4~dfsg-3) ...
  Setting up golang-github-coreos-go-systemd-dev (10-1) ...
  Setting up golang-github-coreos-pkg-dev (2-1) ...
  Setting up golang-etcd-server-dev (2.3.7+dfsg-1) ...
  Setting up golang-github-opencontainers-runc-dev (0.1.0+dfsg1-1) ...
  Setting up golang-github-fsouza-go-dockerclient-dev (0.0+git20160316-2) ...
  Setting up golang-github-docker-libkv-dev (0.2.0-1) ...
  Setting up golang-github-docker-go-connections-dev (0.2.0-1) ...
  Setting up golang-github-docker-docker-dev (1.11.2~ds1-3) ...
  Setting up nomad-build-deps (0.3.2+dfsg-1) ...
  Processing triggers for libc-bin (2.23-1) ...
  Processing triggers for ca-certificates (20160104) ...
  Updating certificates in /etc/ssl/certs...
  173 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=64f02749da25
  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.20160713212807.vgG88dnY8a.nomad/nomad-0.3.2+dfsg
  OLDPWD=/home/lamby/temp/cdt.20160713212807.vgG88dnY8a.nomad
  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 nomad 0.3.2+dfsg-1 on amd64                                             **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package nomad
  dpkg-buildpackage: info: source version 0.3.2+dfsg-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Dmitry Smirnov <onlyjob at debian.org>
   dpkg-source --before-build nomad-0.3.2+dfsg
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=golang --with=golang,systemd --builddirectory=_build
     dh_testdir -O--buildsystem=golang -O--builddirectory=_build
     dh_auto_clean -O--buildsystem=golang -O--builddirectory=_build
     debian/rules override_dh_clean
  make[1]: Entering directory '/home/lamby/temp/cdt.20160713212807.vgG88dnY8a.nomad/nomad-0.3.2+dfsg'
  dh_clean
  ## Remove Files-Excluded (when built from checkout or non-DFSG tarball):
  rm -f -rv `perl -0nE 'say $1 if m{^Files\-Excluded\:\s*(.*?)(?:\n\n|Files:|Comment:)}sm;' debian/copyright`
  find vendor -type d -empty -delete -print
  vendor/golang.org/x
  vendor/golang.org
  vendor/github.com/docker
  vendor/github.com/davecgh
  vendor/github.com/Sirupsen
  vendor/github.com/golang
  vendor/github.com/hashicorp
  vendor/github.com/ugorji
  vendor/github.com/gorhill
  vendor/github.com/go-ole
  vendor/github.com/bgentry
  vendor/github.com/ryanuber
  vendor/github.com/coreos
  vendor/github.com/dustin
  vendor/github.com/prometheus
  vendor/github.com/opencontainers
  vendor/github.com/go-ini
  vendor/github.com/DataDog
  vendor/github.com/godbus
  vendor/github.com/armon
  vendor/github.com/fsouza
  vendor/github.com/kardianos
  vendor/github.com/jmespath
  vendor/github.com/mitchellh
  vendor/github.com/mattn
  vendor/github.com/aws
  vendor/github.com/shirou
  vendor/github.com/beorn7
  vendor/github.com/miekg
  vendor/github.com/matttproud
  vendor/github.com/StackExchange
  vendor/github.com/boltdb
  vendor/github.com
  vendor
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160713212807.vgG88dnY8a.nomad/nomad-0.3.2+dfsg'
   debian/rules build
  dh build --buildsystem=golang --with=golang,systemd --builddirectory=_build
     dh_testdir -O--buildsystem=golang -O--builddirectory=_build
     dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=_build
     dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build
     dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
  	go install -v github.com/hashicorp/nomad github.com/hashicorp/nomad/api github.com/hashicorp/nomad/client github.com/hashicorp/nomad/client/allocdir github.com/hashicorp/nomad/client/config github.com/hashicorp/nomad/client/consul github.com/hashicorp/nomad/client/driver github.com/hashicorp/nomad/client/driver/env github.com/hashicorp/nomad/client/driver/executor github.com/hashicorp/nomad/client/driver/logging github.com/hashicorp/nomad/client/driver/structs github.com/hashicorp/nomad/client/fingerprint github.com/hashicorp/nomad/client/getter github.com/hashicorp/nomad/client/testutil github.com/hashicorp/nomad/command github.com/hashicorp/nomad/command/agent github.com/hashicorp/nomad/helper/args github.com/hashicorp/nomad/helper/discover github.com/hashicorp/nomad/helper/fields github.com/hashicorp/nomad/helper/flag-slice github.com/hashicorp/nomad/helper/gated-writer github.com/hashicorp/nomad/helper/testtask github.com/hashicorp/nomad/jobspec github.com/hashicorp/nomad/nomad github.com/hashicorp/nomad/nomad/mock github.com/hashicorp/nomad/nomad/state github.com/hashicorp/nomad/nomad/structs github.com/hashicorp/nomad/nomad/watch github.com/hashicorp/nomad/scheduler github.com/hashicorp/nomad/testutil
  github.com/dustin/go-humanize
  github.com/hashicorp/yamux
  github.com/hashicorp/go-cleanhttp
  github.com/hashicorp/errwrap
  github.com/hashicorp/go-multierror
  github.com/gorhill/cronexpr
  github.com/hashicorp/nomad/api
  github.com/hashicorp/go-msgpack/codec
  github.com/hashicorp/go-version
  github.com/hashicorp/go-plugin
  github.com/hashicorp/nomad/helper/args
  github.com/mitchellh/reflectwalk
  github.com/mitchellh/copystructure
  github.com/mitchellh/hashstructure
  github.com/ugorji/go/codec
  github.com/hashicorp/serf/coordinate
  github.com/Sirupsen/logrus
  github.com/hashicorp/consul/api
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/opts
  github.com/opencontainers/runc/libcontainer/configs
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/fileutils
  github.com/docker/go-units
  github.com/hashicorp/nomad/client/driver/structs
  golang.org/x/net/context
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/promise
  github.com/opencontainers/runc/libcontainer/user
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/idtools
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/homedir
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/stdcopy
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/pools
  github.com/fsouza/go-dockerclient/external/github.com/hashicorp/go-cleanhttp
  github.com/armon/circbuf
  github.com/opencontainers/runc/libcontainer/cgroups
  github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/archive
  github.com/opencontainers/runc/libcontainer/system
  github.com/opencontainers/runc/libcontainer/utils
  github.com/shirou/gopsutil/internal/common
  github.com/opencontainers/runc/libcontainer/cgroups/fs
  github.com/shirou/gopsutil/cpu
  github.com/fsouza/go-dockerclient
  github.com/shirou/gopsutil/host
  github.com/shirou/gopsutil/mem
  github.com/kardianos/osext
  github.com/mitchellh/mapstructure
  github.com/hashicorp/nomad/helper/discover
  github.com/aws/aws-sdk-go/aws/awserr
  github.com/go-ini/ini
  github.com/hashicorp/nomad/helper/fields
  github.com/aws/aws-sdk-go/aws/client/metadata
  github.com/jmespath/go-jmespath
  github.com/aws/aws-sdk-go/aws/credentials
  github.com/aws/aws-sdk-go/aws
  github.com/aws/aws-sdk-go/private/endpoints
  github.com/hashicorp/go-getter/helper/url
  github.com/armon/go-metrics
  github.com/aws/aws-sdk-go/aws/awsutil
  github.com/hashicorp/consul/tlsutil
  github.com/aws/aws-sdk-go/aws/request
  github.com/hashicorp/golang-lru/simplelru
  github.com/hashicorp/go-immutable-radix
  github.com/miekg/dns
  github.com/hashicorp/go-memdb
  github.com/aws/aws-sdk-go/aws/client
  github.com/aws/aws-sdk-go/aws/corehandlers
  github.com/aws/aws-sdk-go/aws/ec2metadata
  github.com/aws/aws-sdk-go/private/protocol
  github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds
  github.com/aws/aws-sdk-go/private/protocol/query/queryutil
  github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
  github.com/aws/aws-sdk-go/aws/defaults
  github.com/aws/aws-sdk-go/private/protocol/query
  github.com/aws/aws-sdk-go/aws/session
  github.com/aws/aws-sdk-go/private/protocol/rest
  github.com/aws/aws-sdk-go/private/waiter
  github.com/hashicorp/net-rpc-msgpackrpc
  github.com/aws/aws-sdk-go/private/protocol/restxml
  github.com/aws/aws-sdk-go/private/signer/v4
  github.com/hashicorp/nomad/nomad/watch
  github.com/davecgh/go-spew/spew
  github.com/aws/aws-sdk-go/service/s3
  github.com/hashicorp/raft
  github.com/hashicorp/memberlist
  github.com/boltdb/bolt
  github.com/hashicorp/go-getter
  github.com/hashicorp/serf/serf
  github.com/hashicorp/raft-boltdb
  github.com/hashicorp/hcl/hcl/strconv
  github.com/hashicorp/hcl/hcl/token
  github.com/hashicorp/hcl/hcl/ast
  github.com/hashicorp/hcl/hcl/scanner
  github.com/hashicorp/hcl/hcl/parser
  github.com/hashicorp/hcl/json/token
  github.com/armon/go-radix
  github.com/hashicorp/hcl/json/scanner
  github.com/hashicorp/hcl/json/parser
  github.com/bgentry/speakeasy
  github.com/mattn/go-isatty
  github.com/ryanuber/columnize
  github.com/hashicorp/hcl
  github.com/hashicorp/go-checkpoint
  github.com/mitchellh/cli
  github.com/hashicorp/go-syslog
  github.com/hashicorp/logutils
  github.com/hashicorp/nomad/helper/flag-slice
  github.com/hashicorp/nomad/helper/gated-writer
  github.com/hashicorp/scada-client
  github.com/hashicorp/nomad/client/testutil
  github.com/hashicorp/nomad/nomad/structs
  github.com/hashicorp/nomad/client/allocdir
  github.com/hashicorp/nomad/client/config
  github.com/hashicorp/nomad/client/consul
  github.com/hashicorp/nomad/client/driver/env
  github.com/hashicorp/nomad/client/fingerprint
  github.com/hashicorp/nomad/client/getter
  github.com/hashicorp/nomad/client/driver/logging
  github.com/hashicorp/nomad/nomad/state
  github.com/hashicorp/nomad/scheduler
  # github.com/hashicorp/nomad/client/fingerprint
  src/github.com/hashicorp/nomad/client/fingerprint/cpu.go:25: undefined: cpu.CPUInfo
  src/github.com/hashicorp/nomad/client/fingerprint/host.go:28: undefined: host.HostInfo
  github.com/hashicorp/nomad/helper/testtask
  github.com/hashicorp/nomad/client/driver/executor
  github.com/hashicorp/nomad/nomad/mock
  github.com/hashicorp/nomad/testutil
  dh_auto_build: go install -v github.com/hashicorp/nomad github.com/hashicorp/nomad/api github.com/hashicorp/nomad/client github.com/hashicorp/nomad/client/allocdir github.com/hashicorp/nomad/client/config github.com/hashicorp/nomad/client/consul github.com/hashicorp/nomad/client/driver github.com/hashicorp/nomad/client/driver/env github.com/hashicorp/nomad/client/driver/executor github.com/hashicorp/nomad/client/driver/logging github.com/hashicorp/nomad/client/driver/structs github.com/hashicorp/nomad/client/fingerprint github.com/hashicorp/nomad/client/getter github.com/hashicorp/nomad/client/testutil github.com/hashicorp/nomad/command github.com/hashicorp/nomad/command/agent github.com/hashicorp/nomad/helper/args github.com/hashicorp/nomad/helper/discover github.com/hashicorp/nomad/helper/fields github.com/hashicorp/nomad/helper/flag-slice github.com/hashicorp/nomad/helper/gated-writer github.com/hashicorp/nomad/helper/testtask github.com/hashicorp/nomad/jobspec github.com/hashicorp/nomad/nomad github.com/hashicorp/nomad/nomad/mock github.com/hashicorp/nomad/nomad/state github.com/hashicorp/nomad/nomad/structs github.com/hashicorp/nomad/nomad/watch github.com/hashicorp/nomad/scheduler github.com/hashicorp/nomad/testutil returned exit code 2
  debian/rules:11: recipe for target 'build' failed
  make: *** [build] Error 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: nomad.0.3.2+dfsg-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 13281 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160713/f375cf98/attachment.obj>


More information about the Reproducible-builds mailing list