Opened 13 years ago

Closed 12 years ago

#28343 closed defect (fixed)

jruby @1.5.5 Build failure

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

Description (last modified by ci42)

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 (7)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ameingast@…

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by ybendana@…

Actually since I'm using sudo the javac version is 1.5.0_26.

comment:3 Changed 13 years ago by ybendana@…

I verified that the build works on OS 10.6 so you can close this ticket.

comment:4 Changed 13 years ago by mf2k (Frank Schima)

Seems like it is still a problem for 10.5 so we should leave it open.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Do you still see this with 1.6.4?

comment:6 Changed 12 years ago by ci42

Owner: changed from ameingast@… to ciserlohn@…

comment:7 Changed 12 years ago by ci42

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.