#18740: junit build failure (was subversion-javahlbindings failing with jUnit/hamcrest) -----------------------------+---------------------------------------------- Reporter: shoanm@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Component: ports Version: 1.7.0 | Resolution: fixed Keywords: | Port: junit -----------------------------+---------------------------------------------- Comment(by vulcan_@…): sorry, doing port upgrade junit gives me this today --- /opt/local root# port upgrade junit ---> Building junit Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_junit/work/junit4.6 && javac -d classes -cp /opt/local/share/java/hamcrest-core.jar -sourcepath src src/junit/framework/JUnit4TestAdapter.java" returned error 1 Command output: src/org/junit/internal/AssumptionViolatedException.java:3: cannot access org.hamcrest.Description bad class file: /opt/local/share/java/hamcrest- core.jar(org/hamcrest/Description.class) class file has wrong version 50.0, should be 49.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import org.hamcrest.Description; ^ 1 error Error: Unable to upgrade port: 1 --- I am on Mac OS X 10.4.11 with port version: 1.710 this error comes up after -d sync and selfupdate so i have the latest dist packages -- Ticket URL: <http://trac.macports.org/ticket/18740#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS