[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Help] Re: Bug#966878: figtree: FTBFS: [javac] /<<PKGBUILDDIR>>/src/figtree/application/JSONTreeExporter.java:56: error: JSONTreeExporter is not abstract and does not override abstract method close() in TreeExporter



Control: tags -1 help

Hi Java team

I admit I have no idea how to tackle this.  Any help would be really
appreciated.

Kind regards

       Andreas.

On Mon, Aug 03, 2020 at 10:01:35AM +0200, Lucas Nussbaum wrote:
> Source: figtree
> Version: 1.4.4-4
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200802 ftbfs-bullseye
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> >  debian/rules build
> > make: 'build' is up to date.
> >  fakeroot debian/rules binary
> > dh binary --with javahelper
> >    dh_update_autotools_config
> >    dh_autoreconf
> >    dh_auto_configure
> >    jh_linkjars
> >    dh_auto_build
> > 	ant -Duser.name debian
> > Buildfile: /<<PKGBUILDDIR>>/build.xml
> > 
> > init:
> >    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1575395523
> >     [mkdir] Created dir: /<<PKGBUILDDIR>>/dist
> > 
> > compile:
> >     [javac] /<<PKGBUILDDIR>>/build.xml:40: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> >     [javac] Compiling 127 source files to /<<PKGBUILDDIR>>/build
> >     [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
> >     [javac] warning: [options] source value 6 is obsolete and will be removed in a future release
> >     [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
> >     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> >     [javac] /<<PKGBUILDDIR>>/src/figtree/application/JSONTreeExporter.java:56: error: JSONTreeExporter is not abstract and does not override abstract method close() in TreeExporter
> >     [javac] public class JSONTreeExporter implements TreeExporter {
> >     [javac]        ^
> >     [javac] /<<PKGBUILDDIR>>/src/figtree/application/JSONTreeExporter.java:181: error: exportTrees(Collection<? extends Tree>) in JSONTreeExporter cannot implement exportTrees(Collection<? extends Tree>) in TreeExporter
> >     [javac]     public void exportTrees(Collection<? extends Tree> trees) throws IOException {
> >     [javac]                 ^
> >     [javac]   overridden method does not throw IOException
> >     [javac] /<<PKGBUILDDIR>>/src/figtree/application/JSONTreeExporter.java:83: error: exportTree(Tree) in JSONTreeExporter cannot implement exportTree(Tree) in TreeExporter
> >     [javac]     public void exportTree(Tree tree) throws IOException {
> >     [javac]                 ^
> >     [javac]   overridden method does not throw IOException
> >     [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] 3 errors
> >     [javac] 4 warnings
> > 
> > BUILD FAILED
> > /<<PKGBUILDDIR>>/build.xml:40: Compile failed; see the compiler error output for details.
> > 
> > Total time: 2 seconds
> > dh_auto_build: error: ant -Duser.name debian returned exit code 1
> > make: *** [debian/rules:10: binary] Error 25
> 
> The full build log is available from:
>    http://qa-logs.debian.net/2020/08/02/figtree_1.4.4-4_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.
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de


Reply to: