Bug#997250: lombok-ast: FTBFS: [ivy:compile] /<<PKGBUILDDIR>>/src/ecjTransformer/lombok/ast/ecj/EcjTreeConverter.java:1125: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:16:36 BST 2021


Source: lombok-ast
Version: 0.2+ds-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p build
> cp -r src/main main_backup
> cp -r lombok.ast_generatedSource/* src/main/
> cp -r lombok.ast_generatedSource build
> ant dist
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> 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] Note: /<<PKGBUILDDIR>>/src/template/lombok/ast/template/TemplateProcessor.java uses or overrides a deprecated API.
> [ivy:compile] Note: Recompile with -Xlint:deprecation for details.
> [ivy:compile] 1 warning
> [compile:javac] Creating empty /<<PKGBUILDDIR>>/build/templateProcessor/lombok/ast/template/package-info.class
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/templateProcessor/META-INF
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/templateProcessor/META-INF/services
>       [jar] Building jar: /<<PKGBUILDDIR>>/build/templateProcessor.jar
> 
> compile:
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1611057397
> [compile:mkdir] Created dir: /<<PKGBUILDDIR>>/build/lombok.ast
> [compile:javac] Compiling 667 source files to /<<PKGBUILDDIR>>/build/lombok.ast
> [ivy:compile] warning: [options] bootstrap class path not set in conjunction with -source 6
> [ivy:compile] warning: [options] source value 6 is obsolete and will be removed in a future release
> [ivy:compile] warning: [options] target value 1.6 is obsolete and will be removed in a future release
> [ivy:compile] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:84: warning: AnnotationParser is internal proprietary API and may be removed in a future release
> [ivy:compile]         return AnnotationParser.annotationForMap(annoType,
> [ivy:compile]                ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:164: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]             if (!(value instanceof ExceptionProxy) &&
> [ivy:compile]                                    ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:165: warning: AnnotationType is internal proprietary API and may be removed in a future release
> [ivy:compile]                 !AnnotationType.invocationHandlerReturnType(returnClass)
> [ivy:compile]                  ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:201: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]                         if (value == null || value instanceof ExceptionProxy) {
> [ivy:compile]                                                               ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:225: warning: EnumConstantNotPresentExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]                     value = new EnumConstantNotPresentExceptionProxy(
> [ivy:compile]                                 ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:252: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]             value = new ExceptionProxy() {
> [ivy:compile]                         ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:271: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypeExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                             ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:271: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypeExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                             ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:271: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypeExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                             ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:271: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypeExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                             ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:307: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypesExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                              ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:307: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypesExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                              ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:307: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypesExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                              ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/com/sun/tools/javac/model/AnnotationProxyMaker.java:307: warning: ExceptionProxy is internal proprietary API and may be removed in a future release
> [ivy:compile]     private static class MirroredTypesExceptionProxy extends ExceptionProxy {
> [ivy:compile]                                                              ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/main/org/parboiled/transform/InstructionGraphCreator.java:41: warning: [unchecked] unchecked call to Analyzer(Interpreter<V>) as a member of the raw type Analyzer
> [ivy:compile]         new Analyzer(interpreter) {
> [ivy:compile]                                   ^
> [ivy:compile]   where V is a type-variable:
> [ivy:compile]     V extends Value declared in class Analyzer
> [ivy:compile] /<<PKGBUILDDIR>>/src/ecjTransformer/lombok/ast/ecj/EcjTreeConverter.java:1125: error: cannot find symbol
> [ivy:compile] 			if (node.constantExpression == null) {
> [ivy:compile] 			        ^
> [ivy:compile]   symbol:   variable constantExpression
> [ivy:compile]   location: variable node of type CaseStatement
> [ivy:compile] /<<PKGBUILDDIR>>/src/ecjTransformer/lombok/ast/ecj/EcjTreeConverter.java:1132: error: cannot find symbol
> [ivy:compile] 			caseStat.astCondition((lombok.ast.Expression) toTree(node.constantExpression));
> [ivy:compile] 			                                                         ^
> [ivy:compile]   symbol:   variable constantExpression
> [ivy:compile]   location: variable node of type CaseStatement
> [ivy:compile] Note: Some input files use or override a deprecated API.
> [ivy:compile] Note: Recompile with -Xlint:deprecation for details.
> [ivy:compile] 2 errors
> [ivy:compile] 19 warnings
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:135: Compile failed; see the compiler error output for details.
> 
> Total time: 11 seconds
> make[1]: *** [debian/rules:17: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/lombok-ast_0.2+ds-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list