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

Test suite failure: Unable to resolve dependencies: rdoc requires json (~> 1.4)

    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.7.0.pre2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Fedora Rawhide
    • Number of attachments :
      1

      Description

      Trying to build JRuby and execute its test suite, I just get "Unable to resolve dependencies: rdoc requires json (~> 1.4)" failure. Please see attached build.log for more information. Thank you.

        Activity

        Hide
        Vit Ondruch added a comment -

        Interesting. If fails on x86_64 while it works on i386:

        install-dev-gems:
        [java] Gem.ruby /builddir/build/BUILD/jruby-1.7.0.preview1/bin/jruby
        [java] Gem.bindir /builddir/build/BUILD/jruby-1.7.0.preview1/bin
        [java] Removing rake
        [java] Successfully uninstalled rake-0.9.2.2
        [java] INFO: gem "rspec-core" is not installed
        [java] INFO: gem "diff-lcs" is not installed
        [java] INFO: gem "rspec-expectations" is not installed
        [java] INFO: gem "rspec-mocks" is not installed
        [java] INFO: gem "rspec" is not installed
        [java] INFO: gem "minitest" is not installed
        [java] INFO: gem "minitest-excludes" is not installed
        [java] Successfully installed rake-0.9.2.2
        [java] Successfully installed rspec-core-2.8.0
        [java] Successfully installed diff-lcs-1.1.3
        [java] Successfully installed rspec-expectations-2.8.0
        [java] Successfully installed rspec-mocks-2.8.0
        [java] Successfully installed rspec-2.8.0
        [java] Depending on your version of ruby, you may need to install ruby rdoc/ri data:
        [java]
        [java] <= 1.8.6 : unsupported
        [java] = 1.8.7 : gem install rdoc-data; rdoc-data --install
        [java] = 1.9.1 : gem install rdoc-data; rdoc-data --install
        [java] >= 1.9.2 : nothing to do! Yay!
        [java] Successfully installed json-1.7.3-java
        [java] Successfully installed rdoc-3.12
        [java] Successfully installed minitest-2.11.0
        [java] Successfully installed minitest-excludes-1.0.0
        [java] 10 gems installed

        Show
        Vit Ondruch added a comment - Interesting. If fails on x86_64 while it works on i386: install-dev-gems: [java] Gem.ruby /builddir/build/BUILD/jruby-1.7.0.preview1/bin/jruby [java] Gem.bindir /builddir/build/BUILD/jruby-1.7.0.preview1/bin [java] Removing rake [java] Successfully uninstalled rake-0.9.2.2 [java] INFO: gem "rspec-core" is not installed [java] INFO: gem "diff-lcs" is not installed [java] INFO: gem "rspec-expectations" is not installed [java] INFO: gem "rspec-mocks" is not installed [java] INFO: gem "rspec" is not installed [java] INFO: gem "minitest" is not installed [java] INFO: gem "minitest-excludes" is not installed [java] Successfully installed rake-0.9.2.2 [java] Successfully installed rspec-core-2.8.0 [java] Successfully installed diff-lcs-1.1.3 [java] Successfully installed rspec-expectations-2.8.0 [java] Successfully installed rspec-mocks-2.8.0 [java] Successfully installed rspec-2.8.0 [java] Depending on your version of ruby, you may need to install ruby rdoc/ri data: [java] [java] <= 1.8.6 : unsupported [java] = 1.8.7 : gem install rdoc-data; rdoc-data --install [java] = 1.9.1 : gem install rdoc-data; rdoc-data --install [java] >= 1.9.2 : nothing to do! Yay! [java] Successfully installed json-1.7.3-java [java] Successfully installed rdoc-3.12 [java] Successfully installed minitest-2.11.0 [java] Successfully installed minitest-excludes-1.0.0 [java] 10 gems installed
        Hide
        Vit Ondruch added a comment -

        Actually, I cannot find json.gem in build_lib, where the other gems are. I would expect to see it there.

        Show
        Vit Ondruch added a comment - Actually, I cannot find json.gem in build_lib, where the other gems are. I would expect to see it there.
        Hide
        Charles Oliver Nutter added a comment -

        That is strange that it fails on x86_64.

        You're right though, for test-suite purposes, if we're installing rdoc from a local gem we should be installing json from a local gem as well. That much I can take care of right now.

        Show
        Charles Oliver Nutter added a comment - That is strange that it fails on x86_64. You're right though, for test-suite purposes, if we're installing rdoc from a local gem we should be installing json from a local gem as well. That much I can take care of right now.
        Hide
        Charles Oliver Nutter added a comment -

        I'm not sure what the x86_64 gem install problem is for you, but if it persists for other gems file another bug. I'll call this one fixed with the addition of json gem to build_lib.

        commit 4716947a267bb94a49b37d02d2ae2a40740cb46f
        Author: Charles Oliver Nutter <headius@headius.com>
        Date:   Mon Jul 2 09:50:13 2012 -0500
        
            Fix JRUBY-6755
            
            Test suite failure: Unable to resolve dependencies: rdoc requires json (~> 1.4)
        
        :000000 100644 0000000... fbca518... A	build_lib/json-1.7.3-java.gem
        :100644 100644 8818514... 1d659ec... M	default.build.properties
        
        Show
        Charles Oliver Nutter added a comment - I'm not sure what the x86_64 gem install problem is for you, but if it persists for other gems file another bug. I'll call this one fixed with the addition of json gem to build_lib. commit 4716947a267bb94a49b37d02d2ae2a40740cb46f Author: Charles Oliver Nutter <headius@headius.com> Date: Mon Jul 2 09:50:13 2012 -0500 Fix JRUBY-6755 Test suite failure: Unable to resolve dependencies: rdoc requires json (~> 1.4) :000000 100644 0000000... fbca518... A build_lib/json-1.7.3-java.gem :100644 100644 8818514... 1d659ec... M default.build.properties
        Hide
        Vit Ondruch added a comment -

        Thank you.

        Show
        Vit Ondruch added a comment - Thank you.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Vit Ondruch
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: