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

Turbine build issue with Micronaut #14142

Closed
sgammon opened this issue Oct 20, 2021 · 4 comments
Closed

Turbine build issue with Micronaut #14142

sgammon opened this issue Oct 20, 2021 · 4 comments
Labels
P2 We'll consider working on this in future. (Assignee optional) stale Issues or PRs that are stale (no activity for 30 days) team-Rules-Java Issues for Java rules type: bug

Comments

@sgammon
Copy link

sgammon commented Oct 20, 2021

ATTENTION! Please read and follow:

  • if this is a question about how to build / test / query / deploy using Bazel, or a discussion starter, send it to bazel-discuss@googlegroups.com
  • if this is a bug or feature request, fill the form below as best as you can.

Description of the problem / feature request:

Micronaut performs annotation processing to facilitate pre-wired DI. Through their TypeElementVisitorProcessor.java#L432, when Turbine is active via --java_header_compilation, a call is made to TurbineElements.java#L293, which promptly throws an UnsupportedOperationException.

Feature requests: what underlying problem are you trying to solve with this feature?

I am trying to get Turbine to work with Micronaut

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

  1. git clone git@github.com:sgammon/elide.git -b turbine-repro && cd ./elide
  2. build via bazel build //java/...
  3. after a short time, the error above is thrown

What operating system are you running Bazel on?

macOS Big Sur 11.6

What's the output of bazel info release?

> bazel info release
release 4.2.1

> bazel version
Build label: 4.2.1
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Aug 30 15:24:28 2021 (1630337068)
Build timestamp: 1630337068
Build timestamp as int: 1630337068

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

N/A

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

N/A

Have you found anything relevant by searching the web?

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

Cross-filed with Micronaut team at micronaut-projects/micronaut-core#6381

copybara-service bot pushed a commit to google/turbine that referenced this issue Oct 23, 2021
Hiding for fields, classes, and methods is defined in
https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html

bazelbuild/bazel#14142

PiperOrigin-RevId: 404680710
copybara-service bot pushed a commit to google/turbine that referenced this issue Oct 25, 2021
Hiding for fields, classes, and methods is defined in
https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html

bazelbuild/bazel#14142

PiperOrigin-RevId: 404680710
copybara-service bot pushed a commit to google/turbine that referenced this issue Oct 25, 2021
Hiding for fields, classes, and methods is defined in
https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html

bazelbuild/bazel#14142

PiperOrigin-RevId: 404680710
copybara-service bot pushed a commit to google/turbine that referenced this issue Oct 25, 2021
Hiding for fields, classes, and methods is defined in
https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html

bazelbuild/bazel#14142

PiperOrigin-RevId: 405438970
cushon added a commit to cushon/bazel that referenced this issue Oct 25, 2021
bazel-io pushed a commit that referenced this issue Nov 9, 2021
google/turbine@157c076

#14142

Partial commit for third_party/*, see #14163.

Signed-off-by: Tony Aiuto <aiuto@google.com>
@comius
Copy link
Contributor

comius commented Nov 24, 2021

@sgammon is this issue resolve if you use java_tools 11.6 https://github.com/bazelbuild/java_tools/releases/tag/java_v11.6?

@comius comius added P2 We'll consider working on this in future. (Assignee optional) type: bug and removed type: support / not a bug (process) untriaged labels Nov 24, 2021
@sgammon
Copy link
Author

sgammon commented Dec 27, 2021

@comius yes! the build now completes on that branch for me

@github-actions
Copy link

Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label Jun 13, 2023
@github-actions
Copy link

This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (@bazelbuild/triage). Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) stale Issues or PRs that are stale (no activity for 30 days) team-Rules-Java Issues for Java rules type: bug
Projects
None yet
Development

No branches or pull requests

3 participants