#20983 closed defect (invalid)
On 10.6, subversion-javahlbindings do not work with Eclipse and Subversive
Reported by: | nate@… | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | snowleopard | Cc: | nate@… |
Port: | subversion-javahlbindings |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I get this error:
no suitable image found. Did find: /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: mach-o, but wrong architecture
Attachments (1)
Change History (10)
Changed 15 years ago by nate@…
Attachment: | Screen shot 2009-08-31 at 2.58.57 PM.png added |
---|
comment:2 Changed 15 years ago by danielluke (Daniel J. Luke)
Owner: | changed from macports-tickets@… to dluke@… |
---|---|
Status: | new → assigned |
Um, did you perhaps install on 10.5 and then upgrade to 10.6?
What does file /opt/local/lib/libsvnjavahl-1.0.0.0.dylib
say?
comment:3 Changed 15 years ago by nate@…
I did a clean install.
$ file /opt/local/lib/libsvnjavahl-1.0.0.0.dylib /opt/local/lib/libsvnjavahl-1.0.0.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
comment:4 Changed 15 years ago by nate@…
I also had a compile-time error that cause the install to fail. When I re-ried, it continued. Here it is:
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion-javahlbindings/work/subversion-1.6.5/libtool --tag=CXX --silent --mode=compile g++ -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -O2 -arch x86_64 -I./subversion/include -I./subversion -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include/neon -I/opt/local/include -I/opt/local/include/serf-0 -I/Library/Java/Home/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion-javahlbindings/work/subversion-1.6.5/subversion/bindings/javahl/include -o subversion/bindings/javahl/native/DiffSummaryReceiver.lo -c subversion/bindings/javahl/native/DiffSummaryReceiver.cpp make: *** No rule to make target `subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Action.h', needed by `subversion/bindings/javahl/native/EnumMapper.lo'. Stop. make: *** Waiting for unfinished jobs.... Warning: the following items did not execute (for subversion-javahlbindings): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
comment:5 Changed 15 years ago by nate@…
Actually, looking through the logs, the second time through, the error was still there, but it just didn't stop:
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion-javahlbindings/work/subversion-1.6.5/libtool --tag=CXX --silent --mode=compile g++ -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -O2 -arch x86_64 -I./subversion/include -I./subversion -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include/neon -I/opt/local/include -I/opt/local/include/serf-0 -I/Library/Java/Home/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion-javahlbindings/work/subversion-1.6.5/subversion/bindings/javahl/include -o subversion/bindings/javahl/native/DiffSummaryReceiver.lo -c subversion/bindings/javahl/native/DiffSummaryReceiver.cpp make: *** No rule to make target `subversion/bindings/javahl/include/org_tigris_subversion_javahl_ConflictDescriptor_Action.h', needed by `subversion/bindings/javahl/native/EnumMapper.lo'. Stop. make: *** Waiting for unfinished jobs.... Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_subversion-javahlbindings/work/subversion-1.6.5" && /usr/bin/make -j2 javahl " returned error 2
comment:6 Changed 15 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Ok, well the problem is that it's a 64 bit library and the process that is trying to load it is 32-bit.
So, you can either try to tell MacPorts to build a 32-bit version of the lib (or fat 32 and 64 bit version), or get a 64-bit version of eclipse or subversive (I don't know if 64bit versions exists or not).
Please open a new ticket if you have a problem building a 32-bit or fat version of the lib.
[I've committed r56664 to disable parallel build to fix the build issue you just posted]
comment:7 Changed 15 years ago by ironstorm@…
FYI - Cocoa 64-bit native Eclipse binaries solved this issue for me on Snow Leopard.
The SubClipse plugin that handles Subversion for Eclipse is all Java (I used the plugin.jars installed on the 32-bit version)
comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | snowleopard added; snow leopard eclipse removed |
Eclipse error