Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450420 - dev-ruby/rdoc-3.12, dev-ruby/hoe-2.12.5 Error: circular dependencies (by USE="doc rdoc")
Summary: dev-ruby/rdoc-3.12, dev-ruby/hoe-2.12.5 Error: circular dependencies (by USE=...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-05 16:42 UTC by thunder367
Modified: 2013-01-08 17:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,5.02 KB, text/plain)
2013-01-05 16:42 UTC, thunder367
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thunder367 2013-01-05 16:42:06 UTC
Created attachment 334548 [details]
emerge --info

miheev ~ # emerge -pvt dev-lang/ruby

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!


[nomerge       ] dev-lang/ruby-1.9.3_p194-r1:1.9  USE="berkdb doc gdbm ipv6 ncurses rdoc readline ssl tk yaml -debug -examples -rubytests -socks5 -xemacs" 
[nomerge       ]  dev-ruby/rdoc-3.12  USE="doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]   dev-ruby/racc-1.4.8  USE="doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]    dev-ruby/hoe-2.12.5  USE="doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]     dev-ruby/rdoc-3.12  USE="doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]      dev-ruby/json-1.6.7  USE="doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]       dev-ruby/rake-0.9.2.2  USE="doc -bash-completion {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB

Total: 5 packages (5 new), Size of downloads: 0 kB

 * Error: circular dependencies:

(dev-ruby/hoe-2.12.5::gentoo, ebuild scheduled for merge) depends on
 (dev-ruby/rdoc-3.12::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-ruby/hoe-2.12.5::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying any of the following changes:
- dev-ruby/rdoc-3.12 (Change USE: -doc)
- dev-ruby/hoe-2.12.5 (Change USE: -doc)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.
Comment 1 thunder367 2013-01-05 16:53:15 UTC
Oops, dev-ruby/rdoc it depends on dev-ruby/hoe, and dev-ruby/hoe depends on dev-ruby/rdoc


/usr/portage/dev-lang/ruby/ruby-1.9.3_p194-r1.ebuild

.........
PDEPEND="
        >=dev-ruby/rubygems-1.8.10-r1[ruby_targets_ruby19]
        rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
        xemacs? ( app-xemacs/ruby-modes )"
.........



/usr/portage/dev-ruby/rdoc/rdoc-3.12.ebuild
.........
ruby_add_bdepend "
        dev-ruby/racc
        doc? ( >=dev-ruby/hoe-2.7.0 )
        test? (
                >=dev-ruby/hoe-2.7.0
                dev-ruby/minitest
        )"
.........



/usr/portage/dev-ruby/hoe/hoe-2.12.5.ebuild
.........
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
# - also requires dev-ruby/hoe-seattlerb for 1.9;
# - dev-ruby/gemcutter is an optional dependency at both runtime and
#   test-time, at least for us;
# - rubyforge is loaded at runtime when needed, so we don't strictly
#   depend on it at runtime, but we need it for tests (for now);
.........
Comment 2 Hans de Graaff gentoo-dev 2013-01-08 17:51:41 UTC
I understand that this is inconvenient, but all dependencies are valid...