Bug#1028768: svnkit: FTBFS: [javac] /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java:78: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:35:15 GMT 2023


Source: svnkit
Version: 1.10.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> VERSION=$(dpkg-parsechangelog | grep Version: | cut -d' ' -f 2); \
> echo $VERSION | { \
> 	IFS='.-+' read MAJOR MINOR MICRO DFSG DEBIAN; \
> 	export MAJOR MINOR MICRO DEBIAN; \
>         ant -f debian/build.xml -propertyfile debian/ant.properties; \
> };
> Buildfile: /<<PKGBUILDDIR>>/debian/build.xml
> 
> init-environment:
> 
> compile-library:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/svnkit/bin
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/svnkit-cli/bin
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/svnkit-javahl16/bin
>     [javac] /<<PKGBUILDDIR>>/debian/build.xml:20: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1082 source files to /<<PKGBUILDDIR>>/svnkit/bin
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] warning: [options] source value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/SVNThreadPool.java:82: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
>     [javac]             SecurityManager s = System.getSecurityManager();
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/SVNThreadPool.java:82: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
>     [javac]             SecurityManager s = System.getSecurityManager();
>     [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] 6 warnings
>     [javac] /<<PKGBUILDDIR>>/debian/build.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 124 source files to /<<PKGBUILDDIR>>/svnkit-cli/bin
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] warning: [options] source value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/svnkit-cli/src/main/java/org/tmatesoft/svn/cli/SvnCliTest.java:24: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
>     [javac]         final SecurityManager securityManager = new SecurityManager() {
>     [javac]               ^
>     [javac] /<<PKGBUILDDIR>>/svnkit-cli/src/main/java/org/tmatesoft/svn/cli/SvnCliTest.java:24: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
>     [javac]         final SecurityManager securityManager = new SecurityManager() {
>     [javac]                                                     ^
>     [javac] /<<PKGBUILDDIR>>/svnkit-cli/src/main/java/org/tmatesoft/svn/cli/SvnCliTest.java:36: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
>     [javac]         System.setSecurityManager(securityManager);
>     [javac]               ^
>     [javac] /<<PKGBUILDDIR>>/svnkit-cli/src/main/java/org/tmatesoft/svn/cli/SvnCliTest.java:43: warning: [removal] setSecurityManager(SecurityManager) in System has been deprecated and marked for removal
>     [javac]         System.setSecurityManager(null);
>     [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] 8 warnings
>     [javac] /<<PKGBUILDDIR>>/debian/build.xml:26: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 38 source files to /<<PKGBUILDDIR>>/svnkit-javahl16/bin
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] warning: [options] source value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [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] 4 warnings
> 
> compile-library-eclipse:
>     [javac] /<<PKGBUILDDIR>>/debian/build.xml:38: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1 source file to /<<PKGBUILDDIR>>/svnkit/bin
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
>     [javac] warning: [options] source value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 7 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java:78: error: cannot find symbol
>     [javac]             Map info = Platform.getAuthorizationInfo(DEFAULT_URL, realm, kind);
>     [javac]                                ^
>     [javac]   symbol:   method getAuthorizationInfo(URL,String,String)
>     [javac]   location: class Platform
>     [javac] /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java:168: error: cannot find symbol
>     [javac]                 Platform.addAuthorizationInfo(DEFAULT_URL, realm, kind, info);
>     [javac]                         ^
>     [javac]   symbol:   method addAuthorizationInfo(URL,String,String,Map)
>     [javac]   location: class Platform
>     [javac] /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java:174: error: cannot find symbol
>     [javac]             Map info = Platform.getAuthorizationInfo(DEFAULT_URL, realm, "svn.ssh.server");
>     [javac]                                ^
>     [javac]   symbol:   method getAuthorizationInfo(URL,String,String)
>     [javac]   location: class Platform
>     [javac] /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java:186: error: cannot find symbol
>     [javac]                 Platform.addAuthorizationInfo(DEFAULT_URL, realm, "svn.ssh.server", info);
>     [javac]                         ^
>     [javac]   symbol:   method addAuthorizationInfo(URL,String,String,Map)
>     [javac]   location: class Platform
>     [javac] Note: /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/svnkit-osgi/src/main/java/org/tmatesoft/svn/core/internal/wc/EclipseSVNAuthenticationManager.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 4 errors
>     [javac] 4 warnings
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/debian/build.xml:38: Compile failed; see the compiler error output for details.
> 
> Total time: 8 seconds
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/svnkit_1.10.3-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list