Your message dated Mon, 14 Nov 2022 23:50:36 +0200
with message-id <Y3K4LFqzb7yK9v21@localhost>
and subject line Re: Bug#981938: lombok-ast: FTBFS with OpenJDK 17: module
jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module
has caused the Debian Bug report #981938,
regarding lombok-ast: FTBFS with OpenJDK 17: module jdk.compiler does not
"opens com.sun.tools.javac.processing" to unnamed module
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
981938: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981938
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: lombok-ast
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
Usertags: default-java17
lombok-ast fails to build with OpenJDK 17:
templateProcessor:
[taskdef] Could not load definitions from resource
org/apache/ivy/ant/antlib.xml. It could not be found.
[compile:mkdir] Created dir: /<<PKGBUILDDIR>>/build/templateProcessor
[compile:javac] Compiling 10 source files to
/<<PKGBUILDDIR>>/build/templateProcessor
[ivy:compile] warning: [options] bootstrap class path not set in
conjunction with -source 8
[ivy:compile] 1 warning
[ivy:compile]
[ivy:compile]
[ivy:compile] An annotation processor threw an uncaught exception.
[ivy:compile] Consult the following stack trace for details.
[ivy:compile] java.lang.ExceptionInInitializerError
[ivy:compile] at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[ivy:compile] at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
[ivy:compile] at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[ivy:compile] at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:498)
[ivy:compile] at
java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
[ivy:compile] at
java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:350)
[ivy:compile] at java.base/java.lang.Class.newInstance(Class.java:642)
[ivy:compile] at
lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:103)
[ivy:compile] at
lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:165)
[ivy:compile] at
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:73)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:702)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:829)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:925)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1269)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1384)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1261)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:935)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:317)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:176)
[ivy:compile] at
jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
[ivy:compile] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ivy:compile] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
[ivy:compile] at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ivy:compile] at
java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ivy:compile] at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
[ivy:compile] at
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1388)
[ivy:compile] at
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1117)
[ivy:compile] at com.zwitserloot.ivyplusplus.Compile.execute(Unknown
Source)
[ivy:compile] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[ivy:compile] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ivy:compile] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
[ivy:compile] at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ivy:compile] at
java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ivy:compile] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
[ivy:compile] at org.apache.tools.ant.Task.perform(Task.java:350)
[ivy:compile] at org.apache.tools.ant.Target.execute(Target.java:449)
[ivy:compile] at org.apache.tools.ant.Target.performTasks(Target.java:470)
[ivy:compile] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
[ivy:compile] at
org.apache.tools.ant.Project.executeTarget(Project.java:1374)
[ivy:compile] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ivy:compile] at
org.apache.tools.ant.Project.executeTargets(Project.java:1264)
[ivy:compile] at org.apache.tools.ant.Main.runBuild(Main.java:827)
[ivy:compile] at org.apache.tools.ant.Main.startAnt(Main.java:223)
[ivy:compile] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
[ivy:compile] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
[ivy:compile] Caused by: java.lang.reflect.InaccessibleObjectException:
Unable to make field private
com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs
accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing"
to unnamed module @b016b4e
[ivy:compile] at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
[ivy:compile] at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
[ivy:compile] at
java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
[ivy:compile] at
java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
[ivy:compile] at
lombok.javac.apt.LombokProcessor.getFieldAccessor(LombokProcessor.java:116)
[ivy:compile] at
lombok.javac.apt.LombokProcessor.<clinit>(LombokProcessor.java:108)
[ivy:compile] ... 45 more
--- End Message ---
--- Begin Message ---
On Fri, Feb 05, 2021 at 10:21:38AM +0100, Emmanuel Bourg wrote:
> Source: lombok-ast
> Severity: important
> Tags: ftbfs sid bookworm
> User: [email protected]
> Usertags: default-java17
>
> lombok-ast fails to build with OpenJDK 17:
>
> templateProcessor:
> [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
> [compile:mkdir] Created dir: /<<PKGBUILDDIR>>/build/templateProcessor
> [compile:javac] Compiling 10 source files to
> /<<PKGBUILDDIR>>/build/templateProcessor
> [ivy:compile] warning: [options] bootstrap class path not set in
> conjunction with -source 8
> [ivy:compile] 1 warning
> [ivy:compile]
> [ivy:compile]
> [ivy:compile] An annotation processor threw an uncaught exception.
> [ivy:compile] Consult the following stack trace for details.
> [ivy:compile] java.lang.ExceptionInInitializerError
> [ivy:compile] at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> [ivy:compile] at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
> [ivy:compile] at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> [ivy:compile] at
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:498)
> [ivy:compile] at
> java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
> [ivy:compile] at
> java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:350)
> [ivy:compile] at java.base/java.lang.Class.newInstance(Class.java:642)
> [ivy:compile] at
> lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:103)
> [ivy:compile] at
> lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:165)
> [ivy:compile] at
> lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:73)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:702)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:829)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:925)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1269)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1384)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1261)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:935)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:317)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:176)
> [ivy:compile] at
> jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
> [ivy:compile] at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ivy:compile] at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
> [ivy:compile] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ivy:compile] at
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> [ivy:compile] at
> org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
> [ivy:compile] at
> org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1388)
> [ivy:compile] at
> org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1117)
> [ivy:compile] at com.zwitserloot.ivyplusplus.Compile.execute(Unknown
> Source)
> [ivy:compile] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> [ivy:compile] at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ivy:compile] at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
> [ivy:compile] at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ivy:compile] at
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> [ivy:compile] at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
> [ivy:compile] at org.apache.tools.ant.Task.perform(Task.java:350)
> [ivy:compile] at org.apache.tools.ant.Target.execute(Target.java:449)
> [ivy:compile] at
> org.apache.tools.ant.Target.performTasks(Target.java:470)
> [ivy:compile] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
> [ivy:compile] at
> org.apache.tools.ant.Project.executeTarget(Project.java:1374)
> [ivy:compile] at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> [ivy:compile] at
> org.apache.tools.ant.Project.executeTargets(Project.java:1264)
> [ivy:compile] at org.apache.tools.ant.Main.runBuild(Main.java:827)
> [ivy:compile] at org.apache.tools.ant.Main.startAnt(Main.java:223)
> [ivy:compile] at
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
> [ivy:compile] at
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
> [ivy:compile] Caused by: java.lang.reflect.InaccessibleObjectException:
> Unable to make field private
> com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs
> accessible: module jdk.compiler does not "opens
> com.sun.tools.javac.processing" to unnamed module @b016b4e
> [ivy:compile] at
> java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
> [ivy:compile] at
> java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
> [ivy:compile] at
> java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
> [ivy:compile] at
> java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
> [ivy:compile] at
> lombok.javac.apt.LombokProcessor.getFieldAccessor(LombokProcessor.java:116)
> [ivy:compile] at
> lombok.javac.apt.LombokProcessor.<clinit>(LombokProcessor.java:108)
> [ivy:compile] ... 45 more
Whatever caused this seems to be fixed:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lombok-ast.html
cu
Adrian
--- End Message ---