#16635 closed defect (worksforme)
Problem with subversion-javahlbindings 1.5.2 and junit
Reported by: | other@… | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | subversion-javahlbindings |
Description
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
Attachments (1)
Change History (7)
comment:1 follow-up: 2 Changed 16 years ago by danielluke (Daniel J. Luke)
Owner: | changed from macports-tickets@… to dluke@… |
---|---|
Port: | subversion-javahlbindings added |
Status: | new → assigned |
Summary: | Problem with Subversion 1.5.2 and junit → Problem with subversion-javahlbindings 1.5.2 and junit |
comment:2 Changed 16 years ago by other@…
Replying to 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@…
comment:3 Changed 16 years ago by danielluke (Daniel J. Luke)
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
comment:4 Changed 16 years ago by other@…
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
comment:5 Changed 16 years ago by danielluke (Daniel J. Luke)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
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.