> * Package: dev-ruby/xmlrpc-0.3.0 > * Repository: gentoo > * Maintainer: ruby@gentoo.org > * USE: abi_x86_32 elibc_glibc kernel_linux ruby_targets_ruby23 ruby_targets_ruby24 test userland_GNU x86 > * FEATURES: preserve-libs sandbox test userpriv usersandbox > >>> Unpacking source... > * Running unpack phase for all ... > >>> Unpacking xmlrpc-0.3.0.tar.gz to /var/tmp/portage/dev-ruby/xmlrpc-0.3.0/work/all > >>> Source unpacked in /var/tmp/portage/dev-ruby/xmlrpc-0.3.0/work > >>> Preparing source in /var/tmp/portage/dev-ruby/xmlrpc-0.3.0/work ... > * Running prepare phase for all ... > * Running source copy phase for ruby23 ... > * Running source copy phase for ruby24 ... > >>> Source prepared. > >>> Configuring source in /var/tmp/portage/dev-ruby/xmlrpc-0.3.0/work ... > >>> Source configured. > >>> Compiling source in /var/tmp/portage/dev-ruby/xmlrpc-0.3.0/work ... > * Running compile phase for all ... > >>> Source compiled. > >>> Test phase: dev-ruby/xmlrpc-0.3.0 > * Running test phase for ruby23 ... > Loaded suite /usr/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader > Started > ................................................ > Finished in 1.143624531 seconds. > ------------------------------------------------------------------------------- > 48 tests, 242 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications > 100% passed > ------------------------------------------------------------------------------- > 41.97 tests/s, 211.61 assertions/s > * Running test phase for ruby24 ... > > File does not exist: test/unit > > rake aborted! > Command failed with status (1) > > Tasks: TOP => test > (See full trace by running task with --trace) > * ERROR: dev-ruby/xmlrpc-0.3.0::gentoo failed (test phase): > * tests failed
Once I updated world (due to changed RUBY_TARGET like told in bug 661262 comment #2), e.g. after rebuilding dev-ruby/test-unit-3.2.7 with ruby24 target enabled, I was able to build dev-ruby/xmlrpc and passing tests for ruby24, too. If it is correct that dev-ruby/xmlrpc doesn't enforce dev-ruby/test-unit[ruby24] like Python ebuild do for PYTHON_TARGET, feel free to close.
(In reply to Thomas Deutschmann from comment #1) > If it is correct that dev-ruby/xmlrpc doesn't enforce > dev-ruby/test-unit[ruby24] like Python ebuild do for PYTHON_TARGET, feel > free to close. test-unit is a PDEPEND of dev-lang/ruby but if dev-lang/ruby is emerged with a bunch of ruby packages we still need to be explicit about this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4700b1aac9e6dc9a594c32c1046a24f71f3a423 commit c4700b1aac9e6dc9a594c32c1046a24f71f3a423 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2018-11-16 06:30:12 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2018-11-16 06:30:12 +0000 dev-ruby/xmlrpc: add missing test-unit dependency Fixes: https://bugs.gentoo.org/671196 Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/xmlrpc/xmlrpc-0.3.0.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)