Opened 13 years ago

Last modified 12 years ago

#28343 closed defect

jruby @1.5.5 Build failure — at Initial Version

Reported by: ybendana@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: jruby

Description

I tried to install this port on OS 10.5.8 using java 1.6.0_22 and I'm getting errors regarding variables defined more than once:

:info:build       [apt] Compiling 963 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_jruby/work/jruby-1.5.5/build/classes/jruby
:info:build       [apt] Since compiler setting isn't classic or modern, ignoring fork setting.
:info:build       [apt] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_jruby/work/jruby-1.5.5/src/org/jruby/ext/ffi/Platform.java:42: org.jruby.ext.ffi.Platform.CPU is already defined in org.jruby.ext.ffi.Platform
:info:build       [apt]     public static final CPU CPU = determineCPU();

Then further down the log file it complains about not finding symbols:

:info:build       [apt] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_jruby/work/jruby-1.5.5/src/org/jruby/ext/ffi/Platform.java:45: cannot find symbol
:info:build       [apt] symbol  : variable CPU
:info:build       [apt] location: class org.jruby.ext.ffi.Platform
:info:build       [apt]     public static final String NAME = CPU + "-" + OS;
:info:build       [apt]                                       ^

Change History (0)

Note: See TracTickets for help on using tickets.