[Debian-astro-maintainers] Bug#1058328: starjava-ttools: FTBFS: [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/task/TapMapper.java:3: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:45:32 GMT 2023


Source: starjava-ttools
Version: 3.4.7-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

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 jars
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> prepare:
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1673173063
> 
> check_packages:
> 
> build:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
>     [javac] Compiling 951 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/task/TapMapper.java:3: error: cannot find symbol
>     [javac] import adql.parser.ParseException;
>     [javac]                   ^
>     [javac]   symbol:   class ParseException
>     [javac]   location: package adql.parser
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/paper/PaperTypeSelector.java:132: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             rgbSet.add( new Integer( color.getRGB() & 0x00ffffff ) );
>     [javac]                         ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java:317: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]             report.put( key, new Double( pixSize ) );
>     [javac]                              ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/geom/CubeSurface.java:499: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]         config.put( CubeSurfaceFactory.ZOOM_KEY, new Double( zoom_ ) );
>     [javac]                                                  ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/geom/CubeSurface.java:500: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]         config.put( CubeSurfaceFactory.XOFF_KEY, new Double( xoff_ ) );
>     [javac]                                                  ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/geom/CubeSurface.java:501: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [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/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: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new Integer( toInt( index ) );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/BlockUploader.java:588: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [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: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]             rowCount_ = nbrows >=0 ? new Long( nbrows ) : null;
>     [javac]                                      ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/ParallelResultRowSequence.java:275: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             maxpar_ = new Integer( max );
>     [javac]                       ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/ConeMatcher.java:404: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]             Object[] blankRow = new Object[] { new Double( Double.NaN ) };
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/ConeMatcher.java:421: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                     return new Object[] { new Double( dist ) };
>     [javac]                                           ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:473: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new Integer( -1 - ispecial );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:479: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             translatedIcols_.add( new Integer( inul ) );
>     [javac]                                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:480: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]             return new Long( inul );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:486: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             translatedIcols_.add( new Integer( icol ) );
>     [javac]                                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:487: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new Integer( icol );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:493: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             translatedIcols_.add( new Integer( iobj ) );
>     [javac]                                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:494: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new Integer( iobj );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/JELRowReader.java:500: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new Integer( -1 - iconst );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/StarTableJELRowReader.java:401: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                     return new Long( table_.getRowCount() );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/StarTableJELRowReader.java:446: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                     return new Long( getCurrentRow() + 1 );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/jel/StarTableJELRowReader.java:477: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                     return new Double( new Random( seed ).nextDouble() );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/JdbcConeSearcher.java:224: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                         calcValues[ icol++ ] = new Double( raDeg );
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/JdbcConeSearcher.java:225: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                         calcValues[ icol++ ] = new Double( decDeg );
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/UploadConeTable.java:73: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                            new Double( coneSeq.getRa() ),
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/cone/UploadConeTable.java:74: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                            new Double( coneSeq.getDec() ),
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/convert/Iso8601Converter.java:89: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                 return new Double( fromMjd( isoToMjd( isoDate ) ) );
>     [javac]                        ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/convert/SexagesimalToDegrees.java:52: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                 return new Double( deg );
>     [javac]                        ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/convert/SkyUnits.java:155: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                 new Double( c1 ),
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/convert/SkyUnits.java:156: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                 new Double( c2 ),
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/convert/SkyUnits.java:186: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                 new Double( Math.toDegrees( c1 ) ),
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/convert/SkyUnits.java:187: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                 new Double( Math.toDegrees( c2 ) ),
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/AllWiseAsciiStarTable.java:209: warning: [removal] Short(short) in Short has been deprecated and marked for removal
>     [javac]                 badnum = new Short( Short.MIN_VALUE );
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/AllWiseAsciiStarTable.java:213: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]                 badnum = new Integer( Integer.MIN_VALUE );
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/AllWiseAsciiStarTable.java:218: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                 badnum = new Long( Long.MIN_VALUE );
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/GeojsonTableBuilder.java:109: warning: [deprecation] toString(InputStream) in IOUtils has been deprecated
>     [javac]             top = new JSONObject( new JSONTokener( IOUtils.toString( in ) ) );
>     [javac]                                                           ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/GeojsonTableBuilder.java:149: warning: [unchecked] unchecked conversion
>     [javac]                     for ( Iterator<String> it = props.keys(); it.hasNext(); ) {
>     [javac]                                                           ^
>     [javac]   required: Iterator<String>
>     [javac]   found:    Iterator
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/example/GeojsonTableBuilder.java:215: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                         return new Double( ((Number) value).doubleValue() );
>     [javac]                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/HealpixMetadataFilter.java:223: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]                              new Integer( level_ ) );
>     [javac]                              ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/MetadataFilter.java:185: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             map.put( INDEX_INFO, new Integer( icol + 1 ) );
>     [javac]                                  ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/ResolverFilter.java:173: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                         return new Object[] { new Double( p.ra_ ),
>     [javac]                                               ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/ResolverFilter.java:174: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                                               new Double( p.dec_ ) };
>     [javac]                                               ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/SetParameterFilter.java:225: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new Integer( ((Number) value).intValue() );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/SortFilter.java:142: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]                 rowMap[ i ] = new Integer( i );
>     [javac]                               ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/SortHeadFilter.java:233: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                 keyVals_[ nkey1_ - 1 ] = new Long( jelly.getCurrentRow() );
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:376: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]             map.put( NGOOD_INFO, new Long( count ) );
>     [javac]                                  ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:377: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]             map.put( NBAD_INFO, new Long( tstats.getRowCount() - count ) );
>     [javac]                                 ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:378: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]             map.put( SUM_INFO, new Double( sum1 ) );
>     [javac]                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:380: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                 map.put( MEAN_INFO, new Float( (float) mean ) );
>     [javac]                                     ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:383: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                 map.put( POPSD_INFO, new Float( (float) Math.sqrt( popvar ) ) );
>     [javac]                                      ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:384: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                 map.put( POPVAR_INFO, new Float( (float) popvar ) );
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:388: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                          new Float( (float) Math.sqrt( sampvar ) ) );
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:389: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                 map.put( SAMPVAR_INFO, new Float( (float) sampvar ) );
>     [javac]                                        ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:392: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                 map.put( SKEW_INFO, new Float( (float) skew ) );
>     [javac]                                     ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:395: warning: [removal] Float(float) in Float has been deprecated and marked for removal
>     [javac]                 map.put( KURT_INFO, new Float( (float) kurtosis ) );
>     [javac]                                     ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:399: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                 map.put( MINPOS_INFO, new Long( stats.getMinPos() + 1 ) );
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:403: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                 map.put( MAXPOS_INFO, new Long( stats.getMaxPos() + 1 ) );
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/StatsFilter.java:408: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]                     map.put( CARDINALITY_INFO, new Integer( ncard ) );
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/filter/UniqueFilter.java:149: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]                         lastRow_[ 0 ] = new Integer( dupCount );
>     [javac]                                         ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/func/Distances.java:353: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]         return Arrays.asList( new Double[] { new Double( omegaM ),
>     [javac]                                              ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/func/Distances.java:354: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                                              new Double( omegaLambda ), } );
>     [javac]                                              ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/gui/MarkStyleSelectors.java:334: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             items[ i ] = new Integer( i );
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MarkShape.java:94: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new MarkStyle( color, new Integer( size ),
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MarkShape.java:114: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new MarkStyle( color, new Integer( size ), 
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MarkShape.java:141: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new MarkStyle( color, new Integer( size ),
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MarkShape.java:156: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new MarkStyle( color, new Integer( size ),
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MarkShape.java:169: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new MarkStyle( color, new Integer( size ),
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MarkShape.java:183: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             return new MarkStyle( color, new Integer( size ),
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/gui/ThicknessComboBox.java:31: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]             numbers[ i ] = new Integer( i + 1 );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/ArrayBinList.java:174: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                     Long result = new Long( ibit );
>     [javac]                                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/HashBinList.java:42: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]         Long key = new Long( index );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/HashBinList.java:52: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]         return map_.get( new Long( index ) );
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/HashBinList.java:86: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                 Combiner.Container container = map_.get( new Long( index ) );
>     [javac]                                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/HashBinList.java:117: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                         cmap.put( key, new Double( val ) );
>     [javac]                                        ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot2/layer/HashBinList.java:146: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                 Double value = map.get( new Long( index ) );
>     [javac]                                         ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/mode/CubeWriter.java:562: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]         private final Integer unit_ = new Integer( 1 );
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/mode/MetadataMode.java:65: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]         out.println( "Columns: " + new Integer( ncol ) );
>     [javac]                                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/mode/StatsMode.java:142: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                                                      new Long( nrow ) ) );
>     [javac]                                                      ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MapBinnedData.java:212: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]             return new Long( (long) Math.floor( ( value - base_ ) / width_ ) );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MapBinnedData.java:243: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                     return new Long( val_++ );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MapBinnedData.java:269: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                  ? new Long( (long) Math.floor( ( Math.log( value / base_ )
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/MapBinnedData.java:286: warning: [removal] Long(long) in Long has been deprecated and marked for removal
>     [javac]                     return new Long( val_++ );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PictureImageIcon.java:76: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]         this( picture, caching, new Integer( transparency ) );
>     [javac]                                 ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PlotBox.java:319: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]         _legendDatasets.addElement(new Integer(dataset));
>     [javac]                                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PlotBox.java:335: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]         _xticks.addElement(new Double(position));
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PlotBox.java:352: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]         _yticks.addElement(new Double(position));
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PlotBox.java:665: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
>     [javac]         int idx = _legendDatasets.indexOf(new Integer(dataset), 0);
>     [javac]                                           ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PlotBox.java:2875: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                         grid.addElement(new Double(logval));
>     [javac]                                         ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/plot/PlotBox.java:2878: warning: [removal] Double(double) in Double has been deprecated and marked for removal
>     [javac]                     grid.addElement(new Double(logval));
>     [javac]                                     ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/AdqlValidatorKit.java:77: error: incompatible types: ValidatorTable[] cannot be converted to AdqlVersion
>     [javac]         return new AdqlValidator( (AdqlValidator.ValidatorTable[]) null,
>     [javac]                                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/AdqlValidatorKit.java:156: error: incompatible types: ValidatorTable[] cannot be converted to AdqlVersion
>     [javac]                     return new AdqlValidator( vtables, new FunctionDef[ 0 ],
>     [javac]                                               ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/AdqlValidatorKit.java:246: error: incompatible types: Ivoid cannot be converted to String
>     [javac]             for ( String vid : lang.getVersionIds() ) {
>     [javac]                                                  ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/AdqlValidatorKit.java:313: error: incompatible types: Ivoid cannot be converted to String
>     [javac]         for ( String vid : lang.getVersionIds() ) {
>     [javac]                                              ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/CapabilityStage.java:265: error: incompatible types: Ivoid cannot be converted to String
>     [javac]                         String vid = lang.getVersionIds()[ iv ];
>     [javac]                                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/CapabilityStage.java:275: error: incompatible types: String cannot be converted to Ivoid
>     [javac]                         AdqlVersion idVers = AdqlVersion.byIvoid( vid );
>     [javac]                                                                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/CapabilityStage.java:361: error: no suitable constructor found for HashSet(List<Ivoid>)
>     [javac]                 new HashSet<String>( Arrays
>     [javac]                 ^
>     [javac]     constructor HashSet.HashSet(Collection<? extends String>) is not applicable
>     [javac]       (argument mismatch; inference variable T has incompatible bounds
>     [javac]           lower bounds: String,Object
>     [javac]           lower bounds: Ivoid)
>     [javac]     constructor HashSet.HashSet(int) is not applicable
>     [javac]       (argument mismatch; no instance(s) of type variable(s) T exist so that List<T> conforms to int)
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in method <T>asList(T...)
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/CapabilityStage.java:364: error: incompatible types: Map<Ivoid,TapLanguageFeature[]> cannot be converted to Map<String,TapLanguageFeature[]>
>     [javac]                 language.getFeaturesMap();
>     [javac]                                        ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/CapabilityStage.java:461: error: incompatible types: Ivoid[] cannot be converted to String[]
>     [javac]             String[] upMethods = tcap_.getUploadMethods();
>     [javac]                                                        ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/CapabilityStage.java:538: error: incompatible types: Ivoid cannot be converted to String
>     [javac]                 String ivoid = of.getIvoid();
>     [javac]                                           ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/taplint/ObsTapStage.java:143: error: incompatible types: Ivoid[] cannot be converted to String[]
>     [javac]         String[] dms = tcap.getDataModels();
>     [javac]                                          ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/ttools/task/TapMapper.java:236: error: AdqlValidator(AdqlVersion,FeatureSet,ValidatorTable[]) has private access in AdqlValidator
>     [javac]             AdqlValidator validator = new AdqlValidator( null, null, null );
>     [javac]                                       ^
>     [javac] Note: Some input files additionally use or override a deprecated API.
>     [javac] Note: Some input files additionally use or override a deprecated API that is marked for removal.
>     [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
>     [javac] 13 errors
>     [javac] 100 warnings
>     [javac] only showing the first 100 warnings, of 101 total; use -Xmaxwarns if you would like to see more
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:475: Compile failed; see the compiler error output for details.
> 
> Total time: 9 seconds
> make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/starjava-ttools_3.4.7-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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 Debian-astro-maintainers mailing list