Bug#1108585: lombok-ast: FTBFS with default Java 25

Vladimir Petko vpa1977 at gmail.com
Tue Jul 1 05:23:41 BST 2025


Source: lombok-ast
Version: 0.2+ds-7
Severity: normal
Tags: ftbfs
Usertags: default-java25

Dear Maintainers,

The package lombok-ast ftbfs with default Java 25.
The relevant part of the build log:
---------------
templateProcessor:
[compile:mkdir] Created dir: /<<PKGBUILDDIR>>/build/templateProcessor
[compile:javac] Compiling 10 source files to /<<PKGBUILDDIR>>/build/templateProcessor
[ivy:compile] warning: [options] bootstrap class path is not set in conjunction with -source 8
[ivy:compile]   not setting the bootstrap class path may lead to class files that cannot run on JDK 8
[ivy:compile]     --release 8 is recommended instead of -source 8 -target 1.8 because it sets the bootstrap class path automatically
[ivy:compile] warning: [options] source value 8 is obsolete and will be removed in a future release
[ivy:compile] warning: [options] target value 8 is obsolete and will be removed in a future release
[ivy:compile] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by lombok.permit.Permit
WARNING: Please consider reporting this to the maintainers of class lombok.permit.Permit
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[ivy:compile] 4 warnings
[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 lombok.javac.apt.LombokProcessor.placePostCompileAndDontMakeForceRoundDummiesHook(LombokProcessor.java:174)
[ivy:compile] 	at lombok.javac.apt.LombokProcessor.init(LombokProcessor.java:96)
[ivy:compile] 	at lombok.core.AnnotationProcessor$JavacDescriptor.want(AnnotationProcessor.java:160)
[ivy:compile] 	at lombok.core.AnnotationProcessor.init(AnnotationProcessor.java:213)
[ivy:compile] 	at lombok.launch.AnnotationProcessorHider$AnnotationProcessor.init(AnnotationProcessor.java:64)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:634)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:760)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:856)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1199)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1312)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1277)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:953)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:319)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178)
[ivy:compile] 	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:66)
[ivy:compile] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[ivy:compile] 	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[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:1352)
[ivy:compile] 	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1092)
[ivy:compile] 	at com.zwitserloot.ivyplusplus.Compile.execute(Unknown Source)
[ivy:compile] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
[ivy:compile] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[ivy:compile] 	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[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:818)
[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.NoSuchFieldException: com.sun.tools.javac.code.TypeTag :: UNKNOWN
[ivy:compile] 	at lombok.permit.Permit.getField(Permit.java:144)
[ivy:compile] 	at lombok.javac.JavacTreeMaker$SchroedingerType.getFieldCached(JavacTreeMaker.java:171)
[ivy:compile] 	at lombok.javac.JavacTreeMaker$TypeTag.typeTag(JavacTreeMaker.java:259)
[ivy:compile] 	at lombok.javac.Javac.<clinit>(Javac.java:186)
[ivy:compile] 	... 36 more

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:94: Compile failed; see the compiler error output for details.
---------------


-- System Information:
Debian Release: trixie/sid
  APT prefers plucky-updates
  APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.14.0-22-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-java-maintainers mailing list