Indeed, looks like incompatible classes between versions

Olivier

Le jeu. 24 mars 2016 17:28, Andreas Tille <[email protected]> a écrit :

> Hi,
>
> I've just injected surankco[1] which failed to build with:
>
> jh_build --javacopts='-target 1.7' --javacopts='-source 1.7' surankco.jar
> src
> find src -name *.java -and -type f -print0 | xargs -s 512000 -0
> /usr/lib/jvm/default-java/bin/javac -g -cp
> /usr/share/java/htsjdk.jar:debian/_jh_build.surankco -d
> debian/_jh_build.surankco -target 1.7 -source 1.7
> warning: [options] bootstrap class path not set in conjunction with
> -source 1.7
> src/de/rki/ng4/surankco/data/Reads.java:30: error: incompatible types:
> Reads cannot be converted to FastqReads
>                         new Qual(filename, this);
>                                            ^
> src/de/rki/ng4/surankco/data/Reads.java:33: error: incompatible types:
> Reads cannot be converted to FastqReads
>                         new Fastq(filename, this, parameter);
>                                             ^
> Note: Some messages have been simplified; recompile with -Xdiags:verbose
> to get full output
> 2 errors
> 1 warning
>
>
> Since upstream jar came with htsjdk-1.128.jar included and the build was
> done agains libhtsjdk-java 2.0.1 I suspect an API change.  Any hint how
> to fix this?
>
> Kind regards
>
>        Andreas.
>
>
> [1] https://anonscm.debian.org/git/debian-med/surankco.git
>
> --
> http://fam-tille.de
>

Reply via email to