Source: jmock2 Version: 2.5.1+dfsg-1 Severity: serious Tags: wheezy sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20120321 qa-ftbfs Justification: FTBFS on amd64
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: > 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/hamcrest-core.jar:/usr/share/java/hamcrest-library.jar:/usr/share/java/junit4.jar:/usr/share/java/cglib.jar:/usr/share/java/bsh.jar:/usr/share/java/asm3.jar:/usr/share/java/objenesis.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 -Dversion=2.5.1 zip.jars javadoc > Buildfile: /«BUILDDIR»/jmock2-2.5.1+dfsg/build.xml > > dir.build: > [mkdir] Created dir: /«BUILDDIR»/jmock2-2.5.1+dfsg/build > > compile: > [mkdir] Created dir: /«BUILDDIR»/jmock2-2.5.1+dfsg/build/classes > [javac] /«BUILDDIR»/jmock2-2.5.1+dfsg/build.xml:61: warning: > 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set > to false for repeatable builds > [javac] Compiling 175 source files to > /«BUILDDIR»/jmock2-2.5.1+dfsg/build/classes > [javac] Money.java:30: warning: unmappable character for encoding ASCII > [javac] return "??" + amount; > [javac] ^ > [javac] Money.java:30: warning: unmappable character for encoding ASCII > [javac] return "??" + amount; > [javac] ^ > [javac] HamcrestTypeSafetyAcceptanceTests.java:3: cannot find symbol > [javac] symbol : class OrderingComparisons > [javac] location: package org.hamcrest.number > [javac] import static org.hamcrest.number.OrderingComparisons.greaterThan; > [javac] ^ > [javac] HamcrestTypeSafetyAcceptanceTests.java:3: static import only from > classes and interfaces > [javac] import static org.hamcrest.number.OrderingComparisons.greaterThan; > [javac] ^ > [javac] HamcrestTypeSafetyAcceptanceTests.java:4: cannot find symbol > [javac] symbol : class StringStartsWith > [javac] location: package org.hamcrest.text > [javac] import static org.hamcrest.text.StringStartsWith.startsWith; > [javac] ^ > [javac] HamcrestTypeSafetyAcceptanceTests.java:4: static import only from > classes and interfaces > [javac] import static org.hamcrest.text.StringStartsWith.startsWith; > [javac] ^ > [javac] Expectations.java:187: incompatible types > [javac] found : capture#280 of ? super java.lang.Boolean > [javac] required: boolean > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:191: incompatible types > [javac] found : capture#78 of ? super java.lang.Byte > [javac] required: byte > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:195: incompatible types > [javac] found : capture#644 of ? super java.lang.Short > [javac] required: short > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:199: incompatible types > [javac] found : capture#649 of ? super java.lang.Character > [javac] required: char > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:203: incompatible types > [javac] found : capture#229 of ? super java.lang.Integer > [javac] required: int > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:207: incompatible types > [javac] found : capture#162 of ? super java.lang.Long > [javac] required: long > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:211: incompatible types > [javac] found : capture#772 of ? super java.lang.Float > [javac] required: float > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:215: incompatible types > [javac] found : capture#65 of ? super java.lang.Double > [javac] required: double > [javac] return with(equalTo(value)); > [javac] ^ > [javac] Expectations.java:219: incompatible types > [javac] found : capture#415 of ? super T > [javac] required: T > [javac] return with(equalTo(value)); > [javac] ^ > [javac] HamcrestTypeSafetyAcceptanceTests.java:26: cannot find symbol > [javac] symbol: method startsWith(java.lang.String) > [javac] exactly(1).of > (anything()).method(withName("m")).with(startsWith("x")); > [javac] > ^ > [javac] HamcrestTypeSafetyAcceptanceTests.java:27: cannot find symbol > [javac] symbol: method greaterThan(int) > [javac] exactly(1).of > (anything()).method(withName("m")).with(greaterThan(0)); > [javac] > ^ > [javac] InvocationExpectationTests.java:63: > setMethodMatcher(org.hamcrest.Matcher<java.lang.reflect.Method>) in > org.jmock.internal.InvocationExpectation cannot be applied to > (org.hamcrest.Matcher<capture#968 of ? super java.lang.reflect.Method>) > [javac] expectation.setMethodMatcher(equalTo(method)); > [javac] ^ > [javac] InvocationExpectationTests.java:75: > setParametersMatcher(org.hamcrest.Matcher<java.lang.Object[]>) in > org.jmock.internal.InvocationExpectation cannot be applied to > (org.hamcrest.Matcher<capture#220 of ? super java.lang.Object[]>) > [javac] expectation.setParametersMatcher(equalTo(args)); > [javac] ^ > [javac] Note: JMock.java uses or overrides a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] 17 errors > [javac] 2 warnings > > BUILD FAILED > /«BUILDDIR»/jmock2-2.5.1+dfsg/build.xml:61: Compile failed; see the compiler > error output for details. > > Total time: 9 seconds > make: *** [debian/stamp-ant-build] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2012/03/21/jmock2_2.5.1+dfsg-1.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 about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org