[Debian-astro-maintainers] Bug#1013546: starjava-vo: FTBFS: [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:1286: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Fri Jun 24 11:04:27 BST 2022


Source: starjava-vo
Version: 0.2+2022.01.20-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

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 1643641869
> 
> check_packages:
> 
> build:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
>     [javac] Compiling 112 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/DoubleValueField.java:101: warning: [deprecation] Double(double) in Double has been deprecated
>     [javac]             val = new Double( getValue() );
>     [javac]                   ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/DoubleValueField.java:168: warning: [deprecation] Double(double) in Double has been deprecated
>     [javac]             getEntryField().setText( vc.unconvertValue( new Double( value ) ) );
>     [javac]                                                         ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:108: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]         KeyStroke.getKeyStroke( KeyEvent.VK_Z, Event.CTRL_MASK ),
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:109: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]         KeyStroke.getKeyStroke( KeyEvent.VK_Z, Event.META_MASK ),
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:112: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]         KeyStroke.getKeyStroke( KeyEvent.VK_Z, Event.CTRL_MASK
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:113: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]                                              | Event.SHIFT_MASK ),
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:114: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]         KeyStroke.getKeyStroke( KeyEvent.VK_Z, Event.META_MASK
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:115: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]                                              | Event.SHIFT_MASK ),
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:116: warning: [deprecation] Event in java.awt has been deprecated
>     [javac]         KeyStroke.getKeyStroke( KeyEvent.VK_Y, Event.CTRL_MASK ),
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:1286: error: cannot find symbol
>     [javac]             int iline = tmerr.getErrorLine();
>     [javac]                              ^
>     [javac]   symbol:   method getErrorLine()
>     [javac]   location: variable tmerr of type TokenMgrError
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:1287: error: cannot find symbol
>     [javac]             int icol = tmerr.getErrorColumn();
>     [javac]                             ^
>     [javac]   symbol:   method getErrorColumn()
>     [javac]   location: variable tmerr of type TokenMgrError
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapQueryPanel.java:1309: warning: [deprecation] modelToView(int) in JTextComponent has been deprecated
>     [javac]                     return modelToView( pos );
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/TapSchemaInterrogator.java:918: warning: [deprecation] Integer(int) in Integer has been deprecated
>     [javac]                 icolMap_.put( col, new Integer( ic ) );
>     [javac]                                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/Vocabulary.java:127: 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/vo/datalink/LinkColMap.java:186: warning: [deprecation] Long(long) in Long has been deprecated
>     [javac]             return new Long( cleng.longValue() );
>     [javac]                    ^
>     [javac] /<<PKGBUILDDIR>>/src/main/uk/ac/starlink/vo/datalink/LinkColMap.java:248: warning: [deprecation] Integer(int) in Integer has been deprecated
>     [javac]                     icolMap.put( coldef, new Integer( ic ) );
>     [javac]                                          ^
>     [javac] 2 errors
>     [javac] 14 warnings
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:422: 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/06/24/starjava-vo_0.2+2022.01.20-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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 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 Debian-astro-maintainers mailing list