Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559720 - metasploit-4.11.4 and ruby21 target issue; dev-ruby/pg , dev-ruby/activerecord metasploit pb?
Summary: metasploit-4.11.4 and ruby21 target issue; dev-ruby/pg , dev-ruby/activerecor...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-05 21:12 UTC by jms
Modified: 2015-09-06 23:09 UTC (History)
0 users

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 jms 2015-09-05 21:12:55 UTC
pb upgrading to latest metasploit

The following REQUIRED_USE flag constraints are unsatisfied:
    ruby_targets_ruby21

  The above constraints are a subset of the following complete expression:
    any-of ( ruby_targets_ruby21 )

so I add this to package use
=net-analyzer/metasploit-4.11.4_p2015090201 ruby21
as by default I use ruby 20
eselect ruby set 3                       
Successfully switched to profile:
  ruby21
ZePetitNuage var # emerge -pv net-analyzer/metasploit

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

Calculating dependencies /

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

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

  The following REQUIRED_USE flag constraints are unsatisfied:
    ruby_targets_ruby21

  The above constraints are a subset of the following complete expression:
    any-of ( ruby_targets_ruby21 )


I have a doubt is it me or a pb with  ebuild/metasploit?
Comment 1 jms 2015-09-05 21:13:05 UTC
emerge --info
Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.20-r2, 4.0.5-gentoo-jms-r40.1 x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-jms-r40.1-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     7673460 total,    204296 free
KiB Swap:    8396796 total,   4324728 free
Timestamp of repository gentoo: Sat, 05 Sep 2015 20:15:02 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /portage
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 0

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe "
DISTDIR="/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://91.121.124.139/gentoo-distfiles/ http://91.121.125.139/gentoo-distfiles/ ftp://ftp.swin.edu.au/gentoo  ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi alsa amd64 ao avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus declarative dhcpcd dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif ffmpeg firefox flac fontconfig fortran gd gdbm gif glamor gpm gtk gzip iconv icu imap inotify ipv6 jpeg jpeg2k kde kipi laptop lcms ldap libkms libnotify lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mmxext mng mod modules motif mp3 mp4 mpeg mtp multilib mysql ncurse ncurses nls nptl ogg openal opengl openmp oss pam pango pcmcia pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl seccomp semantic-desktop sematic-deskyop session smp spell sse sse2 ssl startup-notification svg syslog taglib tcpd theora thumbnail tidy tiff truetype udev udisks unicode upower usb utf8 v4l v4l2 vaapi vcd vdpau video vim-syntax vorbis wifi win32codecs wxwidgets x x264 xcb xcomposit xcomposite xine xinerama xml xosd xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en es fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 jms 2015-09-05 21:31:33 UTC
I had dev-ruby/metasploit_data_models-0.17.0 in world file
and 

[I] app-eselect/eselect-metasploit
     Available versions:  (~)0.16
     Installed versions:  0.16(04:23:09 03/01/15)
     Homepage:            http://www.pentoo.ch/
     Description:         eselect module for metasploit
[?] net-analyzer/metasploit
     Available versions:  
     (0)    [M]2.7
     (4.11) [m](~)4.11.4_p2015090201^s
       {development +java oracle +pcap test ELIBC="FreeBSD" RUBY_TARGETS="ruby21"}
     Installed versions:  4.9.3(4.9)^s(13:02:39 07/04/15)(java pcap -development -lorcon -oracle -test ELIBC="-FreeBSD" RUBY_TARGETS="ruby19")
     Homepage:            http://www.metasploit.org/
     Description:         Advanced open-source framework for developing, testing, and using vulnerability exploit code
Comment 3 jms 2015-09-06 22:54:02 UTC
added
RUBY_TARGETS="ruby19 ruby20 ruby21"
emerge -pvuND @world
emerge --depclean
emerge @preserved-rebuild 
rinse and repeat

so removed a lot of ruby to be quite fresh

at the end seems to me there is a pb with
dev-ruby/pg
and 
dev-ruby/activerecord
and 
metasploit

none of theses are on my system 

emerge -pv dev-ruby/pg

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

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-postgresql-1.2.1::gentoo  0 KiB
[ebuild  N     ] dev-db/postgresql-9.4.4:9.4::gentoo  USE="ldap nls pam readline server ssl xml zlib -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -static-libs -tcl -threads -uuid" LINGUAS="en es fr -af -cs -de -fa -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB
[ebuild  N    ~] dev-ruby/pg-0.18.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby20 ruby21 -ruby22" 0 KiB


emerge -pv dev-ruby/activerecord

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

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-postgresql-1.2.1::gentoo  0 KiB
[ebuild  N    ~] dev-ruby/thread_safe-0.3.4::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/mysql2-0.3.20:0.3::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/arel-6.0.0:6.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/i18n-0.7.0:0.7::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N     ] dev-ruby/minitest-5.3.3-r1:5::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/builder-3.1.4:3.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N     ] dev-db/postgresql-9.4.4:9.4::gentoo  USE="ldap nls pam readline server ssl xml zlib -doc -kerberos -perl d" LINGUAS="en es fr -af -cs -de -fa -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_Ton3_4 -python3_3" 0 KiB
[ebuild  N    ~] dev-ruby/pg-0.17.1-r1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/tzinfo-1.2.2:1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/activesupport-4.2.4:4.2::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/activemodel-4.2.4:4.2::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/activerecord-4.2.4:4.2::gentoo  USE="mysql postgres -sqlite {-test}" RUBY_TARGETS="ruby19 ruby20

Total: 13 packages (13 new), Size of downloads: 0 KiB


and 
 emerge -pvuND metasploit

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

Calculating dependencies... done!
[ebuild  N     ] app-crypt/johntheripper-1.7.9-r6::gentoo  USE="openmp -cuda -custom-cflags -minimal -mpi -opencl" CPU_FLAGS_X86="sse2 (-mmx)" 0 KiB
[ebuild  N    ~] app-eselect/eselect-metasploit-0.16::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-postgresql-1.2.1::gentoo  0 KiB
[ebuild  N    ~] app-eselect/eselect-rails-0.21::gentoo  2 KiB
[ebuild  N     ] dev-db/postgresql-9.4.4:9.4::gentoo  USE="ldap nls pam readline server ssl xml zlib -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -static-libs -tcl -threads -uuid" LINGUAS="en es fr -af -cs -de -fa -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB
[ebuild  N    ~] virtual/ruby-ssl-7::gentoo  RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/pg-0.17.1-r1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/rubyzip-1.1.7-r1:1::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 99 KiB
[ebuild  N    ~] dev-ruby/bcrypt-ruby-3.1.10::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/rkelly-remix-0.0.6::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/thor-0.19.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 85 KiB
[ebuild  N    ~] dev-ruby/builder-3.1.4:3.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/rack-1.5.5:1.5::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 212 KiB
[ebuild  N    ~] dev-ruby/network_interface-0.0.1-r1::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/metasploit-payloads-1.0.9:1.0.9::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 5,125 KiB
[ebuild  N    ~] dev-ruby/msgpack-0.6.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/meterpreter_bins-0.0.22:0.0.22::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 3,482 KiB
[ebuild  N    ~] dev-ruby/rb-readline-r7-0.5.2.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 94 KiB
[ebuild  N    ~] dev-ruby/kissfft-0.0.2::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/builder-3.0.4-r2:3::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/rjb-1.5.3::gentoo  USE="-doc -examples -hardened {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/robots-0.10.1-r2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/net-ssh-2.10.0:2.6::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 169 KiB
[ebuild  N    ~] dev-ruby/rubyntlm-0.5.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 27 KiB
[ebuild  N    ~] dev-ruby/abstract-1.0.0-r3::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 12 KiB
[ebuild  N    ~] dev-ruby/rexical-1.0.5-r3::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N     ] dev-ruby/minitest-4.7.5-r1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/thread_safe-0.3.4::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/tzinfo-0.3.44::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 291 KiB
[ebuild  N    ~] dev-ruby/i18n-0.6.9-r1:0.6::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/arel-4.0.2:4.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/mysql2-0.3.20:0.3::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/activerecord-deprecated_finders-1.0.4:1.0::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 12 KiB
[ebuild  N    ~] dev-ruby/arel-6.0.0:6.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/rake-compiler-0.9.5::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/jsobfu-0.2.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 20 KiB
[ebuild  N    ~] dev-ruby/erubis-2.7.0-r2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 169 KiB
[ebuild  N    ~] dev-ruby/rack-test-0.6.3:0.6::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 23 KiB
[ebuild  N    ~] dev-ruby/multi_json-1.11.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 25 KiB
[ebuild  N    ~] dev-ruby/activesupport-4.0.13-r1:4.0::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 3,674 KiB
[ebuild  N    ~] dev-ruby/hoe-3.13.1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/nokogiri-1.6.6.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/actionpack-4.0.13:4.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/activemodel-4.0.13:4.0::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/sqlite3-1.3.10-r1::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 0 KiB
[ebuild  N    ~] dev-ruby/activerecord-4.0.13:4.0::gentoo  USE="mysql postgres -sqlite {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/railties-4.0.13:4.0::gentoo  USE="{-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/recog-2.0.6:2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 185 KiB
[ebuild  N    ~] dev-ruby/metasploit-concern-1.0.0:1.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 13 KiB
[ebuild  N    ~] dev-ruby/arel-helpers-2.1.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 11 KiB
[ebuild  N    ~] dev-ruby/pcaprub-0.12.0-r1:0.12::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 34 KiB
[ebuild  N    ~] dev-ruby/packetfu-1.1.9-r1:1.1.9::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby21" 0 KiB
[ebuild  N    ~] dev-ruby/bundler-1.10.6::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21 -ruby22" 307 KiB
[ebuild  N    ~] dev-ruby/metasploit-model-1.0.0:1.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 76 KiB
[ebuild  N    ~] dev-ruby/pg_array_parser-0.0.9:0.0.9::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 8 KiB
[ebuild  N    ~] dev-ruby/postgres_ext-2.4.1:2.4::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 21 KiB
[ebuild  N    ~] dev-ruby/metasploit_data_models-1.2.5:1.2::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 167 KiB
[ebuild  N    ~] dev-ruby/metasploit-credential-1.0.0:1.0::gentoo  USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20 ruby21" 100 KiB
[ebuild  N    ~] net-analyzer/metasploit-4.11.4_p2015090201:4.11::gentoo  USE="java pcap -development -oracle {-test}" RUBY_TARGETS="ruby21" 34,387 KiB

Total: 59 packages (59 new), Size of downloads: 48,821 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-ruby/pg:0

  (dev-ruby/pg-0.18.2:0/0::gentoo, ebuild scheduled for merge) conflicts with
    dev-ruby/pg[ruby_targets_ruby19] required by (dev-ruby/metasploit_data_models-1.2.5:1.2/1.2::gentoo, ebuild scheduled for merge)
                ^^^^^^^^^^^^^^^^^^^ 
    >=dev-ruby/pg-0.11.0[ruby_targets_ruby19] required by (dev-ruby/activerecord-4.0.13:4.0/4.0::gentoo, ebuild scheduled for merge)
                         ^^^^^^^^^^^^^^^^^^^ 
    dev-ruby/pg[ruby_targets_ruby19] required by (dev-ruby/metasploit-credential-1.0.0:1.0/1.0::gentoo, ebuild scheduled for merge)
                ^^^^^^^^^^^^^^^^^^^ 

emerge -pv dev-ruby/activerecord
wants dev-ruby/pg-0.17.1-r1

metasploit wants
dev-ruby/pg-0.18.2:0/0::gentoo

or I missed something obvious..
Comment 4 jms 2015-09-06 23:07:29 UTC
closing bug
no bug
just me 
needed to clean keyworded file I had 
dev-ruby/pg-0.18.2 ~amd64
previously requested when trying to emerge metasploit but not needed after proper set-up and clean-up
Comment 5 jms 2015-09-06 23:09:45 UTC
user bug
needed to clean-up ruby and keyworded files and not forget to add in my case
RUBY_TARGETS="ruby19 ruby20 ruby21"