Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653730 - =dev-ruby/rspec-support-3.6.0 fails tests (missing dep?): Simplecov could not be loaded
Summary: =dev-ruby/rspec-support-3.6.0 fails tests (missing dep?): Simplecov could not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 653658
  Show dependency tree
 
Reported: 2018-04-21 21:23 UTC by Sergei Trofimovich (RETIRED)
Modified: 2018-07-22 18:31 UTC (History)
2 users (show)

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


Attachments
dev-ruby-rspec-support-3.6.0-build.log (dev-ruby-rspec-support-3.6.0-build.log,4.89 KB, text/plain)
2018-04-23 21:12 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-21 21:23:16 UTC
>>> Emerging (1 of 5) dev-ruby/rspec-support-3.6.0::gentoo                                                                                                                                     
 * rspec-support-3.6.0-git.tgz BLAKE2B SHA512 size ;-) ...                                                                                                                              [ ok ] 
>>> Unpacking source...                                                                                                                                                                        
 * Running unpack phase for all ...                                                                                                                                                            
>>> Unpacking rspec-support-3.6.0-git.tgz to /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work/all                                                                                            
>>> Source unpacked in /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work                                                                                                                      
>>> Preparing source in /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work ...                                                                                                                 
 * Running prepare phase for all ...                                                               
 * Running prepare phase for all ...                                                              
 * Running source copy phase for ruby22 ...                              
 * Running source copy phase for ruby23 ...           
>>> Source prepared.                                                           
>>> Configuring source in /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work ...       
>>> Source configured.                                                                                 
>>> Compiling source in /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work ...                                
 * Running compile phase for all ...                                                                 
>>> Source compiled.                                                                 
>>> Test phase: dev-ruby/rspec-support-3.6.0                       
 * Running test phase for ruby22 ...                                               
Simplecov could not be loaded                                           
/usr/lib/ruby/gems/2.2.0/gems/rspec-support-3.5.0/lib/rspec/support.rb:28:in `require_relative': cannot load such file -- /usr/lib/ruby/gems/2.2.0/gems/rspec-support-3.5.0/lib/rspec/support/$
ource/location (LoadError)                                                                        
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-support-3.5.0/lib/rspec/support.rb:28:in `block in <module:Support>'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-support-3.5.0/lib/rspec/support.rb:19:in `call'              
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-support-3.5.0/lib/rspec/support.rb:19:in `block in define_optimized_require_for_rspec'
        from /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work/ruby22/rspec-support-3.6.0/lib/rspec/support/source/node.rb:1:in `<top (required)>'
        from /usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /var/tmp/portage/dev-ruby/rspec-support-3.6.0/work/ruby22/rspec-support-3.6.0/spec/rspec/support/source/node_spec.rb:1:in `<top (required)>'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `load'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1435:in `block in load_spec_files'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `each'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1433:in `load_spec_files'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:100:in `setup'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:86:in `run'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.5.4/bin/rspec:4:in `<top (required)>'
        from /usr/bin/rspec-3:9:in `load'
        from /usr/bin/rspec-3:9:in `<main>'
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-21 21:27:21 UTC
# emerge --info
Portage 2.3.24 (python 3.5.4-final-0, default/linux/ia64/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.72-gentoo ia64)
=================================================================
System uname: Linux-4.9.72-gentoo-ia64-Dual-Core_Intel-R-_Itanium-R-_Processor_9040-with-gentoo-2.4.1
KiB Mem:    16658832 total,   4159728 free
KiB Swap:    1999184 total,   1993104 free
Timestamp of repository gentoo: Sat, 21 Apr 2018 02:45:01 +0000
Head commit of repository gentoo: 6f3aa1170511294766082ba12e10426101740773
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /bound/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

crossdev
    location: /co
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/bound/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict stricter test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
MAKEOPTS="-j5 -l5"
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 acl berkdb bzip2 cairo cli corefonts crypt cups cxx dbus dri fortran gd gdbm glamor gtk ia64 iconv ipv6 jpeg minizip modules ncurses nls nptl openmp pam pcre png pulseaudio python readline sqlite ssl systemd tcpd text truetype unicode xattr xvfb zlib" 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" 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" 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-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage vesa dummy v4l" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Hans de Graaff gentoo-dev Security 2018-04-23 19:02:08 UTC
SimpleCov is a soft failure, so something else must be going wrong. I can't reproduce this with simplecov uninstalled.

The build.log looks garbled at the exact location of the error, so it's hard to see what is going on.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-23 21:12:41 UTC
Created attachment 528326 [details]
dev-ruby-rspec-support-3.6.0-build.log

Attaching full build log in hopes it preserves failure better.
Comment 4 Hans de Graaff gentoo-dev Security 2018-04-24 05:05:20 UTC
Thanks, that helps.

It looks like it is mixing the installed rspec 3.5.0 and the to be tested rspec 3.6.0 in a weird way. I guess an easy way to confirm that would be to first install rspec 3.6.

I'll have a more detailed look at it later this week.
Comment 5 Hans de Graaff gentoo-dev Security 2018-07-22 18:31:19 UTC
Fixed by depending on rspec 3.6 for tests.