Bug#802356: Latest version (1.8.11) fails to build

TMate Software Support support at svnkit.com
Wed Nov 4 14:29:03 UTC 2015


Hello Andreas,

Thank you for reporting this issue! So far I have no idea why it fails to
compile.

The error being reported is:

 [javac] /build/svnkit-1.8.11/svnkit/src/main/java/org/tmatesoft/
> svn/core/internal/wc2/ng/SvnDiffGenerator.java:524: error: no suitable
> method found for generateTextDiff(RandomAccessFile,RandomAccessFile,
> SvnDiffGenerator.EmptyDetectionOutputStream,QDiffGenerator)
>     [javac]             QDiffManager.generateTextDiff(is1, is2,
> emptyDetectionOutputStream, generator);
>     [javac]                         ^
>     [javac]     method QDiffManager.generateTextDiff(RandomAccessFile,
> RandomAccessFile,String,Writer,QDiffGenerator) is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     method QDiffManager.generateTextDiff(
> InputStream,InputStream,String,Writer,QDiffGenerator) is not applicable
>     [javac]       (actual and formal argument lists differ in length)


The method reported as not found is part of the 'sequence' library SVNKit
uses, particular version of this library
'de.regnis.q.sequence:sequence-library:1.0.3' referred from build.gradle
build file and this version of the library does include this method.

Could you please provide some more information on your environment? What
JDK do you use to compile SVNKit? What is the exact command you use to
build SVNKit?

And finally how do you obtain SVNKit 1.8.11 sources?

Until recently there were no '1.8.11' tag in SVN repository, now it is
there at http://svn.svnkit.com/repos/svnkit/1.8.11
Might that cause the problem?

Thanks!


TMate Software,
http://subgit.com/ git-svn import & mirror

On 3 November 2015 at 12:22, Andreas Tille <andreas at an3as.eu> wrote:

> Hi,
>
> in Debian a build time bug was reported here:
>
>    https://bugs.debian.org/802356
>
> Since this was not the latest available version 1.8.11 I downloaded
> the latest one but was running into an error as well:
>
> ...
> init-environment:
>
> compile-library:
>     [mkdir] Created dir: /build/svnkit-1.8.11/svnkit/bin
>     [mkdir] Created dir: /build/svnkit-1.8.11/svnkit-cli/bin
>     [mkdir] Created dir: /build/svnkit-1.8.11/svnkit-javahl16/bin
>     [javac] /build/svnkit-1.8.11/debian/build.xml:20: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
>     [javac] Compiling 1048 source files to /build/svnkit-1.8.11/svnkit/bin
>     [javac] warning: [options] bootstrap class path not set in conjunction
> with -source 1.5
>     [javac]
> /build/svnkit-1.8.11/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/SVNPathUtil.java:58:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
>     [javac]                 SVNErrorMessage err =
> SVNErrorMessage.create(SVNErrorCode.FS_PATH_SYNTAX, "Invalid control
> character ''{0}'' in path ''{1}''", new String[]{"0x" +
> SVNFormatUtil.getHexNumberFromByte((byte) ch), path});
>     [javac]
>
>     ^
>     [javac]   cast to Object for a varargs call
>     [javac]   cast to Object[] for a non-varargs call and to suppress this
> warning
>     [javac]
> /build/svnkit-1.8.11/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc2/ng/SvnDiffGenerator.java:524:
> error: no suitable method found for
> generateTextDiff(RandomAccessFile,RandomAccessFile,SvnDiffGenerator.EmptyDetectionOutputStream,QDiffGenerator)
>     [javac]             QDiffManager.generateTextDiff(is1, is2,
> emptyDetectionOutputStream, generator);
>     [javac]                         ^
>     [javac]     method
> QDiffManager.generateTextDiff(RandomAccessFile,RandomAccessFile,String,Writer,QDiffGenerator)
> is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]     method
> QDiffManager.generateTextDiff(InputStream,InputStream,String,Writer,QDiffGenerator)
> is not applicable
>     [javac]       (actual and formal argument lists differ in length)
>     [javac]
> /build/svnkit-1.8.11/svnkit/src/main/java/org/tmatesoft/svn/core/wc/admin/SVNAdminClient.java:1622:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
>     [javac]             SVNErrorMessage err =
> SVNErrorMessage.create(SVNErrorCode.IO_ERROR, "Session is rooted at ''{0}''
> but the repos root is ''{1}''", new SVNURL[] {
>     [javac]
>
>    ^
>     [javac]   cast to Object for a varargs call
>     [javac]   cast to Object[] for a non-varargs call and to suppress this
> warning
>     [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] 1 error
>     [javac] 3 warnings
>
> BUILD FAILED
> /build/svnkit-1.8.11/debian/build.xml:20: Compile failed; see the compiler
> error output for details.
> ...
>
>
> Unfortunately I'm no Java expert and just wanted to help since svnkit is
> a predependency of one of the Debian Med packages I'm caring for
> (prottest).  So I need to admit that I can't help more than just
> reporting this here and hope this might be some valuable information
> anyway
>
> Kind regards
>
>       Andreas.
>
> --
> http://fam-tille.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20151104/cd1a68e7/attachment-0001.html>


More information about the pkg-java-maintainers mailing list