Source: not-yet-commons-ssl
Version: 0.3.15-2
Severity: serious
Tags: buster sid
User: [email protected]
Usertags: qa-ftbfs-20170719 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):
> debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd . && /usr/lib/jvm/default-java/bin/java -classpath
> /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/bcprov.jar:/usr/share/java/ant-junit.jar:/usr/lib/jvm/default-java/lib/tools.jar
> -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true
> -Dcompile.optimize=true jar javadocs
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>
> init:
> [echo] Apache Ant(TM) version 1.9.9 compiled on June 29 2017
> [echo] Java version: 1.8.0_131
> [mkdir] Created dir: /<<PKGBUILDDIR>>/build
>
> javac:
> [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
> [javac] Compiling 136 source files to /<<PKGBUILDDIR>>/build/classes
> [javac]
> /<<PKGBUILDDIR>>/src/java/org/apache/commons/ssl/Certificates.java:408:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
> [javac] setConnTimeOut.invoke(httpConn, new
> Integer[]{new Integer(5000)});
> [javac] ^
> [javac] cast to Object for a varargs call
> [javac] cast to Object[] for a non-varargs call and to suppress this
> warning
> [javac]
> /<<PKGBUILDDIR>>/src/java/org/apache/commons/ssl/Certificates.java:409:
> warning: non-varargs call of varargs method with inexact argument type for
> last parameter;
> [javac] setReadTimeout.invoke(httpConn, new
> Integer[]{new Integer(5000)});
> [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] 2 warnings
>
> rmic:
> [rmic] RMI Compiling 2 classes to /<<PKGBUILDDIR>>/build/classes
> [rmic] Warning: generation and use of skeletons and static stubs for JRMP
> [rmic] is deprecated. Skeletons are unnecessary, and static stubs have
> [rmic] been superseded by dynamically generated stubs. Users are
> [rmic] encouraged to migrate away from using rmic to generate skeletons
> and static
> [rmic] stubs. See the documentation for
> java.rmi.server.UnicastRemoteObject.
>
> jar:
> [jar] Building jar: /<<PKGBUILDDIR>>/build/not-yet-commons-ssl.jar
>
> init:
> [echo] Apache Ant(TM) version 1.9.9 compiled on June 29 2017
> [echo] Java version: 1.8.0_131
>
> javadocs:
> [mkdir] Created dir: /<<PKGBUILDDIR>>/build/javadocs
> [javadoc] Generating Javadoc
> [javadoc] Javadoc execution
> [javadoc] Loading source files for package
> org.apache.commons.httpclient.contrib.ssl...
> [javadoc] Loading source files for package org.apache.commons.ssl...
> [javadoc] Loading source files for package org.apache.commons.ssl.asn1...
> [javadoc] Loading source files for package org.apache.commons.ssl.rmi...
> [javadoc] Loading source files for package org.apache.commons.ssl.util...
> [javadoc] Constructing Javadoc information...
> [javadoc] Standard Doclet version 1.8.0_131
> [javadoc] Building tree for all the packages and classes...
> [javadoc] Building index for all the packages and classes...
> [javadoc] Building index for all classes...
>
> BUILD SUCCESSFUL
> Total time: 1 minute 20 seconds
> touch debian/stamp-ant-build
> cd . && /usr/lib/jvm/default-java/bin/java -classpath
> /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/bcprov.jar:/usr/share/java/ant-junit.jar:/usr/lib/jvm/default-java/lib/tools.jar
> -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true
> -Dcompile.optimize=true test
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>
> init:
> [echo] Apache Ant(TM) version 1.9.9 compiled on June 29 2017
> [echo] Java version: 1.8.0_131
>
> javac:
>
> rmic:
>
> jar:
>
> test-jar:
> [mkdir] Created dir: /<<PKGBUILDDIR>>/build/test-classes
> [javac] Compiling 9 source files to /<<PKGBUILDDIR>>/build/test-classes
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/contrib/ssl/TestHttpclientContrib.java:3:
> error: package org.junit does not exist
> [javac] import static org.junit.Assert.assertEquals;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/contrib/ssl/TestHttpclientContrib.java:3:
> error: static import only from classes and interfaces
> [javac] import static org.junit.Assert.assertEquals;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/contrib/ssl/TestHttpclientContrib.java:4:
> error: package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestBase64.java:3: error:
> package org.junit does not exist
> [javac] import static org.junit.Assert.assertTrue;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestBase64.java:3: error:
> static import only from classes and interfaces
> [javac] import static org.junit.Assert.assertTrue;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestBase64.java:4: error:
> package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestCertificates.java:3:
> error: package org.junit does not exist
> [javac] import org.junit.Assert;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestCertificates.java:4:
> error: package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestCertificates.java:5:
> error: package org.junit.runner does not exist
> [javac] import org.junit.runner.RunWith;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestCertificates.java:23:
> error: cannot find symbol
> [javac] @RunWith(MockitoJUnitRunner.class)
> [javac] ^
> [javac] symbol: class RunWith
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestIPAddressParser.java:4:
> error: package org.junit does not exist
> [javac] import static org.junit.Assert.*;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestIPAddressParser.java:5:
> error: package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestKeyMaterial.java:5:
> error: package org.junit does not exist
> [javac] import static org.junit.Assert.*;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestKeyMaterial.java:6:
> error: package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:4: error:
> package org.junit does not exist
> [javac] import static org.junit.Assert.*;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:5: error:
> package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestPKCS8Key.java:4: error:
> package org.junit does not exist
> [javac] import static org.junit.Assert.*;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestPKCS8Key.java:5: error:
> package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestTrustMaterial.java:4:
> error: package org.junit does not exist
> [javac] import org.junit.Assert;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestTrustMaterial.java:5:
> error: package org.junit does not exist
> [javac] import org.junit.Test;
> [javac] ^
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/httpclient/contrib/ssl/TestHttpclientContrib.java:14:
> error: cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestHttpclientContrib
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestBase64.java:13: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestBase64
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestBase64.java:47: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestBase64
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestCertificates.java:29:
> error: cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestCertificates
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestCertificates.java:51:
> error: cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestCertificates
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestIPAddressParser.java:9:
> error: cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestIPAddressParser
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestKeyMaterial.java:29:
> error: cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestKeyMaterial
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:48: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestOpenSSL
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:53: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestOpenSSL
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:58: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestOpenSSL
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:63: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestOpenSSL
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestOpenSSL.java:68: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestOpenSSL
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestPKCS8Key.java:14: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestPKCS8Key
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestPKCS8Key.java:19: error:
> cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestPKCS8Key
> [javac]
> /<<PKGBUILDDIR>>/src/test/org/apache/commons/ssl/TestTrustMaterial.java:9:
> error: cannot find symbol
> [javac] @Test
> [javac] ^
> [javac] symbol: class Test
> [javac] location: class TestTrustMaterial
> [javac] 35 errors
>
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:47: Compile failed; see the compiler error output
> for details.
>
> Total time: 1 second
> /usr/share/cdbs/1/class/ant.mk:56: recipe for target 'debian/stamp-ant-check'
> failed
> make: *** [debian/stamp-ant-check] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/07/19/not-yet-commons-ssl_0.3.15-2_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.