Bug#458696: mockobjects: FTBFS: Cannot reduce the visibility of the inherited method from Assert
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Jan 2 12:21:31 UTC 2008
Package: mockobjects
version: 0.09-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080101 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
> dpkg-source: building mockobjects in mockobjects_0.09-2.dsc
> debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd . && /usr/lib/jvm/java-gcj/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/junit.jar:/usr/lib/jvm/java-gcj/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true jar-core javadoc
> Buildfile: build.xml
>
> project-properties:
>
> useful-file-patterns:
>
> source-locations:
>
> check-availabilities:
> [available] DEPRECATED - <available> used to override an existing property.
> [available] Build file should not reuse the same property name for different values.
> [available] DEPRECATED - <available> used to override an existing property.
> [available] Build file should not reuse the same property name for different values.
>
> call-me-first:
> [echo] --------- Mock Objects 0.09 ---------
> [echo]
> [echo] java.class.path = /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/junit.jar:/usr/lib/jvm/java-gcj/lib/tools.jar
> [echo]
> [echo] java.home = /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre
> [echo] user.home = /nonexistent
> [echo] ant.home = /usr/share/ant
> [echo]
>
> compile-core:
> [mkdir] Created dir: /build/user/mockobjects-0.09/out/core/classes
> [javac] Compiling 95 source files to /build/user/mockobjects-0.09/out/core/classes
> [javac] ----------
> [javac] 1. ERROR in /build/user/mockobjects-0.09/src/core/com/mockobjects/util/AssertMo.java (at line 80)
> [javac] static protected void failNotEquals(
> [javac] String message,
> [javac] Object expected,
> [javac]
> [javac] Object actual) {
> [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [javac] Cannot reduce the visibility of the inherited method from Assert
> [javac] ----------
> [javac] ----------
> [javac] 2. WARNING in /build/user/mockobjects-0.09/src/core/com/mockobjects/util/NotImplementedException.java (at line 5)
> [javac] public class NotImplementedException extends AssertionFailedError {
> [javac] ^^^^^^^^^^^^^^^^^^^^^^^
> [javac] The serializable class NotImplementedException does not declare a static final serialVersionUID field of type long
> [javac] ----------
> [javac] ----------
> [javac] 3. WARNING in /build/user/mockobjects-0.09/src/core/test/mockobjects/TestExpectationSet.java
> [javac] (at line 8)
> [javac] import java.util.ArrayList;
> [javac] ^^^^^^^^^^^^^^^^^^^
> [javac] The import java.util.ArrayList is never used
> [javac] ----------
> [javac] ----------
> [javac] 4. WARNING in /build/user/mockobjects-0.09/src/core/test/mockobjects/TestVerifier.java
> [javac] (at line 15)
> [javac] private int unusedField;
> [javac] ^^^^^^^^^^^
> [javac] The field TestVerifier.OneVerifiable.unusedField is never read locally
> [javac] ----------
> [javac] ----------
> [javac] 5. WARNING in /build/user/mockobjects-0.09/src/core/test/mockobjects/constraint/ConstraintsTest.java (at line 157)
> [javac] private static class DerivedEvent extends EventObject {
> [javac] ^^^^^^^^^^^^
> [javac] The serializable class DerivedEvent does not declare a static final serialVersionUID field of type long
> [javac] ----------
> [javac] ----------
> [javac] 6. WARNING in /build/user/mockobjects-0.09/src/core/test/mockobjects/dynamic/DummyThrowable.java
> [javac] (at line 9)
> [javac] public class DummyThrowable extends Throwable {
> [javac] ^^^^^^^^^^^^^^
> [javac] The serializable class DummyThrowable does not declare a static final serialVersionUID field of type long
> [javac] ----------
> [javac] 6 problems (1 error, 5 warnings)
>
> BUILD FAILED
> /build/user/mockobjects-0.09/build.xml:118: Compile failed; see the compiler error output for details.
>
> Total time: 1 second
> make: *** [debian/stamp-ant-build] Error 1
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The full build log is available from:
http://people.debian.org/~lucas/logs/2008/01/01
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 containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-java-maintainers
mailing list