Bug#1006023: lombok: FTBFS: [ivy:compile] /<<PKGBUILDDIR>>/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java:4: error: package exists in another module: jdk.javadoc

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:29:15 GMT 2022


Source: lombok
Version: 1.18.12-1
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>>'
> ant -Dbasedir=/<<PKGBUILDDIR>> \
> 	-Dlombok.version=1.18.12 \
>         -Drt-openjdk6.available=true \
>         -Drt-openjdk8.available=true \
> 	dist dist-utils
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> ensure-ipp:
> 
> ensureOpenJdk8Rt:
> 
> version:
> 
> -unpackLibs:
>   [taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-9.2.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-all-9.2.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-all.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-analysis-9.2.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-analysis.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-commons-9.2.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-commons.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-debug-all.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-tree-9.2.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-tree.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-util-9.2.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm-util.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/asm.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/cmdreader-1.5.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/cmdreader.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/com.zwitserloot.cmdreader-1.5.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/com.zwitserloot.cmdreader.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/eclipse-jdt-core-manipulation-1.15.0.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/eclipse-jdt-core-manipulation.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/eclipse-jdt-ui-3.24.0.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/eclipse-jdt-ui.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/eclipse-jface-text-3.18.100.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/eclipse-jface-text.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/lombok.injector-0.36.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/lombok.injector.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/lombok.patcher-0.36.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/lombok.patcher.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/osgi.core-7.0.0.jar into /<<PKGBUILDDIR>>/build/lombok
> [ivy:cachedunjar] Expanding: /<<PKGBUILDDIR>>/lib/runtime/osgi.core.jar into /<<PKGBUILDDIR>>/build/lombok
> 
> -ensureJdk9:
> 
> compile:
> [compile:mkdir] Created dir: /<<PKGBUILDDIR>>/build/stubsstubs
> [compile:javac] Compiling 11 source files to /<<PKGBUILDDIR>>/build/stubsstubs
> [compile:javac] Support for javac --release has been added in Java9 ignoring it
> [compile:mkdir] Created dir: /<<PKGBUILDDIR>>/build/stubs
> [compile:javac] Compiling 26 source files to /<<PKGBUILDDIR>>/build/stubs
> [compile:javac] Support for javac --release has been added in Java9 ignoring it
> [ivy:compile] /<<PKGBUILDDIR>>/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java:4: error: package exists in another module: jdk.javadoc
> [ivy:compile] package com.sun.tools.javadoc;
> [ivy:compile] ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java:12: error: DocCommentScanner.Factory is defined in an inaccessible class or interface
> [ivy:compile] 	protected DocCommentScanner(com.sun.tools.javadoc.DocCommentScanner.Factory fac, CharBuffer buffer) {
> [ivy:compile] 	                                                                   ^
> [ivy:compile] /<<PKGBUILDDIR>>/src/stubs/com/sun/tools/javadoc/DocCommentScanner.java:16: error: DocCommentScanner.Factory is defined in an inaccessible class or interface
> [ivy:compile] 	protected DocCommentScanner(com.sun.tools.javadoc.DocCommentScanner.Factory fac, char[] input, int inputLength) {
> [ivy:compile] 	                                                                   ^
> [ivy:compile] 3 errors
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:200: Compile failed; see the compiler error output for details.
> 
> Total time: 3 seconds
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/lombok_1.18.12-1_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