New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16635 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

Problem with subversion-javahlbindings 1.5.2 and junit

Reported by: other@… Owned by: dluke@…
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

svn-install-err.log Download (251.1 KB) - added by other@… 3 years ago.
Still same problem

Change History

follow-up: ↓ 2   Changed 3 years ago by dluke@…

  • owner changed from macports-tickets@… to dluke@…
  • status changed from new to assigned
  • port set to subversion-javahlbindings
  • summary changed from Problem with Subversion 1.5.2 and junit to Problem with subversion-javahlbindings 1.5.2 and junit

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.

Changed 3 years ago by other@…

Still same problem

in reply to: ↑ 1   Changed 3 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@…

  Changed 3 years ago by dluke@…

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

  Changed 3 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

  Changed 3 years ago by dluke@…

  • status changed from assigned to closed
  • resolution set to worksforme

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.