[Pkg-freeipa-devel] Bug#964662: tomcatjss: FTBFS: [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSImplementation.java:25: error: package org.apache.tomcat.util.net.jsse does not exist

Lucas Nussbaum lucas at debian.org
Thu Jul 9 11:49:27 BST 2020


Source: tomcatjss
Version: 7.4.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

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.8 -Dant.build.javac.target=1.8 \
> 	-Dsrc.dir=tomcat-8.5 \
> 	-Dcatalina.jar=/usr/share/java/tomcat9-catalina.jar \
> 	-Dtomcat-api.jar=/usr/share/java/tomcat9-api.jar \
> 	-Dtomcat-coyote.jar=/usr/share/java/tomcat9-coyote.jar \
> 	-Dtomcat-juli.jar=/usr/share/java/tomcat9-juli.jar \
> 	-Dinstall.doc.dir=build/usr/share/doc/tomcatjss \
> 	-Dinstall.jar.dir=build/usr/share/java \
> 	-Dslf4j-api.jar=/usr/share/java/slf4j-api.jar \
> 	install
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> 
> compile:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
>     [javac] /<<PKGBUILDDIR>>/build.xml:220: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 9 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] /<<PKGBUILDDIR>>/src/org/dogtagpki/tomcat/JSSKeyManager.java:36: warning: X509CertImpl is internal proprietary API and may be removed in a future release
>     [javac] import sun.security.x509.X509CertImpl;
>     [javac]                         ^
>     [javac] /<<PKGBUILDDIR>>/src/org/dogtagpki/tomcat/JSSTrustManager.java:37: warning: X509CertImpl is internal proprietary API and may be removed in a future release
>     [javac] import sun.security.x509.X509CertImpl;
>     [javac]                         ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSImplementation.java:25: error: package org.apache.tomcat.util.net.jsse does not exist
>     [javac] import org.apache.tomcat.util.net.jsse.JSSEImplementation;
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSImplementation.java:29: error: cannot find symbol
>     [javac] public class JSSImplementation extends JSSEImplementation {
>     [javac]                                        ^
>     [javac]   symbol: class JSSEImplementation
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:26: error: package org.apache.tomcat.util.net.jsse does not exist
>     [javac] import org.apache.tomcat.util.net.jsse.JSSEKeyManager;
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:27: error: package org.apache.tomcat.util.net.jsse does not exist
>     [javac] import org.apache.tomcat.util.net.jsse.JSSEUtil;
>     [javac]                                       ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:31: error: cannot find symbol
>     [javac] public class JSSUtil extends JSSEUtil {
>     [javac]                              ^
>     [javac]   symbol: class JSSEUtil
>     [javac] /<<PKGBUILDDIR>>/src/org/dogtagpki/tomcat/JSSKeyManager.java:87: warning: X509CertImpl is internal proprietary API and may be removed in a future release
>     [javac]                 list.add(new X509CertImpl(c.getEncoded()));
>     [javac]                              ^
>     [javac] /<<PKGBUILDDIR>>/src/org/dogtagpki/tomcat/JSSTrustManager.java:181: warning: X509CertImpl is internal proprietary API and may be removed in a future release
>     [javac]                     X509CertImpl caCert = new X509CertImpl(cert.getEncoded());
>     [javac]                     ^
>     [javac] /<<PKGBUILDDIR>>/src/org/dogtagpki/tomcat/JSSTrustManager.java:181: warning: X509CertImpl is internal proprietary API and may be removed in a future release
>     [javac]                     X509CertImpl caCert = new X509CertImpl(cert.getEncoded());
>     [javac]                                               ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSImplementation.java:37: error: method does not override or implement a method from a supertype
>     [javac]     @Override
>     [javac]     ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSImplementation.java:48: error: incompatible types: JSSUtil cannot be converted to SSLUtil
>     [javac]         return new JSSUtil(cert);
>     [javac]                ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:40: error: method does not override or implement a method from a supertype
>     [javac]     @Override
>     [javac]     ^
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:43: error: cannot find symbol
>     [javac]         String keyAlias = certificate.getCertificateKeyAlias();
>     [javac]                           ^
>     [javac]   symbol:   variable certificate
>     [javac]   location: class JSSUtil
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:44: error: cannot find symbol
>     [javac]         KeyManager keyManager = new JSSEKeyManager(new JSSKeyManager(), keyAlias);
>     [javac]                                     ^
>     [javac]   symbol:   class JSSEKeyManager
>     [javac]   location: class JSSUtil
>     [javac] /<<PKGBUILDDIR>>/tomcat-8.5/src/org/dogtagpki/tomcat/JSSUtil.java:48: error: method does not override or implement a method from a supertype
>     [javac]     @Override
>     [javac]     ^
>     [javac] Note: /<<PKGBUILDDIR>>/src/org/apache/tomcat/util/net/jss/TomcatJSS.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 11 errors
>     [javac] 6 warnings
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:220: Compile failed; see the compiler error output for details.
> 
> Total time: 1 second
> make[1]: *** [debian/rules:10: override_dh_auto_build] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/tomcatjss_7.4.1-1_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