Bug#923709: svgsalamander: FTBFS with Java 11.0.2 (The code being documented uses packages in the unnamed module)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#923709: svgsalamander: FTBFS with Java 11.0.2 (The code being documented uses packages in the unnamed module)

Emmanuel Bourg-3
Source: svgsalamander
Severity: serious
Tags: buster sid

svgsalamander fails to build with Java 11.0.2 due to javadoc changes:

  -javadoc-build:
      [mkdir] Created dir: /build/svgsalamander-1.1.1+dfsg/svg-core/dist/javadoc
    [javadoc] Warning: Leaving out empty argument '-windowtitle'
    [javadoc] Generating Javadoc
    [javadoc] Debian build on Java 9+ detected: Adding the --ignore-source-errors option
    [javadoc] Javadoc execution
    [javadoc] Loading source file /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/A.java...
    [javadoc] Loading source file /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/Circle.java...
    [javadoc] Loading source file /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/ClipPath.java...
    [javadoc] Loading source file /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/Defs.java...
    ...
    [javadoc] Constructing Javadoc information...
    [javadoc] javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
    [javadoc] Standard Doclet version 11.0.3
    [javadoc] Building tree for all the packages and classes...
    [javadoc] /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/app/beans/SVGIcon.java:383: warning - @return tag cannot be used in method with void return type.
    [javadoc] /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/app/beans/SVGPanel.java:257: warning - @return tag cannot be used in method with void return type.
    [javadoc] /build/svgsalamander-1.1.1+dfsg/svg-core/src/main/java/com/kitfox/svg/SVGElement.java:236: warning - @return tag cannot be used in method with void return type.
    [javadoc] Building index for all the packages and classes...
    [javadoc] Building index for all classes...
    [javadoc] Building index for all classes...
    [javadoc] Generating /build/svgsalamander-1.1.1+dfsg/svg-core/dist/javadoc/help-doc.html...
    [javadoc] 1 error
    [javadoc] 3 warnings
 
  BUILD FAILED
  /build/svgsalamander-1.1.1+dfsg/svg-core/nbproject/build-impl.xml:1262: Javadoc returned 1