On Sun, 10 Jun 2007, Ian Darwin wrote:
Can you show me the build log please?
+++ Wed Jun 6 12:17:35 MDT 2007
===> Returning to build of junit-3.8.2
===> junit-3.8.2 depends on: apache-ant-* - found
===> junit-3.8.2 depends on: jdk-1.3.1 - found
===> junit-3.8.2 depends on: unzip-* - found
===> Extracting for junit-3.8.2
cp /usr/ports/java/junit/files/build.xml /usr/obj/ports/junit-3.8.2/junit3.8.2
===> Patching for junit-3.8.2
===> Configuring for junit-3.8.2
===> Building for junit-3.8.2
[javac]
/usr/obj/ports/junit-3.8.2/junit3.8.2/junit/framework/Assert.java:95: cannot
resolve symbol
[javac] symbol : method compare (double,double)
[javac] location: class java.lang.Double
[javac] if (Double.compare(expected, actual) == 0)
[javac] ^
[javac]
/usr/obj/ports/junit-3.8.2/junit3.8.2/junit/framework/Assert.java:146:
valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean)
[javac] assertEquals(message,
Boolean.valueOf(expected), Boolean.valueOf(actual));
[javac] ^
[javac]
/usr/obj/ports/junit-3.8.2/junit3.8.2/junit/framework/Assert.java:146:
valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean)
[javac] assertEquals(message,
Boolean.valueOf(expected), Boolean.valueOf(actual));
[javac]
^
[javac] Note:
/usr/obj/ports/junit-3.8.2/junit3.8.2/junit/runner/BaseTestRunner.java uses or
overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 3 errors
BUILD FAILED
/usr/obj/ports/junit-3.8.2/junit3.8.2/build.xml:25: Compile failed; see the
compiler error output for details.
Total time: 13 seconds
*** Error code 1
Stop in /usr/ports/java/junit (line 39 of Makefile).
*** Error code 1
Stop in /usr/ports/java/junit (line 2055 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/java/junit (line 1369 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/java/junit (line 1853 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/java/junit (line 1843 of
/usr/ports/infrastructure/mk/bsd.port.mk).
--- Wed Jun 6 12:17:55 MDT 2007
--
Antoine