You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the GO version is 1.10.3 from https://golang.org/dl/ for ppc64le, and the OS is Ubuntu 16.04.
Am I missing anything? Any hint to pinpoint the error will be appreciated.
ERROR details:
/cache/_bazel_root/b570b5ccd0454dc9af9f65ab1833764d/external/com_lyft_protoc_gen_validate/validate/BUILD:35:1: no such package '@com_github_golang_protobuf//proto': no such package '@io_bazel_rules_go_repository_tools//': failed to build gazelle: # github.com/bazelbuild/bazel-gazelle/cmd/gazelle
/cache/_bazel_root/b570b5ccd0454dc9af9f65ab1833764d/external/go_sdk/pkg/tool/linux_ppc64le/link: running gcc failed: exec: "gcc": executable file not found in $PATH
and referenced by '@com_lyft_protoc_gen_validate//validate:go_default_library'
ERROR: Analysis of target '//source/exe:envoy-static' failed; build aborted: no such package '@com_github_golang_protobuf//proto': no such package '@io_bazel_rules_go_repository_tools//': failed to build gazelle: # github.com/bazelbuild/bazel-gazelle/cmd/gazelle
/cache/_bazel_root/b570b5ccd0454dc9af9f65ab1833764d/external/go_sdk/pkg/tool/linux_ppc64le/link: running gcc failed: exec: "gcc": executable file not found in $PATH
The text was updated successfully, but these errors were encountered:
Sorry I didn't see these! i'll fix my mail notifications. There's a problem in the rules_go where the PATH needs to be fixed for non-x86 architectures. Here's the upstream patch: bazel-contrib/bazel-gazelle#242
However, for earlier versions of rules_go, that logic was in a different place. Here's the workaround for your sandbox in the meantime:
vim $(bazel info output_base)/external/io_bazel_rules_go/go/private/repository_tools.bzl
I am using the following command line to build envoy on ppc64le Power 8:
with the same WORKSPACE
and the GO version is 1.10.3 from https://golang.org/dl/ for ppc64le, and the OS is Ubuntu 16.04.
Am I missing anything? Any hint to pinpoint the error will be appreciated.
ERROR details:
/cache/_bazel_root/b570b5ccd0454dc9af9f65ab1833764d/external/com_lyft_protoc_gen_validate/validate/BUILD:35:1: no such package '@com_github_golang_protobuf//proto': no such package '@io_bazel_rules_go_repository_tools//': failed to build gazelle: # github.com/bazelbuild/bazel-gazelle/cmd/gazelle
/cache/_bazel_root/b570b5ccd0454dc9af9f65ab1833764d/external/go_sdk/pkg/tool/linux_ppc64le/link: running gcc failed: exec: "gcc": executable file not found in $PATH
and referenced by '@com_lyft_protoc_gen_validate//validate:go_default_library'
ERROR: Analysis of target '//source/exe:envoy-static' failed; build aborted: no such package '@com_github_golang_protobuf//proto': no such package '@io_bazel_rules_go_repository_tools//': failed to build gazelle: # github.com/bazelbuild/bazel-gazelle/cmd/gazelle
/cache/_bazel_root/b570b5ccd0454dc9af9f65ab1833764d/external/go_sdk/pkg/tool/linux_ppc64le/link: running gcc failed: exec: "gcc": executable file not found in $PATH
The text was updated successfully, but these errors were encountered: