Bug#897490: libhtmlparser-java: FTBFS: [javac] /<<PKGBUILDDIR>>/src/resources/HtmlTaglet.java:27: error: package com.sun.tools.doclets does not exist

Lucas Nussbaum lucas at debian.org
Wed May 2 21:00:11 BST 2018


Source: libhtmlparser-java
Version: 1.6.20060610.dfsg0-8
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- -f src/build.xml -Dant.build.javac.target=1.7 jarparser javadoc filterbuilder thumbelina
> 	ant -propertyfile ./debian/ant.properties -Duser.name debian -f src/build.xml -Dant.build.javac.target=1.7 jarparser javadoc filterbuilder thumbelina
> Buildfile: /<<PKGBUILDDIR>>/src/build.xml
> 
> compilelexer:
>     [javac] /<<PKGBUILDDIR>>/src/build.xml:271: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 32 source files to /<<PKGBUILDDIR>>/src/src
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] Note: /<<PKGBUILDDIR>>/src/src/org/htmlparser/lexer/Page.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
> 
> compileparser:
>     [javac] /<<PKGBUILDDIR>>/src/build.xml:297: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 107 source files to /<<PKGBUILDDIR>>/src/src
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
> 
> jarparser:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/src/lib
>       [jar] Building jar: /<<PKGBUILDDIR>>/src/lib/htmlparser.jar
> 
> JDK_OK:
> 
> JDK_Warning:
>      [echo] ***************************************************
>      [echo] *  WARNING: The detected JDK version is not 1.4!  *
>      [echo] ***************************************************
> 
> init:
>      [echo] today is Mar 30, 2018
>      [echo] versionTag=1_6_20180330
>      [echo] previous version number = 1.6
>      [echo] previous version type = Release Build
>      [echo] previous version date = Jun 10, 2006
> 
> javadoc:
>     [javac] /<<PKGBUILDDIR>>/src/build.xml:450: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1 source file
>     [javac] 
>     [javac]           WARNING
>     [javac] 
>     [javac] The -source switch defaults to 9 in JDK 9.
>     [javac] If you specify -target 1.7 you now must also specify -source 1.7.
>     [javac] Ant will implicitly add -source 1.7 for you.  Please change your build file.
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] /<<PKGBUILDDIR>>/src/resources/HtmlTaglet.java:27: error: package com.sun.tools.doclets does not exist
>     [javac] import com.sun.tools.doclets.Taglet;
>     [javac]                             ^
>     [javac] /<<PKGBUILDDIR>>/src/resources/HtmlTaglet.java:62: error: cannot find symbol
>     [javac] public class HtmlTaglet implements Taglet
>     [javac]                                    ^
>     [javac]   symbol: class Taglet
>     [javac] Note: /<<PKGBUILDDIR>>/src/resources/HtmlTaglet.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/src/resources/HtmlTaglet.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 2 errors
>     [javac] 1 warning
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/src/build.xml:450: Compile failed; see the compiler error output for details.
> 
> Total time: 3 seconds
> dh_auto_build: ant -propertyfile ./debian/ant.properties -Duser.name debian -f src/build.xml -Dant.build.javac.target=1.7 jarparser javadoc filterbuilder thumbelina returned exit code 1
> make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/libhtmlparser-java_1.6.20060610.dfsg0-8_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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list