Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516002 - dev-ruby/rake-compiler-0.9.2 fails tests on alpha
Summary: dev-ruby/rake-compiler-0.9.2 fails tests on alpha
Status: RESOLVED INVALID
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: 510334
  Show dependency tree
 
Reported: 2014-07-01 15:19 UTC by Tobias Klausmann (RETIRED)
Modified: 2014-07-21 11:46 UTC (History)
1 user (show)

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


Attachments
rake-compiler-0.9.2 build log (dev-ruby:rake-compiler-0.9.2:20140701-151530.log,10.02 KB, text/x-log)
2014-07-01 15:20 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2014-07-01 15:19:53 UTC
(::) failed steps (::)

No such file or directory - gem unpack pkg/my_project-0.1.0-universal-unknown.gem --target tmp (Errno::ENOENT)
./features/step_definitions/gem.rb:17:in ``'
./features/step_definitions/gem.rb:17:in `/^a gem for '(.*)' version '(.*)' platform '(.*)' do exist in '(.*)'$/'
features/package.feature:40:in `And a gem for 'my_project' version '0.1.0' platform 'universal-unknown' do exist in 'pkg''

Failing Scenarios:
cucumber features/package.feature:30 # Scenario: generate forced native gem

15 scenarios (1 failed, 4 pending, 10 passed)
116 steps (1 failed, 17 skipped, 4 pending, 94 passed)
0m34.055s

Portage 2.2.8-r1 (default/linux/alpha/13.0, gcc-4.7.3, glibc-2.17, 3.15.0 alpha)
=================================================================
System uname: Linux-3.15.0-alpha-EV68AL-with-gentoo-2.2
KiB Mem:     8305216 total,   1825728 free
KiB Swap:     977912 total,    914152 free
Timestamp of tree: Tue, 01 Jul 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev67"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev67"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl alpha bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran ftp gdbm iconv ipv6 mmap modules ncurses nls nptl nptlonly offensive pam pcre readline recode session sharedmem sockets ssl tcpd unicode vim vim-pager zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx 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" 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" INPUT_DEVICES="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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2014-07-01 15:20:49 UTC
Created attachment 380054 [details]
rake-compiler-0.9.2 build log
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2014-07-01 15:35:59 UTC
Same failure with cucumber-1.3.15
Comment 3 Hans de Graaff gentoo-dev Security 2014-07-20 08:32:46 UTC
(In reply to Tobias Klausmann from comment #0)
> (::) failed steps (::)
> 
> No such file or directory - gem unpack
> pkg/my_project-0.1.0-universal-unknown.gem --target tmp (Errno::ENOENT)

This is a system call to the "gem" command and I can reproduce the same error when I rename it and "gem" is not actually found. Is gem set up properly on this system? This would normally be set up by "select ruby".
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2014-07-21 11:46:34 UTC
So I amde a fresh chroot from stage3-alpha-20140719.tar.bz2 and keyworded these through /etc/portage:

=dev-ruby/ffi-1.9.3 ~alpha
=dev-ruby/rr-1.1.2-r1 ~alpha
=dev-ruby/nokogiri-1.6.0 ~alpha
=dev-ruby/spork-0.9.2-r1 ~alpha
=dev-util/cucumber-1.2.1 ~alpha
=dev-ruby/rspec-mocks-2.14.6-r1 ~alpha
=dev-ruby/ruby-gettext-3.1.2 ~alpha
=dev-ruby/childprocess-0.4.2 ~alpha
=dev-ruby/locale-2.1.0-r1 ~alpha
=dev-ruby/rspec-expectations-2.14.5-r1 ~alpha
=dev-ruby/gherkin-2.11.6 ~alpha
=virtual/ruby-ffi-2 ~alpha
=dev-ruby/rake-compiler-0.9.2-r1 ~alpha
=dev-ruby/test-unit-rr-1.0.3-r1 ~alpha
=dev-ruby/rspec-2.14.1-r1 ~alpha
=dev-util/aruba-0.5.4 ~alpha
=dev-ruby/yard-0.8.7.4 ~alpha
=dev-ruby/diff-lcs-1.2.5-r1 ~alpha
=dev-ruby/text-1.3.0 ~alpha
=dev-ruby/rspec-core-2.14.8-r1 ~alpha
=dev-ruby/rake-compiler-0.9.2 ~alpha

Installed them and then ran the rake-compiler test suite. No failure :-/ I have no idea what went wrong in the other chroot, but I'm gonna wipe it out.

For completeness:

(chroot) root@monolith ~ # eselect ruby list
Available Ruby profiles:
  [1]   ruby19 (with Rubygems)
  [2]   ruby20 (with Rubygems) *
(chroot) root@monolith ~ # eselect ruby show
Current Ruby version:
  ruby20
Current Rubygems version:
  gem20
(chroot) root@monolith ~ # gem
gem    gem19  gem20
(chroot) root@monolith ~ # gem --version
2.0.14