istio / old_issues_repo

Deprecated issue-tracking repo, please post new issues or feature requests to istio/istio instead.
36 stars 9 forks source link

istioctl Build failure on s390x #94

Closed kadamvandita closed 6 years ago

kadamvandita commented 7 years ago

IStioctl build fails on s390x with below error: /home/test/.cache/bazel/_bazel_test/4c1a9bb7f44c542b6d45c435324cdab5/external/com_github_howeyc_gopass/BUILD.bazel:5:1: GoCompile external/com_github_howeyc_gopass/~normal~go_default_library~/github.com/howeyc/gopass.o failed (Exit 1): compile failed: error executing command (cd /home/test/.cache/bazel/_bazel_test/4c1a9bb7f44c542b6d45c435324cdab5/execroot/com_github_istio_pilot && \ exec env - \ GOARCH=s390x \ GOOS=linux \ GOROOT=/home/test/.cache/bazel/_bazel_test/4c1a9bb7f44c542b6d45c435324cdab5/external/go1_8_3_linux_s390x \ bazel-out/host/bin/external/io_bazel_rules_go/go/tools/builders/compile external/go1_8_3_linux_s390x/bin/go -src external/com_github_howeyc_gopass/pass.go -src external/com_github_howeyc_gopass/terminal.go -dep golang.org/x/crypto/ssh/terminal -I 'bazel-out/local-fastbuild/bin/external/org_golang_x_crypto/ssh/terminal/~normal~go_default_library~/' -o 'bazel-out/local-fastbuild/bin/external/com_github_howeyc_gopass/~normal~go_default_library~/github.com/howeyc/gopass.o' -trimpath . -I . --)

Use --sandbox_debug to see verbose messages from the sandbox. external/com_github_howeyc_gopass/terminal.go:8: undefined: terminal.State 2017/10/11 10:01:44 error running compiler: exit status 1 Target //cmd/istioctl:istioctl failed to build

Facing error on s390x

ayj commented 7 years ago

/cc @rshriram @linsun from IBM to help answer s390 specific build questions

linsun commented 7 years ago

sorry while I do work for IBM, I don't have any insight for this. Can you help us check if this is a generic bazel build issue for specify istioctl build issue?

costinm commented 7 years ago

I suggest trying 'dep ensure' and building with the go tool directly, to find if it's a go or bazel problem. I suspect gopass is the problem, we'll need to find what other dep brings it in and if we can get rid of it, itstioctl is not asking for passwords.

kadamvandita commented 7 years ago

tried dep ensure.build went ahead.but now stuck @ ERROR: error loading package 'vendor/github.com/googleapis/googleapis/google/monitoring/v3': Extension file not found. Unable to load package for '@submodule_grpc//bazel:grpc_build_system.bzl': The repository could not be resolved.

cmoulliard commented 6 years ago

I'm facing the same issue if I try to build istio 0.3.0 (git tag) on macos using :

go env

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/dabou/Code/go-workspace"
GORACE=""
GOROOT="/usr/local/opt/go/libexec"
GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/56/dtp67r4n1hv79q2hrh_dbwcc0000gn/T/go-build127466491=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

Gopkg.lock are in sync with imports and Gopkg.toml

dep ensure -v -dry-run
Gopkg.lock was already in sync with imports and Gopkg.toml
Would have written the following 98 projects to the vendor directory:
(1/98) cloud.google.com/go@v0.17.0
(2/98) github.com/Azure/go-autorest@v9.5.1
(3/98) github.com/PuerkitoBio/purell@v1.1.0
(4/98) github.com/PuerkitoBio/urlesc@master
(5/98) github.com/apache/thrift@0.10.0
(6/98) github.com/aws/aws-sdk-go@v1.12.44
(7/98) github.com/beorn7/perks@master
(8/98) github.com/cactus/go-statsd-client@v3.1.0
(9/98) github.com/codahale/hdrhistogram@master
(10/98) github.com/coreos/go-oidc@v2
(11/98) github.com/cpuguy83/go-md2man@v1.0.7
(12/98) github.com/davecgh/go-spew@v1.1.0
(13/98) github.com/dgrijalva/jwt-go@v3.1.0
(14/98) github.com/emicklei/go-restful@v2.4.0
(15/98) github.com/emicklei/go-restful-swagger12@1.0.1
(16/98) github.com/fullsailor/pkcs7@master
(17/98) github.com/ghodss/yaml@v1.0.0
(18/98) github.com/go-ini/ini@v1.32.0
(19/98) github.com/go-openapi/jsonpointer@master
(20/98) github.com/go-openapi/jsonreference@master
(21/98) github.com/go-openapi/spec@master
(22/98) github.com/go-openapi/swag@master
(23/98) github.com/gogo/protobuf@v0.5
(24/98) github.com/golang/glog@master
(25/98) github.com/golang/groupcache@master
(26/98) github.com/golang/mock@v1.0.0
(27/98) github.com/golang/protobuf@master
(28/98) github.com/golang/sync@master
(29/98) github.com/google/gofuzz@master
(30/98) github.com/google/uuid@0.2
(31/98) github.com/googleapis/gax-go@v2.0.0
(32/98) github.com/googleapis/gnostic@v0.1.0
(33/98) github.com/googleapis/googleapis (from https://github.com/costinm/googleapis.git)@master
(34/98) github.com/gorilla/context@v1.1
(35/98) github.com/gorilla/mux@v1.6.0
(36/98) github.com/gorilla/websocket@v1.2.0
(37/98) github.com/grpc-ecosystem/go-grpc-middleware@better_docs
(38/98) github.com/grpc-ecosystem/go-grpc-prometheus@v1.1
(39/98) github.com/grpc-ecosystem/grpc-opentracing@master
(40/98) github.com/hashicorp/consul@v1.0.1
(41/98) github.com/hashicorp/errwrap@master
(42/98) github.com/hashicorp/go-cleanhttp@master
(43/98) github.com/hashicorp/go-multierror@master
(44/98) github.com/hashicorp/go-rootcerts@master
(45/98) github.com/hashicorp/golang-lru@master
(46/98) github.com/hashicorp/serf@v0.8.1
(47/98) github.com/howeyc/fsnotify@v0.9.0
(48/98) github.com/howeyc/gopass@master
(49/98) github.com/imdario/mergo@0.2.4
(50/98) github.com/inconshreveable/mousetrap@v1.0
(51/98) github.com/jmespath/go-jmespath@0b12d6b5
(52/98) github.com/juju/ratelimit@master
(53/98) github.com/mailru/easyjson@master
(54/98) github.com/matttproud/golang_protobuf_extensions@v1.0.0
(55/98) github.com/mitchellh/go-homedir@master
(56/98) github.com/opentracing/opentracing-go@v1.0.2
(57/98) github.com/pborman/uuid@v1.1
(58/98) github.com/pkg/errors@v0.8.0
(59/98) github.com/pmezard/go-difflib@v1.0.0
(60/98) github.com/pquerna/cachecontrol@master
(61/98) github.com/prometheus/client_golang@v0.9.0-pre1
(62/98) github.com/prometheus/client_model@master
(63/98) github.com/prometheus/common@master
(64/98) github.com/prometheus/procfs@master
(65/98) github.com/russross/blackfriday@v1.5
(66/98) github.com/satori/go.uuid@v1.1.0
(67/98) github.com/spf13/cobra@v0.0.1
(68/98) github.com/spf13/pflag@v1.0.0
(69/98) github.com/stretchr/testify@v1.1.4
(70/98) github.com/uber/jaeger-client-go@v2.11.0
(71/98) github.com/uber/jaeger-lib@v1.2.1
(72/98) github.com/ugorji/go@708a42d246822952f38190a8d8c4e6b16a0e600c
(73/98) go.uber.org/atomic@v1.3.1
(74/98) go.uber.org/multierr@v1.1.0
(75/98) go.uber.org/zap@v1.7.1
(76/98) golang.org/x/crypto@master
(77/98) golang.org/x/net@master
(78/98) golang.org/x/oauth2@master
(79/98) golang.org/x/sync@master
(80/98) golang.org/x/sys@master
(81/98) golang.org/x/text@master
(82/98) golang.org/x/time@master
(83/98) golang.org/x/tools@master
(84/98) google.golang.org/api@master
(85/98) google.golang.org/appengine@v1.0.0
(86/98) google.golang.org/genproto@master
(87/98) google.golang.org/grpc@f92cdcd7dcdc69e81b2d7b338479a19a8723cfa3
(88/98) gopkg.in/inf.v0@v0.9.0
(89/98) gopkg.in/square/go-jose.v2@v2.1.3
(90/98) gopkg.in/yaml.v2@v2
(91/98) istio.io/api@cda38551dd4b693d703cae0e72b649a293550aba
(92/98) istio.io/fortio@6684bc54abfa793ee4beffe8b2a5b9ec83c782e3
(93/98) k8s.io/api@4d5cc6efc5e84aa19fb1bd3f911c16a6723c1bb7
(94/98) k8s.io/apiextensions-apiserver@c682349b0d1c12975d8e24a9799b66747255d7a5
(95/98) k8s.io/apimachinery@6134cb2da6d90597b0434e349f90f94fafc9ae51
(96/98) k8s.io/apiserver@149fc2228647cea28b0670c240ec582e985e8eda
(97/98) k8s.io/client-go@7c69e980210777a6292351ac6873de083526f08e
(98/98) k8s.io/ingress@0c6f15e372c831de52fcc393932540bb3a6d51b5

But build is failing

make build
bazel  build  //...
ERROR: error loading package 'vendor/github.com/googleapis/googleapis/google/monitoring/v3': Extension file not found. Unable to load package for '@submodule_grpc//bazel:grpc_build_system.bzl': The repository could not be resolved.
ERROR: error loading package 'vendor/github.com/googleapis/googleapis/google/monitoring/v3': Extension file not found. Unable to load package for '@submodule_grpc//bazel:grpc_build_system.bzl': The repository could not be resolved.
INFO: Elapsed time: 3.340s
make: *** [build] Error 1
costinm commented 6 years ago

make build is using bazel - which is not happy with the standard go vendor.

You can:

On Mon, Dec 11, 2017 at 9:48 PM, Charles Moulliard <notifications@github.com

wrote:

I'm facing issue if I try to build istio 0.3.0 (git tag) on macos using :

  • Build label: 0.7.0-homebrew
  • go version go1.9.2 darwin/amd64

go env

GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/dabou/Code/go-workspace" GORACE="" GOROOT="/usr/local/opt/go/libexec" GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/56/dtp67r4n1hv79q2hrh_dbwcc0000gn/T/go-build127466491=/tmp/go-build -gno-record-gcc-switches -fno-common" CXX="clang++" CGO_ENABLED="1" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config"

Gopkg.lock are in sync with imports and Gopkg.toml

dep ensure -v -dry-run Gopkg.lock was already in sync with imports and Gopkg.toml Would have written the following 98 projects to the vendor directory: (1/98) cloud.google.com/go@v0.17.0 (2/98 http://cloud.google.com/go@v0.17.0(2/98) github.com/Azure/go-autorest@v9.5.1 (3/98 http://github.com/Azure/go-autorest@v9.5.1(3/98) github.com/PuerkitoBio/purell@v1.1.0 (4/98 http://github.com/PuerkitoBio/purell@v1.1.0(4/98) github.com/PuerkitoBio/urlesc@master (5/98 http://github.com/PuerkitoBio/urlesc@master(5/98) github.com/apache/thrift@0.10.0 (6/98 http://github.com/apache/thrift@0.10.0(6/98) github.com/aws/aws-sdk-go@v1.12.44 (7/98 http://github.com/aws/aws-sdk-go@v1.12.44(7/98) github.com/beorn7/perks@master (8/98 http://github.com/beorn7/perks@master(8/98) github.com/cactus/go-statsd-client@v3.1.0 (9/98 http://github.com/cactus/go-statsd-client@v3.1.0(9/98) github.com/codahale/hdrhistogram@master (10/98 http://github.com/codahale/hdrhistogram@master(10/98) github.com/coreos/go-oidc@v2 (11/98 http://github.com/coreos/go-oidc@v2(11/98) github.com/cpuguy83/go-md2man@v1.0.7 (12/98 http://github.com/cpuguy83/go-md2man@v1.0.7(12/98) github.com/davecgh/go-spew@v1.1.0 (13/98 http://github.com/davecgh/go-spew@v1.1.0(13/98) github.com/dgrijalva/jwt-go@v3.1.0 (14/98 http://github.com/dgrijalva/jwt-go@v3.1.0(14/98) github.com/emicklei/go-restful@v2.4.0 (15/98 http://github.com/emicklei/go-restful@v2.4.0(15/98) github.com/emicklei/go-restful-swagger12@1.0.1 (16/98 http://github.com/emicklei/go-restful-swagger12@1.0.1(16/98) github.com/fullsailor/pkcs7@master (17/98 http://github.com/fullsailor/pkcs7@master(17/98) github.com/ghodss/yaml@v1.0.0 (18/98 http://github.com/ghodss/yaml@v1.0.0(18/98) github.com/go-ini/ini@v1.32.0 (19/98 http://github.com/go-ini/ini@v1.32.0(19/98) github.com/go-openapi/jsonpointer@master (20/98 http://github.com/go-openapi/jsonpointer@master(20/98) github.com/go-openapi/jsonreference@master (21/98 http://github.com/go-openapi/jsonreference@master(21/98) github.com/go-openapi/spec@master (22/98 http://github.com/go-openapi/spec@master(22/98) github.com/go-openapi/swag@master (23/98 http://github.com/go-openapi/swag@master(23/98) github.com/gogo/protobuf@v0.5 (24/98 http://github.com/gogo/protobuf@v0.5(24/98) github.com/golang/glog@master (25/98 http://github.com/golang/glog@master(25/98) github.com/golang/groupcache@master (26/98 http://github.com/golang/groupcache@master(26/98) github.com/golang/mock@v1.0.0 (27/98 http://github.com/golang/mock@v1.0.0(27/98) github.com/golang/protobuf@master (28/98 http://github.com/golang/protobuf@master(28/98) github.com/golang/sync@master (29/98 http://github.com/golang/sync@master(29/98) github.com/google/gofuzz@master (30/98 http://github.com/google/gofuzz@master(30/98) github.com/google/uuid@0.2 (31/98 http://github.com/google/uuid@0.2(31/98) github.com/googleapis/gax-go@v2.0.0 (32/98 http://github.com/googleapis/gax-go@v2.0.0(32/98) github.com/googleapis/gnostic@v0.1.0 (33/98 http://github.com/googleapis/gnostic@v0.1.0(33/98) github.com/googleapis/googleapis (from https://github.com/costinm/googleapis.git)@master (34/98 https://github.com/costinm/googleapis.git)@master(34/98) github.com/gorilla/context@v1.1 (35/98 http://github.com/gorilla/context@v1.1(35/98) github.com/gorilla/mux@v1.6.0 (36/98 http://github.com/gorilla/mux@v1.6.0(36/98) github.com/gorilla/websocket@v1.2.0 (37/98 http://github.com/gorilla/websocket@v1.2.0(37/98) github.com/grpc-ecosystem/go-grpc-middleware@better_docs (38/98 http://github.com/grpc-ecosystem/go-grpc-middleware@better_docs(38/98) github.com/grpc-ecosystem/go-grpc-prometheus@v1.1 (39/98 http://github.com/grpc-ecosystem/go-grpc-prometheus@v1.1(39/98) github.com/grpc-ecosystem/grpc-opentracing@master (40/98 http://github.com/grpc-ecosystem/grpc-opentracing@master(40/98) github.com/hashicorp/consul@v1.0.1 (41/98 http://github.com/hashicorp/consul@v1.0.1(41/98) github.com/hashicorp/errwrap@master (42/98 http://github.com/hashicorp/errwrap@master(42/98) github.com/hashicorp/go-cleanhttp@master (43/98 http://github.com/hashicorp/go-cleanhttp@master(43/98) github.com/hashicorp/go-multierror@master (44/98 http://github.com/hashicorp/go-multierror@master(44/98) github.com/hashicorp/go-rootcerts@master (45/98 http://github.com/hashicorp/go-rootcerts@master(45/98) github.com/hashicorp/golang-lru@master (46/98 http://github.com/hashicorp/golang-lru@master(46/98) github.com/hashicorp/serf@v0.8.1 (47/98 http://github.com/hashicorp/serf@v0.8.1(47/98) github.com/howeyc/fsnotify@v0.9.0 (48/98 http://github.com/howeyc/fsnotify@v0.9.0(48/98) github.com/howeyc/gopass@master (49/98 http://github.com/howeyc/gopass@master(49/98) github.com/imdario/mergo@0.2.4 (50/98 http://github.com/imdario/mergo@0.2.4(50/98) github.com/inconshreveable/mousetrap@v1.0 (51/98 http://github.com/inconshreveable/mousetrap@v1.0(51/98) github.com/jmespath/go-jmespath@0b12d6b5 (52/98 http://github.com/jmespath/go-jmespath@0b12d6b5(52/98) github.com/juju/ratelimit@master (53/98 http://github.com/juju/ratelimit@master(53/98) github.com/mailru/easyjson@master (54/98 http://github.com/mailru/easyjson@master(54/98) github.com/matttproud/golang_protobuf_extensions@v1.0.0 (55/98 http://github.com/matttproud/golang_protobuf_extensions@v1.0.0(55/98) github.com/mitchellh/go-homedir@master (56/98 http://github.com/mitchellh/go-homedir@master(56/98) github.com/opentracing/opentracing-go@v1.0.2 (57/98 http://github.com/opentracing/opentracing-go@v1.0.2(57/98) github.com/pborman/uuid@v1.1 (58/98 http://github.com/pborman/uuid@v1.1(58/98) github.com/pkg/errors@v0.8.0 (59/98 http://github.com/pkg/errors@v0.8.0(59/98) github.com/pmezard/go-difflib@v1.0.0 (60/98 http://github.com/pmezard/go-difflib@v1.0.0(60/98) github.com/pquerna/cachecontrol@master (61/98 http://github.com/pquerna/cachecontrol@master(61/98) github.com/prometheus/client_golang@v0.9.0-pre1 (62/98 http://github.com/prometheus/client_golang@v0.9.0-pre1(62/98) github.com/prometheus/client_model@master (63/98 http://github.com/prometheus/client_model@master(63/98) github.com/prometheus/common@master (64/98 http://github.com/prometheus/common@master(64/98) github.com/prometheus/procfs@master (65/98 http://github.com/prometheus/procfs@master(65/98) github.com/russross/blackfriday@v1.5 (66/98 http://github.com/russross/blackfriday@v1.5(66/98) github.com/satori/go.uuid@v1.1.0 (67/98 http://github.com/satori/go.uuid@v1.1.0(67/98) github.com/spf13/cobra@v0.0.1 (68/98 http://github.com/spf13/cobra@v0.0.1(68/98) github.com/spf13/pflag@v1.0.0 (69/98 http://github.com/spf13/pflag@v1.0.0(69/98) github.com/stretchr/testify@v1.1.4 (70/98 http://github.com/stretchr/testify@v1.1.4(70/98) github.com/uber/jaeger-client-go@v2.11.0 (71/98 http://github.com/uber/jaeger-client-go@v2.11.0(71/98) github.com/uber/jaeger-lib@v1.2.1 (72/98 http://github.com/uber/jaeger-lib@v1.2.1(72/98) github.com/ugorji/go@708a42d246822952f38190a8d8c4e6b16a0e600c (73/98 http://github.com/ugorji/go@708a42d246822952f38190a8d8c4e6b16a0e600c(73/98) go.uber.org/atomic@v1.3.1 (74/98 http://go.uber.org/atomic@v1.3.1(74/98) go.uber.org/multierr@v1.1.0 (75/98 http://go.uber.org/multierr@v1.1.0(75/98) go.uber.org/zap@v1.7.1 (76/98 http://go.uber.org/zap@v1.7.1(76/98) golang.org/x/crypto@master (77/98 http://golang.org/x/crypto@master(77/98) golang.org/x/net@master (78/98 http://golang.org/x/net@master(78/98) golang.org/x/oauth2@master (79/98 http://golang.org/x/oauth2@master(79/98) golang.org/x/sync@master (80/98 http://golang.org/x/sync@master(80/98) golang.org/x/sys@master (81/98 http://golang.org/x/sys@master(81/98) golang.org/x/text@master (82/98 http://golang.org/x/text@master(82/98) golang.org/x/time@master (83/98 http://golang.org/x/time@master(83/98) golang.org/x/tools@master (84/98 http://golang.org/x/tools@master(84/98) google.golang.org/api@master (85/98 http://google.golang.org/api@master(85/98) google.golang.org/appengine@v1.0.0 (86/98 http://google.golang.org/appengine@v1.0.0(86/98) google.golang.org/genproto@master (87/98 http://google.golang.org/genproto@master(87/98) google.golang.org/grpc@f92cdcd7dcdc69e81b2d7b338479a19a8723cfa3 (88/98 http://google.golang.org/grpc@f92cdcd7dcdc69e81b2d7b338479a19a8723cfa3(88/98) gopkg.in/inf.v0@v0.9.0 (89/98 http://gopkg.in/inf.v0@v0.9.0(89/98) gopkg.in/square/go-jose.v2@v2.1.3 (90/98 http://gopkg.in/square/go-jose.v2@v2.1.3(90/98) gopkg.in/yaml.v2@v2 (91/98 http://gopkg.in/yaml.v2@v2(91/98) istio.io/api@cda38551dd4b693d703cae0e72b649a293550aba (92/98 http://istio.io/api@cda38551dd4b693d703cae0e72b649a293550aba(92/98) istio.io/fortio@6684bc54abfa793ee4beffe8b2a5b9ec83c782e3 (93/98 http://istio.io/fortio@6684bc54abfa793ee4beffe8b2a5b9ec83c782e3(93/98) k8s.io/api@4d5cc6efc5e84aa19fb1bd3f911c16a6723c1bb7 (94/98 http://k8s.io/api@4d5cc6efc5e84aa19fb1bd3f911c16a6723c1bb7(94/98) k8s.io/apiextensions-apiserver@c682349b0d1c12975d8e24a9799b66747255d7a5 (95/98 http://k8s.io/apiextensions-apiserver@c682349b0d1c12975d8e24a9799b66747255d7a5(95/98) k8s.io/apimachinery@6134cb2da6d90597b0434e349f90f94fafc9ae51 (96/98 http://k8s.io/apimachinery@6134cb2da6d90597b0434e349f90f94fafc9ae51(96/98) k8s.io/apiserver@149fc2228647cea28b0670c240ec582e985e8eda (97/98 http://k8s.io/apiserver@149fc2228647cea28b0670c240ec582e985e8eda(97/98) k8s.io/client-go@7c69e980210777a6292351ac6873de083526f08e (98/98 http://k8s.io/client-go@7c69e980210777a6292351ac6873de083526f08e(98/98) k8s.io/ingress@0c6f15e372c831de52fcc393932540bb3a6d51b5

But build is failing

make build bazel build //... ERROR: error loading package 'vendor/github.com/googleapis/googleapis/google/monitoring/v3': Extension file not found. Unable to load package for '@submodule_grpc//bazel:grpc_build_system.bzl': The repository could not be resolved. ERROR: error loading package 'vendor/github.com/googleapis/googleapis/google/monitoring/v3': Extension file not found. Unable to load package for '@submodule_grpc//bazel:grpc_build_system.bzl': The repository could not be resolved. INFO: Elapsed time: 3.340s make: *** [build] Error 1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/istio/issues/issues/94#issuecomment-350952097, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFI6ufH07yvBoLcv1YQN1ujzUCSknZ3ks5s_hOWgaJpZM4P1QdR .

cmoulliard commented 6 years ago

bazel fails too if I try to build pilot by example

make clean
=> cleaning...
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.

bazel build //pilot/...
ERROR: /Users/dabou/Code/go-workspace/src/istio.io/istio/pilot/platform/kube/BUILD:3:1: no such package '@io_k8s_client_go//rest': BUILD file not found on package path and referenced by '//pilot/platform/kube:go_default_library'.
ERROR: Analysis of target '//pilot/platform/kube:go_default_library' failed; build aborted: no such package '@io_k8s_client_go//rest': BUILD file not found on package path.
INFO: Elapsed time: 5.450s

What is the syntax to be used to build pilot, mixer, ... using go ?

GregHanson commented 6 years ago

istio no longer relies on bazel to build, please use make istioctl

for mac related builds, please refer to https://github.com/istio/istio/issues/576 as this is an ongoing problem