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

Andreas Tille andreas at an3as.eu
Tue Nov 3 11:22:39 UTC 2015


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



More information about the pkg-java-maintainers mailing list