Public bug reported:
During a rebuild test on precise with default-jdk switched to openjdk-7,
a build failure was detected for easymock version 2.4+ds1-6.
See attached log for full build failure details.
This log snippet might also be of interest:
[javac] /«BUILDDIR»/easymock-2.4+ds1/debian/build.xml:24: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 63 source files to /«BUILDDIR»/easymock-2.4+ds1/build
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
[javac] /«BUILDDIR»/easymock-2.4+ds1/src/org/easymock/EasyMock.java:1433:
error: name clash: capture(Capture<Integer>) and <T>capture(Capture<T>) have
the same erasure
[javac] public static int capture(Capture<Integer> captured) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(Capture<T>)
[javac] /«BUILDDIR»/easymock-2.4+ds1/src/org/easymock/EasyMock.java:1444:
error: name clash: capture(Capture<Long>) and <T>capture(Capture<T>) have the
same erasure
[javac] public static long capture(Capture<Long> captured) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(Capture<T>)
[javac] /«BUILDDIR»/easymock-2.4+ds1/src/org/easymock/EasyMock.java:1455:
error: name clash: capture(Capture<Float>) and <T>capture(Capture<T>) have the
same erasure
[javac] public static float capture(Capture<Float> captured) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(Capture<T>)
[javac] /«BUILDDIR»/easymock-2.4+ds1/src/org/easymock/EasyMock.java:1466:
error: name clash: capture(Capture<Double>) and <T>capture(Capture<T>) have the
same erasure
[javac] public static double capture(Capture<Double> captured) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(Capture<T>)
[javac] /«BUILDDIR»/easymock-2.4+ds1/src/org/easymock/EasyMock.java:1477:
error: name clash: capture(Capture<Byte>) and <T>capture(Capture<T>) have the
same erasure
[javac] public static byte capture(Capture<Byte> captured) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(Capture<T>)
[javac] /«BUILDDIR»/easymock-2.4+ds1/src/org/easymock/EasyMock.java:1488:
error: name clash: capture(Capture<Character>) and <T>capture(Capture<T>) have
the same erasure
[javac] public static char capture(Capture<Character> captured) {
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in method <T>capture(Capture<T>)
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 6 errors
[javac] 1 warning
BUILD FAILED
/«BUILDDIR»/easymock-2.4+ds1/debian/build.xml:24: Compile failed; see the
compiler error output for details.
Total time: 1 second
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111109-1220
Finished
────────
E: Build failure (dpkg-buildpackage died)
** Affects: easymock (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 auto java7-ftbfs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/888122
Title:
easymock version 2.4+ds1-6 failed to build with openjdk-7
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/easymock/+bug/888122/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs