[MacPorts] #28343: jruby @1.5.5 Build failure
MacPorts
noreply at macports.org
Mon Feb 27 06:39:40 PST 2012
#28343: jruby @1.5.5 Build failure
---------------------------------+------------------------------------------
Reporter: ybendana@… | Owner: ciserlohn@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Resolution: fixed | Keywords:
Port: jruby |
---------------------------------+------------------------------------------
Changes (by ciserlohn@…):
* status: new => closed
* resolution: => fixed
Old 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] ^
> }}}
New 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] ^
}}}
--
Comment:
This has been fixed upstream in jruby 1.6.0 (see
https://github.com/jruby/jruby/commit/611cce9e496eb391db01398c8c5c99c851afa59f).
--
Ticket URL: <https://trac.macports.org/ticket/28343#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list