Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671196 - dev-ruby/xmlrpc-0.3.0: test phase for ruby24: File does not exist: test/unit
Summary: dev-ruby/xmlrpc-0.3.0: test phase for ruby24: File does not exist: test/unit
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: 2018-11-15 15:13 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-11-16 06:30 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 Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-15 15:13:16 UTC
>  * 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
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-11-15 15:23:50 UTC
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.
Comment 2 Hans de Graaff gentoo-dev Security 2018-11-16 06:29:31 UTC
(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.
Comment 3 Larry the Git Cow gentoo-dev 2018-11-16 06:30:27 UTC
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(-)