I'm trying to do a world update, and I get this error: emerge: there are no ebuilds built with USE flags to satisfy ">=dev-ruby/rdoc-2.5.11[ruby_targets_ruby19]". !!! One of the following packages is required to complete your request: - dev-ruby/rdoc-2.5.11 (Change USE: +ruby_targets_ruby19) (dependency required by "dev-lang/ruby-1.9.2" [ebuild]) (dependency required by "world" [argument]) The problem is, there is no such USE flag for rdoc. I tried this: # emerge -av rdoc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] virtual/rubygems-0-r4 RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 0 kB [ebuild N ] dev-ruby/rdoc-2.5.11 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 177 kB This seems to suggest that there is a "ruby19" USE flag but that it's blocked. Reproducible: Always
Also, I tried adding this to my make.conf: RUBY_TARGETS="ruby18 ruby19" But that didn't help.
Finally, I did this: echo "ruby_targets_ruby19" >> /etc/make.profile/use.unmask And that didn't help either.
Looks like the problem is that ruby 1.9{.2} is masked, not the flag itself.
Note: I already have Ruby 1.9 unmasked. I also found docs online explaining that you need to also unmask this USE flag, but no instructions how. http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml
Man, this was a bear to figure out. I had to add this: >=dev-ruby/rdoc-2.5.11 -ruby_targets_ruby19 to /etc/portage/profiles/package.use.mask Doesn't a double negative seem really unintuitive here?
try this: echo "-ruby_targets_ruby19" >> /etc/portage/profile/use.mask
(In reply to comment #5) > Doesn't a double negative seem really unintuitive here? > You have to distinguish package masks and use flag masks. The two are defined in separate places and you'll find yourself unmasking a package much more often than unmasking a USE flag. So there's no need for a proper interface for USE flag unmasking, you have to dig into the profile internals. Lars' suggestion in comment #6 is the preferred 'solution', as it enables the flag system-wide. At any rate, the dependencies should be fine here. We're doing our best to get those masks lifted.