Bug#802356: Latest version (1.8.11) fails to build
Hi again, Emmanuel Bourg has kindly packaged sequence-library version 1.0.3 and this is used now in the build (see full build log attached to this mail). On Wed, Nov 04, 2015 at 03:29:03PM +0100, TMate Software Support wrote: > Hello Andreas, > > Thank you for reporting this issue! So far I have no idea why it fails to > compile. Unfortunately there are new errors now - actually these are not new but perfectly identical to the one reported in Debian bug #802356: [javac] Compiling 31 source files to /tmp/buildd/svnkit-1.8.11/svnkit-javahl16/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] /tmp/buildd/svnkit-1.8.11/svnkit-javahl16/src/main/java/org/apache/subversion/javahl/SVNClient.java:37: error: SVNClient is not abstract and does not override abstract method openRemoteSession(Strin g,int) in ISVNClient [javac] public class SVNClient implements ISVNClient { [javac]^ [javac] /tmp/buildd/svnkit-1.8.11/svnkit-javahl16/src/main/java/org/tmatesoft/svn/core/javahl17/SVNClientImpl.java:100: error: SVNClientImpl is not abstract and does not override abstract method openRemoteS ession(String,int) in ISVNClient [javac] public class SVNClientImpl implements ISVNClient { [javac]^ [javac] /tmp/buildd/svnkit-1.8.11/svnkit-javahl16/src/main/java/org/apache/subversion/javahl/SVNRepos.java:16: error: SVNRepos is not abstract and does not override abstract method verify(File,Revision,Revi sion,boolean,boolean,ReposNotifyCallback,ReposVerifyCallback) in ISVNRepos [javac] public class SVNRepos implements ISVNRepos { [javac]^ [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] 1 warning So while I hoped that the new svnkit version would solve the existing issue it is now back after settling with the new needed dependencies. Sorry, I have no idea how to go further from here but at least I've forwarded the issue. Kind regards Andreas. -- http://fam-tille.de svnkit_1.8.11-1_amd64.build.gz Description: application/gzip
Bug#802356: Latest version (1.8.11) fails to build
Le 04/11/2015 16:24, Andreas Tille a écrit : > Any volunteer to upgrade libsequence-library-java to (possibly) fix #802356? done :)
Bug#802356: Latest version (1.8.11) fails to build
Hi folks, I cloned the Git archive of libsequence-library-java and tried libsequence-library-java(master) $ LC_ALL=C uscan --verbose -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: http://svn.svnkit.com/repos/3rdparty/de.regnis.q.sequence/tags/ (\d.*)/ -- Found the following matching hrefs: 0.0.1/ (0.0.1) 1.0.0-rc1/ (1.0.0-rc1) 1.0.1-rc1/ (1.0.1-rc1) 1.0.2/ (1.0.2) 1.0.3/ (1.0.3) Newest version on remote site is 1.0.3, local version is 1.0.2 => Newer version available from http://svn.svnkit.com/repos/3rdparty/de.regnis.q.sequence/tags/1.0.3/ -- Downloading updated package 1.0.3 -- Checking for common possible upstream OpenPGP signatures Parameter ../1.0.3 does not look like a tar archive or a zip file. at /usr/bin/mk-origtargz line 330. uscan: error: mk-origtargz --package libsequence-library-java --version 1.0.3 --compression gzip --directory .. --copyright-file debian/copyright ../1.0.3 gave error exit status 255 No idea how you fetched the orig source before but I doubt that the debian/watch file could work at all. Any volunteer to upgrade libsequence-library-java to (possibly) fix #802356? Kind regards Andreas. On Wed, Nov 04, 2015 at 03:54:14PM +0100, TMate Software Support wrote: > Hello Andreas, > > This might be a hint. This library will be provided in Debian by the > > package libsequence-library-java which has version 1.0.2 currently. > > I'll try to make an upgrade happen and will report in case this is not > > sufficient. > > > Upgrading to 1.0.3 should resolve the problem then. > > By default, gradle should download exact library version specified as a > dependency from the central maven repository. It might be that it does > download it, but compile classpath includes system package (1.0.2) and > older version is actually used. > > With best regards, > Alexander Kitaev, > TMate Software, > http://subgit.com/ git-svn import & mirror > > On 4 November 2015 at 15:50, Andreas Tille wrote: > > > Hi, > > > > On Wed, Nov 04, 2015 at 03:29:03PM +0100, TMate Software Support wrote: > > > 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. > > > > This might be a hint. This library will be provided in Debian by the > > package libsequence-library-java which has version 1.0.2 currently. > > I'll try to make an upgrade happen and will report in case this is not > > sufficient. > > > > > 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? > > > > I attached the full build log of the package which should answer these > > questions. > > > > > And finally how do you obtain SVNKit 1.8.11 sources? > > > > Debian command uscan is parsing > > > > http://svnkit.com/download.php > > > > and fetched it from there. > > > > > 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? > > > > I do not think so. > > > > Kind regards > > > > Andreas. > > > > -- > > http://fam-tille.de > > -- http://fam-tille.de
Bug#802356: Latest version (1.8.11) fails to build
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 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
Bug#802356: Latest version (1.8.11) fails to build
Hello Andreas, This might be a hint. This library will be provided in Debian by the > package libsequence-library-java which has version 1.0.2 currently. > I'll try to make an upgrade happen and will report in case this is not > sufficient. Upgrading to 1.0.3 should resolve the problem then. By default, gradle should download exact library version specified as a dependency from the central maven repository. It might be that it does download it, but compile classpath includes system package (1.0.2) and older version is actually used. With best regards, Alexander Kitaev, TMate Software, http://subgit.com/ git-svn import & mirror On 4 November 2015 at 15:50, Andreas Tille wrote: > Hi, > > On Wed, Nov 04, 2015 at 03:29:03PM +0100, TMate Software Support wrote: > > 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. > > This might be a hint. This library will be provided in Debian by the > package libsequence-library-java which has version 1.0.2 currently. > I'll try to make an upgrade happen and will report in case this is not > sufficient. > > > 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? > > I attached the full build log of the package which should answer these > questions. > > > And finally how do you obtain SVNKit 1.8.11 sources? > > Debian command uscan is parsing > > http://svnkit.com/download.php > > and fetched it from there. > > > 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? > > I do not think so. > > Kind regards > > Andreas. > > -- > http://fam-tille.de >
Bug#802356: Latest version (1.8.11) fails to build
Hi, On Wed, Nov 04, 2015 at 03:29:03PM +0100, TMate Software Support wrote: > 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. This might be a hint. This library will be provided in Debian by the package libsequence-library-java which has version 1.0.2 currently. I'll try to make an upgrade happen and will report in case this is not sufficient. > 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? I attached the full build log of the package which should answer these questions. > And finally how do you obtain SVNKit 1.8.11 sources? Debian command uscan is parsing http://svnkit.com/download.php and fetched it from there. > 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? I do not think so. Kind regards Andreas. -- http://fam-tille.de svnkit_1.8.11-1_amd64.build.gz Description: application/gzip
Bug#802356: Latest version (1.8.11) fails to build
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