Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364085 - dev-ruby/gherkin-2.3.5 - no such file to load -- rspec/core/rake_task
Summary: dev-ruby/gherkin-2.3.5 - no such file to load -- rspec/core/rake_task
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:
Depends on:
Blocks:
 
Reported: 2011-04-18 23:37 UTC by Naohiro Aota
Modified: 2011-04-20 05:28 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 Naohiro Aota gentoo-dev 2011-04-18 23:37:36 UTC
FEATURES='-test' emerge gherkin failed with the following error.

gherkin may need ">=rspec-2.5.0" even if USE='-test' ?


Reproducible: Always

Actual Results:  
[32;01m * [39;49;00mPackage:    dev-ruby/gherkin-2.3.5
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: ruby
[32;01m * [39;49;00mUSE:        amd64 elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
You should enable -g (or higher) for debugging!
>>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Checksum index is up-to-date ...
>>> Unpacking source...
 [32;01m*[0m Running unpack phase for all ...
>>> Unpacking gherkin-2.3.5.tgz to /dev/shm/portage/dev-ruby/gherkin-2.3.5/work/all
>>> Source unpacked in /dev/shm/portage/dev-ruby/gherkin-2.3.5/work
>>> Preparing source in /dev/shm/portage/dev-ruby/gherkin-2.3.5/work ...
 [32;01m*[0m Running prepare phase for all ...
 [32;01m*[0m Running source copy phase for ruby18 ...
>>> Source prepared.
>>> Configuring source in /dev/shm/portage/dev-ruby/gherkin-2.3.5/work ...
>>> Source configured.
>>> Compiling source in /dev/shm/portage/dev-ruby/gherkin-2.3.5/work ...
 [32;01m*[0m Running compile phase for ruby18 ...
(in /dev/shm/portage/dev-ruby/gherkin-2.3.5/work/ruby18/aslakhellesoy-gherkin-b4afe45)
rake aborted!
no such file to load -- rspec/core/rake_task
/dev/shm/portage/dev-ruby/gherkin-2.3.5/work/ruby18/aslakhellesoy-gherkin-b4afe45/Rakefile:11:in `load'
(See full trace by running task with --trace)
 [31;01m*[0m ERROR: dev-ruby/gherkin-2.3.5 failed (compile phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   56:  Called src_compile
 [31;01m*[0m   environment, line 2747:  Called ruby-ng_src_compile
 [31;01m*[0m   environment, line 2436:  Called _ruby_each_implementation 'each_ruby_compile'
 [31;01m*[0m   environment, line  357:  Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile'
 [31;01m*[0m   environment, line  386:  Called each_ruby_compile
 [31;01m*[0m   environment, line  824:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       ${RUBY} -I lib -S rake compile || die
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-ruby/gherkin-2.3.5',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-ruby/gherkin-2.3.5'.
 [31;01m*[0m The complete build log is located at '/dev/shm/portage/dev-ruby/gherkin-2.3.5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/dev/shm/portage/dev-ruby/gherkin-2.3.5/temp/environment'.
 [31;01m*[0m S: '/dev/shm/portage/dev-ruby/gherkin-2.3.5/work/ruby18/aslakhellesoy-gherkin-b4afe45'



Portage 2.2.0_alpha29 (default/linux/amd64/10.0/developer, gcc-4.5.2, glibc-2.13-r2, 2.6.37-tuxonice x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-tuxonice-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Unknown
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.2_p8::<unknown repository>
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2::<unknown repository>
sys-apps/openrc:     0.8.1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38::<unknown repository>
virtual/os-headers:  2.6.38::<unknown repository> (sys-kernel/linux-headers)
Repositories: gentoo naota sunrise rion emacs kuroo zugaina proaudio x11 gentoo-haskell
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA EULA skype-eula Broadcom PUEL AdobeFlash-10.1 dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.channelx.biz/ http://gentoo.gg3.net/ http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="ja_JP.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
LINGUAS="ja"
MAKEOPTS="-j -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/home/naota/repo/cvs/gentoo-x86"
PORTDIR_OVERLAY="/home/naota/portage-overlay /var/lib/layman/sunrise /var/lib/layman/rion /var/lib/layman/emacs /var/lib/layman/kuroo /var/lib/layman/zugaina /var/lib/layman/pro-audio /var/lib/layman/x11 /var/lib/layman/haskell"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam fbcon firefox flac fortran gdbm gdu gif gpm gtk hddtemp iconv ipv6 jpeg lcms libnotify m17n-lib mad midi mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline sdl session snmp spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb v4l v4l2 vorbis wifi x264 xcb xcomposite xft xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="mouse keyboard evdev multitouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-ruby/gherkin-1.0.30-r1 was built with the following:
USE="(multilib) -doc -test" RUBY_TARGETS="ruby18 -ree18"
Comment 1 Hans de Graaff gentoo-dev Security 2011-04-20 05:28:24 UTC
This happens because the Rakefile requires this unconditionally. I've worked around this in gherkin 2.3.6 where the individual task files are used directly.