Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671710 - net-analyzer/metasploit-4.17.21-r1 cannot resolve dependencies (activesupport)
Summary: net-analyzer/metasploit-4.17.21-r1 cannot resolve dependencies (activesupport)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-22 19:23 UTC by Keith Harrison
Modified: 2018-12-07 15:41 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,2.57 KB, text/plain)
2018-11-22 19:23 UTC, Keith Harrison
Details
emerge --info (emerge.info,6.79 KB, text/plain)
2018-11-22 19:24 UTC, Keith Harrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Harrison 2018-11-22 19:23:27 UTC
Created attachment 555988 [details]
build.log

Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    metasploit-framework was resolved to 4.17.21, which depends on
      activesupport (~> 4.2.6)

    metasploit-framework was resolved to 4.17.21, which depends on
      xdr was resolved to 3.0.0, which depends on
        activesupport (>= 5.2.0)
Comment 1 Keith Harrison 2018-11-22 19:24:03 UTC
Created attachment 555990 [details]
emerge --info
Comment 2 Liam U 2018-11-25 01:30:23 UTC
 emerge --info '=net-analyzer/metasploit-4.17.21-r1::gentoo'                                                                                                                                      1 ↵
Portage 2.3.52 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop, gcc-8.2.0, glibc-2.28-r2, 4.19.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.4-gentoo-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    32840664 total,  23930272 free
KiB Swap:     514044 total,    514044 free
Timestamp of repository gentoo: Sat, 24 Nov 2018 16:00:01 +0000
Head commit of repository gentoo: 17104c4d464cfd9fc3501c4fc67bfc9edabd3486
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15-r107::stefantalpalaru, 3.6.6::gentoo
dev-util/cmake:           3.13.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.39.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r4::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver2 -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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer"
CXXFLAGS="-O2 -march=bdver2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk hpcups iconv icu inspector ipv6 jpeg jumbo-build lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl nvenc nvidia nvpau ogg opengl openmp pam pango pcre pdf pixbuf png policykit ppds qt5 readline sdl seccomp snmp spell ssl startup-notification svg tcpd tiff tools truetype ttf udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Armitage 2018-11-29 10:34:25 UTC
I can confirm the bug since I reproduced exactly the same problem.
Comment 4 Armitage 2018-11-29 10:45:30 UTC
Multiple metasploit versions can coexist in different slots. I think that the problem is that the different slots use a different ruby versions (23 and 24). I think a solution could be to install dev-ruby/metasploit-concern and dev-ruby/metasploit-model in different slots with metasploit.

Those are the messages that helped to figure it out:

[ebuild     U ~] dev-ruby/metasploit-concern-2.0.5:2.0::gentoo [2.0.3:2.0::gentoo] USE="-doc -test" RUBY_TARGETS="ruby24%* (-ruby23%*)" 0 KiB
[ebuild     U ~] dev-ruby/metasploit-model-2.0.4:2.0::gentoo [2.0.3:2.0::gentoo] USE="-doc -test" RUBY_TARGETS="ruby24%* (-ruby23%*)" 0 KiB
[ebuild  NS   ~] net-analyzer/metasploit-4.17.21-r1:4.17::gentoo [4.14.16-r1:4.14::gentoo] USE="java pcap (-development) -nexpose -openvas -oracle (-test)" RUBY_TARGETS="ruby24" 0 KiB

Total: 3 packages (2 upgrades, 1 in new slot), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/metasploit-model:2.0

  (dev-ruby/metasploit-model-2.0.4:2.0/2.0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-ruby/metasploit-model-1.0.0[ruby_targets_ruby24] required by (dev-ruby/metasploit-credential-2.0.14:2.0.14/2.0.14::gentoo, installed)
                                      ^^^^^^^^^^^^^^^^^^^                                                                                                                          
    dev-ruby/metasploit-model[ruby_targets_ruby24] required by (net-analyzer/metasploit-4.17.21-r1:4.17/4.17::gentoo, ebuild scheduled for merge)
                              ^^^^^^^^^^^^^^^^^^^                                                                                                                                    
    >=dev-ruby/metasploit-model-2.0.0[ruby_targets_ruby24] required by (dev-ruby/metasploit_data_models-2.0.16:2.0.16/2.0.16::gentoo, installed)
                                      ^^^^^^^^^^^^^^^^^^^                                                                                                                           

  (dev-ruby/metasploit-model-2.0.3:2.0/2.0::gentoo, installed) pulled in by
    >=dev-ruby/metasploit-model-1.0.0[ruby_targets_ruby23] required by (dev-ruby/metasploit-credential-2.0.8:2.0.8/2.0.8::gentoo, installed)
                                      ^^^^^^^^^^^^^^^^^^^                                                                                                                       
    >=dev-ruby/metasploit-model-2.0.0[ruby_targets_ruby23] required by (dev-ruby/metasploit_data_models-2.0.14:2.0.14/2.0.14::gentoo, installed)
                                      ^^^^^^^^^^^^^^^^^^^                                                                                                                           
    >=dev-ruby/metasploit-model-2.0.0[ruby_targets_ruby23] required by (net-analyzer/metasploit-4.14.16-r1:4.14/4.14::gentoo, installed)
                                      ^^^^^^^^^^^^^^^^^^^                                                                                                                   

dev-ruby/metasploit-concern:2.0

  (dev-ruby/metasploit-concern-2.0.5:2.0/2.0::gentoo, ebuild scheduled for merge) pulled in by
    dev-ruby/metasploit-concern:2.0[ruby_targets_ruby24] required by (dev-ruby/metasploit-credential-2.0.14:2.0.14/2.0.14::gentoo, installed)
                                    ^^^^^^^^^^^^^^^^^^^                                                                                                                          
    dev-ruby/metasploit-concern[ruby_targets_ruby24] required by (net-analyzer/metasploit-4.17.21-r1:4.17/4.17::gentoo, ebuild scheduled for merge)
                                ^^^^^^^^^^^^^^^^^^^                                                                                                                                    
    >=dev-ruby/metasploit-concern-2.0.0[ruby_targets_ruby24] required by (dev-ruby/metasploit_data_models-2.0.16:2.0.16/2.0.16::gentoo, installed)
                                        ^^^^^^^^^^^^^^^^^^^                                                                                                                           

  (dev-ruby/metasploit-concern-2.0.3:2.0/2.0::gentoo, installed) pulled in by
    >=dev-ruby/metasploit-concern-2.0.0[ruby_targets_ruby23] required by (net-analyzer/metasploit-4.14.16-r1:4.14/4.14::gentoo, installed)
                                        ^^^^^^^^^^^^^^^^^^^                                                                                                                   
    dev-ruby/metasploit-concern:2.0[ruby_targets_ruby23] required by (dev-ruby/metasploit-credential-2.0.8:2.0.8/2.0.8::gentoo, installed)
                                    ^^^^^^^^^^^^^^^^^^^                                                                                                                       
    >=dev-ruby/metasploit-concern-2.0.0[ruby_targets_ruby23] required by (dev-ruby/metasploit_data_models-2.0.14:2.0.14/2.0.14::gentoo, installed)
Comment 5 coKe 2018-11-29 20:33:39 UTC
Same bug here.
Comment 6 Tomek L 2018-12-04 10:05:17 UTC
Same here
Comment 7 mgcyung 2018-12-05 16:45:47 UTC
same problem
Comment 8 Liam U 2018-12-07 03:58:34 UTC
Why is this still listed as unconfirmed?
Comment 9 Jan Breig 2018-12-07 12:13:28 UTC
Same here.
I solved it by downgrading dev-ruby/xdr to version 2.0.0
From 3.0.0 on this package requires >=dev-ruby/activesupport-5.2.0 what causes the problem.
Comment 10 Rick Farina (Zero_Chaos) gentoo-dev 2018-12-07 15:41:44 UTC
fixed, thanks for the report