[Pkg-freeipa-devel] Bug#846677: tomcatjss: FTBFS: [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/IJSSFactory.java:26: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Dec 3 07:22:11 UTC 2016


Source: tomcatjss
Version: 7.1.4-4
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161202 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ant -Dant.build.javac.source=1.5 \
> 	-Dant.build.javac.target=1.5
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> compile:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
>     [javac] /<<PKGBUILDDIR>>/build.xml:209: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 7 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
>     [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/IJSSFactory.java:26: error: cannot find symbol
>     [javac] import org.apache.tomcat.util.net.ServerSocketFactory;
>     [javac]                                  ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: package org.apache.tomcat.util.net
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/IJSSFactory.java:29: error: cannot find symbol
>     [javac]     public ServerSocketFactory getSocketFactory(AbstractEndpoint endpoint);
>     [javac]            ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: interface IJSSFactory
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSFactory.java:26: error: cannot find symbol
>     [javac] import org.apache.tomcat.util.net.ServerSocketFactory;
>     [javac]                                  ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: package org.apache.tomcat.util.net
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSFactory.java:33: error: cannot find symbol
>     [javac]     public ServerSocketFactory getSocketFactory(AbstractEndpoint endpoint) {
>     [javac]            ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: class JSSFactory
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSImplementation.java:28: error: cannot find symbol
>     [javac] import org.apache.tomcat.util.net.ServerSocketFactory;
>     [javac]                                  ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: package org.apache.tomcat.util.net
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSImplementation.java:55: error: cannot find symbol
>     [javac]     public ServerSocketFactory getServerSocketFactory(AbstractEndpoint endpoint) {
>     [javac]            ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: class JSSImplementation
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSSocketFactory.java:60: error: cannot find symbol
>     [javac]         org.apache.tomcat.util.net.ServerSocketFactory,
>     [javac]                                   ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: package org.apache.tomcat.util.net
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSImplementation.java:30: error: JSSImplementation is not abstract and does not override abstract method getSSLUtil(SSLHostConfigCertificate) in SSLImplementation
>     [javac] public class JSSImplementation extends SSLImplementation {
>     [javac]        ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSImplementation.java:56: error: cannot find symbol
>     [javac]         ServerSocketFactory ssf = factory.getSocketFactory(endpoint);
>     [javac]         ^
>     [javac]   symbol:   class ServerSocketFactory
>     [javac]   location: class JSSImplementation
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSSocketFactory.java:59: error: JSSSocketFactory is not abstract and does not override abstract method getEnabledCiphers() in SSLUtil
>     [javac] public class JSSSocketFactory implements
>     [javac]        ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSSupport.java:31: error: JSSSupport is not abstract and does not override abstract method getPeerCertificateChain() in SSLSupport
>     [javac] class JSSSupport implements SSLSupport {
>     [javac] ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSSupport.java:84: error: getPeerCertificateChain() in JSSSupport cannot implement getPeerCertificateChain() in SSLSupport
>     [javac]     public Object[] getPeerCertificateChain() throws IOException {
>     [javac]                     ^
>     [javac]   return type Object[] is not compatible with X509Certificate[]
>     [javac] Note: /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/JSSSocketFactory.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 12 errors
>     [javac] 4 warnings
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:209: Compile failed; see the compiler error output for details.
> 
> Total time: 0 seconds
> debian/rules:15: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/12/02/tomcatjss_7.1.4-4_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-freeipa-devel mailing list