[MacPorts] #16635: Problem with Subversion 1.5.2 and junit
#16635: Problem with Subversion 1.5.2 and junit --------------------------------+------------------------------------------- Reporter: other@theharts.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: --------------------------------+------------------------------------------- Getting the following in my log when failing to upgrade subversion to 1.5.2: libneon.la -lintl -framework Security -framework CoreFoundation -framework CoreServices warning: no debug symbols in executable (-arch i386) /Library/Java/Home/bin/javac -target 1.2 -source 1.3 -d subversion/bindings/javahl/classes -classpath subversion/bindings/javahl/classes:/opt/local/share/java/junit.jar /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_subversion- javahlbindings/work/subversion-1.5.2/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_subversion- javahlbindings/work/subversion-1.5.2/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/SVNAdminTests.java /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_subversion- javahlbindings/work/subversion-1.5.2/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/WC.java /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_subversion- javahlbindings/work/subversion-1.5.2/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/SVNTests.java /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_subversion- javahlbindings/work/subversion-1.5.2/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/RunTests.java /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_subversion- javahlbindings/work/subversion-1.5.2/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java:41: cannot access junit.framework.Assert bad class file: /opt/local/share/java/junit.jar(junit/framework/Assert.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 junit.framework.Assert; ^ 1 error make: *** [subversion/bindings/javahl/classes/org/tigris/subversion/javahl/BasicTests.class] Error 1 Warning: the following items did not execute (for subversion- javahlbindings): org.macports.destroot org.macports.build DEBUG: Error: Unable to upgrade port: 1 ---> Executing: /opt/local/bin/port -d upgrade subversion-javahlbindings Thanks for any help Neil -- Ticket URL: <http://trac.macports.org/ticket/16635> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16635: Problem with subversion-javahlbindings 1.5.2 and junit ----------------------------------------+----------------------------------- Reporter: other@theharts.org | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: subversion-javahlbindings | ----------------------------------------+----------------------------------- Changes (by dluke@macports.org): * owner: macports-tickets@lists.macosforge.org => dluke@macports.org * status: new => assigned * port: => subversion-javahlbindings Comment: Can you run: sudo port -f uninstall subversion-javahlbindings sudo port clean --all subversion-javahlbindings sudo port -dv install subversion-javahlbindings and attach the output to this ticket (if there's still a problem?) Thanks. -- Ticket URL: <http://trac.macports.org/ticket/16635#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16635: Problem with subversion-javahlbindings 1.5.2 and junit ----------------------------------------+----------------------------------- Reporter: other@theharts.org | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: subversion-javahlbindings | ----------------------------------------+----------------------------------- Comment(by other@theharts.org): Replying to [comment:1 dluke@…]:
Can you run:
sudo port -f uninstall subversion-javahlbindings sudo port clean --all subversion-javahlbindings sudo port -dv install subversion-javahlbindings
and attach the output to this ticket (if there's still a problem?)
Thanks.
Ran the uninstall for both subversion and subversion-javahlbindings Is it the junit install that I have? /Development/proj/cx$ port info junit junit 4.4, java/junit (Variants: doc) http://www.junit.org/ JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. Library Dependencies: hamcrest-core Platforms: darwin Maintainers: nox@macports.org -- Ticket URL: <http://trac.macports.org/ticket/16635#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16635: Problem with subversion-javahlbindings 1.5.2 and junit ----------------------------------------+----------------------------------- Reporter: other@theharts.org | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: subversion-javahlbindings | ----------------------------------------+----------------------------------- Comment(by dluke@macports.org): Perhaps your copy of junit is not OK (I have the same version installed). Have you tried uninstalling and reinstalling it? sudo port -f uninstall junit sudo port clean --all junit sudo port install junit -- Ticket URL: <http://trac.macports.org/ticket/16635#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16635: Problem with subversion-javahlbindings 1.5.2 and junit ----------------------------------------+----------------------------------- Reporter: other@theharts.org | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: subversion-javahlbindings | ----------------------------------------+----------------------------------- Comment(by other@theharts.org): That worked! /Development/proj/cx$ port info subversion-javahlbindings subversion-javahlbindings 1.5.2, devel/subversion-javahlbindings (Variants: universal, no_bdb, no_neon, darwin_7) http://subversion.tigris.org/ Thank you -- Ticket URL: <http://trac.macports.org/ticket/16635#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16635: Problem with subversion-javahlbindings 1.5.2 and junit ----------------------------------------+----------------------------------- Reporter: other@theharts.org | Owner: dluke@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: Port: subversion-javahlbindings | ----------------------------------------+----------------------------------- Changes (by dluke@macports.org): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/16635#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts