Helm: Impossible de construire la barre

Créé le 12 août 2016  ·  3Commentaires  ·  Source: helm/helm

J'ai suivi les instructions https://github.com/kubernetes/helm/blob/master/README.md pour construire à partir de la source et cela échoue. Voici ma sortie du build.

~ aws_kubernetes  naveen<strong i="7">@GuessWho</strong>  ~/code/helm   master make bootstrap build
glide install
[WARN] The name listed in the config file (k8s.io/helm) does not match the current location (.)
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for github.com/coreos/go-oidc.
[INFO] Fetching updates for github.com/coreos/go-systemd.
[INFO] Fetching updates for github.com/davecgh/go-spew.
[INFO] Fetching updates for github.com/docker/distribution.
[INFO] Fetching updates for github.com/aokoli/goutils.
[INFO] Fetching updates for github.com/docker/docker.
[INFO] Fetching updates for github.com/asaskevich/govalidator.
[INFO] Fetching updates for github.com/docker/engine-api.
[INFO] Fetching updates for github.com/docker/go-connections.
[INFO] Fetching updates for github.com/beorn7/perks.
[INFO] Fetching updates for github.com/docker/go-units.
[INFO] Fetching updates for github.com/blang/semver.
[INFO] Fetching updates for github.com/docker/spdystream.
[INFO] Fetching updates for github.com/emicklei/go-restful.
[INFO] Fetching updates for github.com/evanphx/json-patch.
[INFO] Fetching updates for github.com/ghodss/yaml.
[INFO] Fetching updates for github.com/gogo/protobuf.
[INFO] Fetching updates for github.com/golang/glog.
[INFO] Fetching updates for github.com/golang/groupcache.
[INFO] Fetching updates for github.com/coreos/pkg.
[INFO] Fetching updates for github.com/golang/protobuf.
[INFO] Fetching updates for github.com/google/cadvisor.
[INFO] Fetching updates for github.com/google/gofuzz.
[INFO] Fetching updates for github.com/gosuri/uitable.
[INFO] Fetching updates for github.com/imdario/mergo.
[INFO] Fetching updates for github.com/inconshreveable/mousetrap.
[INFO] Fetching updates for github.com/jonboulle/clockwork.
[INFO] Fetching updates for github.com/juju/ratelimit.
[INFO] Fetching updates for github.com/Masterminds/semver.
[INFO] Fetching updates for github.com/Masterminds/sprig.
[INFO] Fetching updates for github.com/mattn/go-runewidth.
[INFO] Fetching updates for github.com/matttproud/golang_protobuf_extensions.
[INFO] Fetching updates for github.com/opencontainers/runc.
[INFO] Fetching updates for github.com/pborman/uuid.
[INFO] Fetching updates for github.com/prometheus/client_golang.
[INFO] Fetching updates for github.com/prometheus/client_model.
[INFO] Fetching updates for github.com/prometheus/common.
[INFO] Fetching updates for github.com/prometheus/procfs.
[INFO] Fetching updates for github.com/spf13/cobra.
[INFO] Fetching updates for github.com/spf13/pflag.
[INFO] Fetching updates for github.com/technosophos/moniker.
[INFO] Fetching updates for github.com/ugorji/go.
[INFO] Fetching updates for golang.org/x/net.
[INFO] Fetching updates for golang.org/x/oauth2.
[INFO] Fetching updates for google.golang.org/appengine.
[INFO] Fetching updates for google.golang.org/cloud.
[INFO] Fetching updates for google.golang.org/grpc.
[INFO] Fetching updates for gopkg.in/inf.v0.
[INFO] Fetching updates for gopkg.in/yaml.v2.
[INFO] Fetching updates for k8s.io/kubernetes.
[INFO] Fetching updates for speter.net/go/exp/math/dec/inf.
[INFO] Downloading dependencies. Please wait...
[INFO] Setting references.
[INFO] Setting version for github.com/beorn7/perks to 3ac7bf7a47d159a033b107610db8a1b6575507a4.
[INFO] Setting version for github.com/docker/spdystream to 449fdfce4d962303d702fec724ef0ad181c92528.
[INFO] Setting version for github.com/coreos/go-systemd to 4484981625c1a6a2ecb40a390fcb6a9bcfee76e3.
[INFO] Setting version for github.com/asaskevich/govalidator to 7664702784775e51966f0885f5cd27435916517b.
[INFO] Setting version for github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d.
[INFO] Setting version for github.com/docker/docker to 0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d.
[INFO] Setting version for github.com/docker/distribution to cd27f179f2c10c5d300e6d09025b538c475b0d51.
[INFO] Setting version for github.com/golang/glog to 44145f04b68cf362d9c4df2182967c2275eaefed.
[INFO] Setting version for github.com/ghodss/yaml to 73d445a93680fa1a78ae23a5839bad48f32ba1ee.
[INFO] Setting version for github.com/emicklei/go-restful to 7c47e2558a0bbbaba9ecab06bc6681e73028a28a.
[INFO] Setting version for github.com/gogo/protobuf to 82d16f734d6d871204a3feb1a73cb220cc92574c.
[INFO] Setting version for github.com/coreos/pkg to 7f080b6c11ac2d2347c3cd7521e810207ea1a041.
[INFO] Setting version for github.com/evanphx/json-patch to 465937c80b3c07a7c7ad20cc934898646a91c1de.
[INFO] Setting version for github.com/docker/go-connections to f549a9393d05688dff0992ef3efd8bbe6c628aeb.
[INFO] Setting version for github.com/coreos/go-oidc to 5cf2aa52da8c574d3aa4458f471ad6ae2240fe6b.
[INFO] Setting version for github.com/golang/groupcache to 604ed5785183e59ae2789449d89e73f3a2a77987.
[INFO] Setting version for github.com/aokoli/goutils to 9c37978a95bd5c709a15883b6242714ea6709e64.
[INFO] Setting version for github.com/jonboulle/clockwork to 3f831b65b61282ba6bece21b91beea2edc4c887a.
[INFO] Setting version for github.com/imdario/mergo to 6633656539c1639d9d78127b7d47c622b5d7b6dc.
[INFO] Setting version for github.com/golang/protobuf to f0a097ddac24fb00e07d2ac17f8671423f3ea47c.
[INFO] Setting version for github.com/google/gofuzz to bbcb9da2d746f8bdbd6a936686a0a6067ada0ec5.
[INFO] Setting version for github.com/docker/engine-api to dea108d3aa0c67d7162a3fd8aa65f38a430019fd.
[INFO] Setting version for github.com/blang/semver to 31b736133b98f26d5e078ec9eb591666edfd091f.
[INFO] Setting version for github.com/gosuri/uitable to 36ee7e946282a3fb1cfecd476ddc9b35d8847e42.
[INFO] Setting version for github.com/mattn/go-runewidth to d6bea18f789704b5f83375793155289da36a3c7f.
[INFO] Setting version for github.com/google/cadvisor to c2ea32971ae033041f0fb0f309b1dee94fd1d55f.
[INFO] Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO] Setting version for github.com/juju/ratelimit to 77ed1c8a01217656d2080ad51981f6e99adaa177.
[INFO] Setting version for github.com/opencontainers/runc to 7ca2aa4873aea7cb4265b1726acb24b90d8726c6.
[INFO] Setting version for github.com/Masterminds/semver to 808ed7761c233af2de3f9729a041d68c62527f3a.
[INFO] Setting version for github.com/prometheus/common to a6ab08426bb262e2d190097751f5cfd1cfdfd17d.
[INFO] Setting version for github.com/docker/go-units to 0bbddae09c5a5419a8c6dcdd7ff90da3d450393b.
[INFO] Setting version for github.com/Masterminds/sprig to abe09979bcb1ec0a50b2d7bbf67e6aaa11787417.
[INFO] Setting version for github.com/spf13/cobra to 6a8bd97bdb1fc0d08a83459940498ea49d3e8c93.
[INFO] Setting version for github.com/technosophos/moniker to 9f956786b91d9786ca11aa5be6104542fa911546.
[INFO] Setting version for github.com/pborman/uuid to ca53cad383cad2479bbba7f7a1a05797ec1386e4.
[INFO] Setting version for github.com/prometheus/client_model to fa8ad6fec33561be4280a8f0514318c79d7f6cb6.
[INFO] Setting version for github.com/ugorji/go to f4485b318aadd133842532f841dc205a8e339d74.
[INFO] Setting version for github.com/prometheus/client_golang to 3b78d7a77f51ccbc364d4bc170920153022cfd08.
[INFO] Setting version for github.com/spf13/pflag to 367864438f1b1a3c7db4da06a2f55b144e6784e0.
[INFO] Setting version for github.com/matttproud/golang_protobuf_extensions to fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a.
[INFO] Setting version for github.com/prometheus/procfs to 490cc6eb5fa45bf8a8b7b73c8bc82a8160e8531d.
[INFO] Setting version for google.golang.org/cloud to eb47ba841d53d93506cfbfbc03927daf9cc48f88.
[INFO] Setting version for speter.net/go/exp/math/dec/inf to 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4.
[INFO] Setting version for google.golang.org/appengine to 12d5545dc1cfa6047a286d5e853841b6471f4c19.
[INFO] Setting version for golang.org/x/oauth2 to b5adcc2dcdf009d0391547edc6ecbaff889f5bb9.
[INFO] Setting version for golang.org/x/net to fb93926129b8ec0056f2f458b1f519654814edf0.
[INFO] Setting version for google.golang.org/grpc to dec33edc378cf4971a2741cfd86ed70a644d6ba3.
[INFO] Setting version for gopkg.in/inf.v0 to 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4.
[INFO] Setting version for gopkg.in/yaml.v2 to a83829b6f1293c91addabc89d0571c246397bbf4.
[INFO] Setting version for k8s.io/kubernetes to a0bfee0d3899d2b91530552a536405c1fe1a1d2a.
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
GOBIN=/Users/naveen/code/helm/bin go install  -tags '' -ldflags ' -X k8s.io/helm/pkg/version.Version=v2.0.0-alpha.2+e4c6038' k8s.io/helm/cmd/...
warning: "k8s.io/helm/cmd/..." matched no packages

Une idée de ce qui ne va pas ? Merci

Commentaire le plus utile

J'ai compris que la barre devrait être dans ce répertoire
$GOPATH/src/k8s.io/helm pour que cela fonctionne.

Tous les 3 commentaires

J'ai compris que la barre devrait être dans ce répertoire
$GOPATH/src/k8s.io/helm pour que cela fonctionne.

dit à juste titre. De plus, pour ceux qui essaient de compiler pour la toute première fois, assurez-vous que GOPATH set et glide sont installés.

Pour être clair, le référentiel helm cloné doit être sous $GOPATH/src/k8s.io/helm. Après la construction, vous devriez voir le fichier binaire helm sous le dossier $GOPATH/src/k8s.io/helm/bin.

Si vous le placez dans un autre répertoire comme /root/helm, vous ne pouvez pas construire helm.

Cette page vous a été utile?
0 / 5 - 0 notes