Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElasticSearch not working with Bazel in windows #23698

Closed
carolinasolfernandez opened this issue Sep 20, 2024 · 1 comment
Closed

ElasticSearch not working with Bazel in windows #23698

carolinasolfernandez opened this issue Sep 20, 2024 · 1 comment
Assignees
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team type: bug untriaged

Comments

@carolinasolfernandez
Copy link

Description of the bug:

When executing bazel with an elastic search dependency:

ERROR: C:/users/caros/_bazel_caros/5stqozjs/external/com_github_elastic_go_elasticsearch_v7/esapi/BUILD.bazel:3:11: GoCompilePkg external/com_github_elastic_go_elasticsearch_v7/esapi/esapi.a failed: (Exit 1): builder.exe failed: error executing command (from target @com_github_elastic_go_elasticsearch_v7//esapi:esapi) bazel-out\x64_windows-opt-exec-2B5CBBC6\bin\external\go_sdk\builder.exe -param=bazel-out/x64_windows-fastbuild/bin/external/com_github_elastic_go_elasticsearch_v7/esapi/esapi.a-0.params
<unknown line number>: internal compiler error: panic: badly formatted input

Which category does this issue belong to?

Local Execution

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

include in the build:
"@com_github_elastic_go_elasticsearch_v7//:go_default_library",
run with bazel

Which operating system are you running Bazel on?

Windows 11

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@tjgq
Copy link
Contributor

tjgq commented Sep 20, 2024

That looks like a problem with the Go compiler or the Go rules, not with Bazel. Try filing an issue against https://github.com/bazelbuild/rules_go?

@iancha1992 iancha1992 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team type: bug untriaged
Projects
None yet
Development

No branches or pull requests

5 participants