[Debian-astro-maintainers] Bug#986521: starjava-ttools: FTBFS: [javadoc] javadoc: error - invalid flag: -Xdoclint:none
Lucas Nussbaum
lucas at debian.org
Wed Apr 7 07:54:30 BST 2021
Source: starjava-ttools
Version: 3.4-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210406 ftbfs-bullseye
Hi,
During a rebuild of all packages in bullseye, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ant jars
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>
> prepare:
> [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1612473971
>
> check_packages:
>
> build:
> [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
> [javac] Compiling 916 source files to /<<PKGBUILDDIR>>/build/classes
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/paper/PaperTypeSelector.java:132: warning: [deprecation] Integer(int) in Integer has been deprecated
> [javac] rgbSet.add( new Integer( color.getRGB() & 0x00ffffff ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java:317: warning: [deprecation] Double(double) in Double has been deprecated
> [javac] report.put( key, new Double( pixSize ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/geom/CubeSurface.java:499: warning: [deprecation] Double(double) in Double has been deprecated
> [javac] config.put( CubeSurfaceFactory.ZOOM_KEY, new Double( zoom_ ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/geom/CubeSurface.java:500: warning: [deprecation] Double(double) in Double has been deprecated
> [javac] config.put( CubeSurfaceFactory.XOFF_KEY, new Double( xoff_ ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/geom/CubeSurface.java:501: warning: [deprecation] Double(double) in Double has been deprecated
> [javac] config.put( CubeSurfaceFactory.YOFF_KEY, new Double( yoff_ ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:31: warning: [rawtypes] found raw type: Parameter
> [javac] Parameter[] params = task.getParameters();
> [javac] ^
> [javac] missing type arguments for generic class Parameter<T>
> [javac] where T is a type-variable:
> [javac] T extends Object declared in class Parameter
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:33: warning: [rawtypes] found raw type: List
> [javac] List outputFormats = env.getTableOutput().getKnownFormats();
> [javac] ^
> [javac] missing type arguments for generic class List<E>
> [javac] where E is a type-variable:
> [javac] E extends Object declared in interface List
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:34: warning: [rawtypes] found raw type: List
> [javac] List inputFormats = env.getTableFactory().getKnownFormats();
> [javac] ^
> [javac] missing type arguments for generic class List<E>
> [javac] where E is a type-variable:
> [javac] E extends Object declared in interface List
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:35: warning: [rawtypes] found raw type: Collection
> [javac] Collection charsets = Charset.availableCharsets().keySet();
> [javac] ^
> [javac] missing type arguments for generic class Collection<E>
> [javac] where E is a type-variable:
> [javac] E extends Object declared in interface Collection
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:105: warning: [rawtypes] found raw type: Collection
> [javac] public static String completionCase(String name, Collection pattern) {
> [javac] ^
> [javac] missing type arguments for generic class Collection<E>
> [javac] where E is a type-variable:
> [javac] E extends Object declared in interface Collection
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:108: warning: [unchecked] unchecked method invocation: method join in class String is applied to given types
> [javac] "$(compgen -W \"" + String.join(" ", pattern) + "\" -- ${cur}) " +
> [javac] ^
> [javac] required: CharSequence,Iterable<? extends CharSequence>
> [javac] found: String,Collection
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/BashComplete.java:108: warning: [unchecked] unchecked conversion
> [javac] "$(compgen -W \"" + String.join(" ", pattern) + "\" -- ${cur}) " +
> [javac] ^
> [javac] required: Iterable<? extends CharSequence>
> [javac] found: Collection
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:39: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] private final RootDoc root_;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:80: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected abstract void startClass( ClassDoc clazz ) throws IOException;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:96: warning: [removal] MemberDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected abstract void startMember( MemberDoc mem, String memType,
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:122: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected abstract void outParameters( Parameter[] params,
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:133: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected abstract void outReturn( Type rtype, String rdesc )
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:149: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected abstract void outSees( SeeTag[] seeTags ) throws IOException;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:161: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected MemberDoclet( RootDoc root ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:170: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] ClassDoc[] classes = root_.classes();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:173: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] ClassDoc clazz = classes[ i ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:187: warning: [removal] PackageDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void processPackage( PackageDoc pack ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:196: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void processClass( ClassDoc clazz ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:198: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] MethodDoc[] methods = clazz.methods();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:200: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] MethodDoc method = methods[ i ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:205: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] FieldDoc[] fields = clazz.fields();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:207: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] FieldDoc field = fields[ i ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:225: warning: [removal] ProgramElementDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public boolean isDocumentable( ProgramElementDoc pel ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:232: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] if ( pel instanceof FieldDoc &&
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:236: warning: [removal] AnnotationDesc in com.sun.javadoc has been deprecated and marked for removal
> [javac] for ( AnnotationDesc adesc : pel.annotations() ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:250: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] private void processField( FieldDoc field )
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:252: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] ClassDoc clazz = field.containingClass();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:268: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] private void processMethod( MethodDoc method )
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:270: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] ClassDoc clazz = method.containingClass();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:274: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] Parameter[] params = method.parameters();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:289: warning: [removal] ParamTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] ParamTag[] ptags = method.paramTags();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:314: warning: [removal] Tag in com.sun.javadoc has been deprecated and marked for removal
> [javac] Tag[] retags = method.tags( "return" );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:326: warning: [removal] Tag in com.sun.javadoc has been deprecated and marked for removal
> [javac] Tag[] extags = method.tags( "example" );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:333: warning: [removal] Tag in com.sun.javadoc has been deprecated and marked for removal
> [javac] Tag[] stags = method.tags( "see" );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:334: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] SeeTag[] sees = new SeeTag[ stags.length ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:334: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] SeeTag[] sees = new SeeTag[ stags.length ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:336: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] sees[ i ] = (SeeTag) stags[ i ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:340: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] Type rtype = method.returnType();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:376: warning: [removal] LanguageVersion in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static LanguageVersion languageVersion() {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:377: warning: [removal] LanguageVersion in com.sun.javadoc has been deprecated and marked for removal
> [javac] return LanguageVersion.JAVA_1_5;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:387: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static String typeString( Type type ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/MemberDoclet.java:400: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static String varargTypeString( Type type, boolean isVararg ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/XmlDoclet.java:45: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected XmlDoclet( RootDoc root ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/XmlDoclet.java:61: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void startClass( ClassDoc clazz ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/XmlDoclet.java:67: warning: [removal] MemberDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void startMember( MemberDoc mem, String memType,
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/XmlDoclet.java:80: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outParameters( Parameter[] param, String[] comments,
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/XmlDoclet.java:85: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outReturn( Type rtype, String rdesc ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/XmlDoclet.java:91: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outSees( SeeTag[] seeTags ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:37: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static boolean start( RootDoc root ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:59: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected FullXmlDoclet( RootDoc root ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:77: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected String getXmlId( ClassDoc clazz ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:90: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected boolean useClass( ClassDoc clazz ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:107: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void startClass( ClassDoc clazz ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:151: warning: [removal] MemberDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void startMember( MemberDoc mem, String memType, String memName )
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:170: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outParameters( Parameter[] params, String[] comments,
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:177: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] Parameter param = params[ i ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:199: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outReturn( Type rtype, String rdesc ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:228: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outSees( SeeTag[] seeTags ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:230: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] for ( SeeTag tag : seeTags ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/FullXmlDoclet.java:255: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] private String formatSeeTag( SeeTag stag ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:35: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static boolean start( RootDoc root ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:58: warning: [removal] RootDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public HtmlDoclet( RootDoc root ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:78: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void startClass( ClassDoc clazz ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:89: warning: [removal] MemberDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void startMember( MemberDoc mem, String memType, String memName )
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:92: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] if ( mem instanceof FieldDoc ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:93: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] file = fieldDocFile( baseDir_, (FieldDoc) mem );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:95: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] else if ( mem instanceof MethodDoc ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:96: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] file = methodDocFile( baseDir_, (MethodDoc) mem );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:119: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outParameters( Parameter[] params, String[] comments,
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:129: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] Parameter param = params[ i ];
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:152: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outReturn( Type rtype, String rdesc ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:197: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] protected void outSees( SeeTag[] seeTags ) throws IOException {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:199: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] for ( SeeTag tag : seeTags ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:234: warning: [removal] SeeTag in com.sun.javadoc has been deprecated and marked for removal
> [javac] private String formatSeeTag( SeeTag stag ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:262: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] private static File docFile( File baseDir, ClassDoc clazz, String suffix ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:292: warning: [removal] ClassDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static File classDocFile( File baseDir, ClassDoc clazz ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:303: warning: [removal] FieldDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static File fieldDocFile( File baseDir, FieldDoc field ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:315: warning: [removal] MethodDoc in com.sun.javadoc has been deprecated and marked for removal
> [javac] public static File methodDocFile( File baseDir, MethodDoc method ) {
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:317: warning: [removal] Parameter in com.sun.javadoc has been deprecated and marked for removal
> [javac] Parameter[] params = method.parameters();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/HtmlDoclet.java:320: warning: [removal] Type in com.sun.javadoc has been deprecated and marked for removal
> [javac] Type type = params[ i ].type();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/JupyterCell.java:101: warning: [cast] redundant cast to JupyterCell
> [javac] return ((JupyterCell)o).toJson();
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/UsageWriterMan.java:57: warning: [rawtypes] found raw type: Parameter
> [javac] Parameter[] params = task.getParameters();
> [javac] ^
> [javac] missing type arguments for generic class Parameter<T>
> [javac] where T is a type-variable:
> [javac] T extends Object declared in class Parameter
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/build/UsageWriterMan.java:68: warning: [rawtypes] found raw type: Parameter
> [javac] Parameter[] params = task.getParameters();
> [javac] ^
> [javac] missing type arguments for generic class Parameter<T>
> [javac] where T is a type-variable:
> [javac] T extends Object declared in class Parameter
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/BlockUploader.java:558: warning: [deprecation] Integer(int) in Integer has been deprecated
> [javac] return new Integer( toInt( index ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/BlockUploader.java:588: warning: [deprecation] Long(long) in Long has been deprecated
> [javac] return new Long( index );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/CdsUploadMatcher.java:263: warning: [deprecation] toString(InputStream) in IOUtils has been deprecated
> [javac] JSONTokener jt = new JSONTokener( IOUtils.toString( in ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/CdsUploadMatcher.java:298: warning: [deprecation] Long(long) in Long has been deprecated
> [javac] rowCount_ = nbrows >=0 ? new Long( nbrows ) : null;
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/ParallelResultRowSequence.java:275: warning: [deprecation] Integer(int) in Integer has been deprecated
> [javac] maxpar_ = new Integer( max );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/ConeMatcher.java:404: warning: [deprecation] Double(double) in Double has been deprecated
> [javac] Object[] blankRow = new Object[] { new Double( Double.NaN ) };
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/ConeMatcher.java:421: warning: [deprecation] Double(double) in Double has been deprecated
> [javac] return new Object[] { new Double( dist ) };
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:101: warning: [deprecation] Byte(byte) in Byte has been deprecated
> [javac] private final Byte b0 = new Byte( (byte) 0 );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:470: warning: [deprecation] Integer(int) in Integer has been deprecated
> [javac] return new Integer( -1 - ispecial );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:476: warning: [deprecation] Integer(int) in Integer has been deprecated
> [javac] translatedIcols_.add( new Integer( inul ) );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:477: warning: [deprecation] Long(long) in Long has been deprecated
> [javac] return new Long( inul );
> [javac] ^
> [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:483: warning: [deprecation] Integer(int) in Integer has been deprecated
> [javac] translatedIcols_.add( new Integer( icol ) );
> [javac] ^
> [javac] Note: Some input files additionally use or override a deprecated API.
> [javac] Note: /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/GeojsonTableBuilder.java uses unchecked or unsafe operations.
> [javac] 100 warnings
> [copy] Copying 155 files to /<<PKGBUILDDIR>>/build/classes
> [mkdir] Created dir: /<<PKGBUILDDIR>>/lib/starlink-ttools
>
> build-extras:
> [mkdir] Created dir: /<<PKGBUILDDIR>>/build/javadocs
> [javadoc] Generating Javadoc
> [javadoc] Debian build on Java 9+ detected: Adding the -Xdoclint:none option
> [javadoc] Javadoc execution
> [javadoc] Usage: javadoc [options] [packagenames] [sourcefiles] [@files]
> [javadoc] -overview <file> Read overview documentation from HTML file
> [javadoc] -public Show only public classes and members
> [javadoc] -protected Show protected/public classes and members (default)
> [javadoc] -package Show package/protected/public classes and members
> [javadoc] -private Show all classes and members
> [javadoc] --help Display command line options and exit
> [javadoc] -doclet <class> Generate output via alternate doclet
> [javadoc] -docletpath <path> Specify where to find doclet class files
> [javadoc] --module-source-path <path> Specify where to find input source files for multiple modules
> [javadoc] --upgrade-module-path <path> Override location of upgradeable modules
> [javadoc] --module-path <path>, -p <path> Specify where to find application modules
> [javadoc] --add-modules <module>(,<module>)*
> [javadoc] Root modules to resolve in addition to the initial modules,
> [javadoc] or all modules on the module path if <module> is ALL-MODULE-PATH.
> [javadoc] --limit-modules <module>(,<module>)*
> [javadoc] Limit the universe of observable modules
> [javadoc] --source-path <path> Specify where to find source files
> [javadoc] -sourcepath <path> Specify where to find source files
> [javadoc] --class-path <path> Specify where to find user class files
> [javadoc] -classpath <path> Specify where to find user class files
> [javadoc] -cp <path> Specify where to find user class files
> [javadoc] -exclude <pkglist> Specify a list of packages to exclude
> [javadoc] -subpackages <subpkglist> Specify subpackages to recursively load
> [javadoc] -breakiterator Compute first sentence with BreakIterator
> [javadoc] -bootclasspath <path> Override location of platform class files
> [javadoc] used for non-modular releases
> [javadoc] --system <jdk> Override location of system modules used
> [javadoc] for modular releases.
> [javadoc] -source <release> Provide source compatibility with specified release
> [javadoc] --release <release> Provide source compatibility with specified release
> [javadoc] -extdirs <dirlist> Override location of installed extensions
> [javadoc] -verbose Output messages about what Javadoc is doing
> [javadoc] -locale <name> Locale to be used, e.g. en_US or en_US_WIN
> [javadoc] -encoding <name> Source file encoding name
> [javadoc] -quiet Do not display status messages
> [javadoc] -J<flag> Pass <flag> directly to the runtime system
> [javadoc] -X Print a synopsis of nonstandard options and exit
> [javadoc]
> [javadoc]
> [javadoc] GNU-style options may use = instead whitespace to separate the name of an option
> [javadoc] from its value.
> [javadoc]
> [javadoc] 1 error
> [javadoc] javadoc: warning - The old Doclet and Taglet APIs in the packages
> [javadoc] com.sun.javadoc, com.sun.tools.doclets and their implementations
> [javadoc] are planned to be removed in a future JDK release. These
> [javadoc] components have been superseded by the new APIs in jdk.javadoc.doclet.
> [javadoc] Users are strongly recommended to migrate to the new APIs.
> [javadoc] javadoc: error - invalid flag: -Xdoclint:none
>
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:546: The following error occurred while executing this line:
> /<<PKGBUILDDIR>>/build.xml:565: Javadoc returned 1
>
> Total time: 10 seconds
> make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/04/06/starjava-ttools_3.4-2_testing.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.
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 Debian-astro-maintainers
mailing list