JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-6549

JRuby 1.7 HEAD does not properly detect platform under OpenJDK 1.7.0-u4-b228

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: JRuby 1.6.8, JRuby 1.7.0.pre1
    • Component/s: None
    • Labels:
      None
    • Environment:
      OSX 10.7.3
      jruby 1.7.0.dev (ruby-2.0.0.dev) (2012-03-13 42d8382) (OpenJDK 64-Bit Server VM 1.7.0-u4-b228) [darwin-amd64-java]
    • Number of attachments :
      0

      Description

      According to Charles Nutter, JRuby is not detecting the proper platform and is not handling C extensions properly.

      Here are the gists of the Bundler output.

      https://gist.github.com/2045353
      https://gist.github.com/2045367

        Activity

        Hide
        Tasveer Singh added a comment -

        It also has the same error on JRuby 1.6.7 on OpenJDK

        Show
        Tasveer Singh added a comment - It also has the same error on JRuby 1.6.7 on OpenJDK
        Hide
        Charles Oliver Nutter added a comment -

        Fixed on master@32b2db6 and jruby-1_6@9002961. Note that we're probably not going to release a 1.6.8, so you'll have to build your own until 1.7 is out.

        commit 900296175ba21f45c05da6e03600d4daf191ca5f
        Author: Charles Oliver Nutter <headius@headius.com>
        Date:   Thu Mar 15 16:03:04 2012 -0500
        
            Allow cexts to build under OpenJDK on OS X, where os.arch == 'amd64'
        
        Show
        Charles Oliver Nutter added a comment - Fixed on master@32b2db6 and jruby-1_6@9002961. Note that we're probably not going to release a 1.6.8, so you'll have to build your own until 1.7 is out. commit 900296175ba21f45c05da6e03600d4daf191ca5f Author: Charles Oliver Nutter <headius@headius.com> Date: Thu Mar 15 16:03:04 2012 -0500 Allow cexts to build under OpenJDK on OS X, where os.arch == 'amd64'
        Hide
        Charles Oliver Nutter added a comment -

        I also fixed this in jnr-posix master@a6725d3, but we'll leave the hack in place for JRuby for now.

        Show
        Charles Oliver Nutter added a comment - I also fixed this in jnr-posix master@a6725d3, but we'll leave the hack in place for JRuby for now.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Tasveer Singh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: