Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547770 - net-analyzer/metasploit still uses ruby19
Summary: net-analyzer/metasploit still uses ruby19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ruby19-removal
  Show dependency tree
 
Reported: 2015-04-26 08:08 UTC by Hans de Graaff
Modified: 2015-09-04 21:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2015-04-26 08:08:33 UTC
Upstream support for Ruby 1.9 ended, therefore we'd like to remove ruby1.9 soon.

Your package depends on ruby:1.9, please use a recent ruby implementation and get this version stable, if the ruby:1.9 version had stable keywords.

Further reading:
https://wiki.gentoo.org/wiki/Project:Ruby/Ruby_1.9_deprecation
Comment 1 Nico Baggus 2015-06-03 08:53:49 UTC
ruby19 is masked, metasploit doesn't build anymore.

# emerge -1 metasploit


!!! Problem resolving dependencies for net-analyzer/metasploit

!!! The ebuild selected to satisfy "metasploit" has unmet requirements.
- net-analyzer/metasploit-4.9.3::gentoo USE="java pcap -development -lorcon -oracle (-test)" ABI_X86="64" RUBY_TARGETS="-ruby19"

  The following REQUIRED_USE flag constraints are unsatisfied:
    ruby_targets_ruby19

  The above constraints are a subset of the following complete expression:
    any-of ( ruby_targets_ruby19 )
Comment 2 Hans de Graaff gentoo-dev Security 2015-06-07 09:28:19 UTC
(In reply to Nico Baggus from comment #1)
> ruby19 is masked, metasploit doesn't build anymore.
> 
> # emerge -1 metasploit
> 
> 
> !!! Problem resolving dependencies for net-analyzer/metasploit
> 
> !!! The ebuild selected to satisfy "metasploit" has unmet requirements.
> - net-analyzer/metasploit-4.9.3::gentoo USE="java pcap -development -lorcon
> -oracle (-test)" ABI_X86="64" RUBY_TARGETS="-ruby19"

It looks like you have chosen to exclude ruby19 from your RUBY_TARGETS. The current default value is still "ruby19 ruby20".
Comment 3 Nico Baggus 2015-06-07 20:25:24 UTC
Oh, you are right..., it just that ruby19 is masked by gentoo.

dev-lang/ruby
     Available versions:  
     (1.9)  [M]1.9.3_p551-r1
     (2.0)  2.0.0_p645
     (2.1)  ~2.1.6-r1
     (2.2)  ~2.2.2-r1

And there are several packages STILL depending on ruby:1.9

Others are: gdal, paludis, and several packages just keep on pulling ruby:1.9 for some obscure reason, virtual/rubygems f.e. That may be because it cannot determine just plain dev-lang/ruby RDEPENDS..., i am not a big enough wizard to explain it all, now i almost disabled all ruby flags to just be able to build an regular world update. (with all obnoxious packages, like metasploit, removed)
Comment 4 Nico Baggus 2015-06-07 20:32:37 UTC
AFAICT:
from ruby-4.9.3 ... meaning no ruby20 support...

#ruby20 doesn't have wide enough support in gentoo yet (but is semi-supported upstream)
USE_RUBY="ruby19"
inherit eutils ruby-ng
Comment 5 Hans de Graaff gentoo-dev Security 2015-06-08 05:55:51 UTC
(In reply to Nico Baggus from comment #3)
> Oh, you are right..., it just that ruby19 is masked by gentoo.
> 
> dev-lang/ruby
>      Available versions:  
>      (1.9)  [M]1.9.3_p551-r1
>      (2.0)  2.0.0_p645
>      (2.1)  ~2.1.6-r1
>      (2.2)  ~2.2.2-r1

This appears to be a bug in eix 0.30.4 where the 1.9 slot is shown as masked when it is not. This is fixed in eix 0.30.10.
Comment 6 Nico Baggus 2015-06-09 00:16:41 UTC
Not just eix, also emerge is trying to update package.unmask to (re)add the masked ruby:1.9
Comment 7 Manuel Rüger (RETIRED) gentoo-dev 2015-08-27 13:56:05 UTC
Can you provide us an update on metasploit's current state related to later rubies? 

Please try to update it to support a later ruby as soon as possible, otherwise we're forced to mask it in two weeks, at the same time as ruby-1.9 gets masked for removal.
Comment 8 Rick Farina (Zero_Chaos) gentoo-dev 2015-09-04 21:55:09 UTC
done, updated snapshot in tree, old ebuilds removed.