The current version of dev-ruby/linecache (0.46) does not build for ruby 1.9 (it has no "ruby19" in USE_RUBY). When I attempted to add ruby19 to USE_RUBY, the build failed. See attached build log. The fix for this problem is beyond me at this time, although I suspect it might not be finding the right ruby include headers (and needs something like --with-ruby-include in the configuration of the build). This package needs to be fixed to allow a (potential) ruby 1.9 ruby-debug(-base) to install, which in turn is required to attempt builds using USE="doc" FEATURES="test" on ruby19 ebuilds. Reproducible: Always While searching ruby gems, I noticed reference to linecache19 as well as linecache. The latter seems to have had no updates for sometime, while the former has recent commits mentioning ruby 1.9 support.
Created attachment 298569 [details] Build log attempt adding ruby19 to USE_RUBY
As far as I can tell, there is a _separate_ gem for Ruby 1.9 ... although I don't see how can this actually make sense: https://rubygems.org/gems/linecache19
dev-ruby/linecache has now been removed from the tree.