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

Bazel 7.0.0 & Lombok 1.18.30 issue #20702

Closed
liam-kincaid opened this issue Dec 30, 2023 · 3 comments
Closed

Bazel 7.0.0 & Lombok 1.18.30 issue #20702

liam-kincaid opened this issue Dec 30, 2023 · 3 comments
Labels
area-Bzlmod Bzlmod-specific PRs, issues, and feature requests team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug untriaged

Comments

@liam-kincaid
Copy link

liam-kincaid commented Dec 30, 2023

Description of the bug:

sample-1.0.0.tar.gz

I create a Bzlmod 7.0.0 with lombok 1.18.30 and Java 17
Why i do this, to have a custom "build" method with hibernate validation for an immutable entity

Archive contains a demo of my issue
Here is the issue during JAVA 17 compilation:

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging

src/main/java/entity/User.java:60: error: could not resolve element onParam_() in lombok.With
		@With(onParam_={
        ^
src/main/java/entity/User.java:63: error: could not resolve element onMethod_() in lombok.With
		}, onMethod_={
     ^
src/main/java/entity/User.java:68: error: could not resolve element onParam_() in lombok.With
		@With(onParam_={
        ^
src/main/java/entity/User.java:72: error: could not resolve element onMethod_() in lombok.With
		}, onMethod_={
     ^
src/main/java/entity/User.java:77: error: could not resolve element onParam_() in lombok.With
		@With(onParam_={
        ^
src/main/java/entity/User.java:82: error: could not resolve element onMethod_() in lombok.With
		@With(onMethod_={
        ^
<>: error: Turbine is not currently supported by lombok.

It seem to appear only with "onMethod_" and "onParam_" attribut with Lombok.
A pom.xml is also join and compilation & test are successfull

Which category does this issue belong to?

No response

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

No response

Which operating system are you running Bazel on?

Ubuntu 23.10

What is the output of bazel info release?

release 7.0.0

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 master; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

@sgowroji sgowroji added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. area-Bzlmod Bzlmod-specific PRs, issues, and feature requests labels Jan 2, 2024
@cushon
Copy link
Contributor

cushon commented Jan 2, 2024

Did this work for you with earlier Bazel versions? There are known pre-existing issues with Lombok: #12837

@liam-kincaid
Copy link
Author

liam-kincaid commented Jan 3, 2024

I have made test also with 6.3.2 with the same consequences.
It seam to be a duplicate if I understand. Right ?

As-you can see, a TGZ with the modification propose in #12837 is used

@cushon
Copy link
Contributor

cushon commented Jan 3, 2024

Thanks, yes, it sounds like a duplicate

@cushon cushon closed this as completed Jan 3, 2024
@fmeum fmeum closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Bzlmod Bzlmod-specific PRs, issues, and feature requests team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug untriaged
Projects
None yet
Development

No branches or pull requests

6 participants