Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914380 - dev-ruby/rexml-3.2.5-r1 fails tests (missing test-unit dep)
Summary: dev-ruby/rexml-3.2.5-r1 fails tests (missing test-unit dep)
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:
 
Reported: 2023-09-18 10:51 UTC by Jonathan Lovelace
Modified: 2023-09-24 07:13 UTC (History)
0 users

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


Attachments
dev-ruby:rexml-3.2.5-r1:20230918-031802.log (dev-ruby:rexml-3.2.5-r1:20230918-031802.log,2.66 KB, text/plain; charset=utf-8)
2023-09-18 10:51 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.17 KB, text/plain; charset=utf-8)
2023-09-18 10:52 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-09-18 10:51:31 UTC
Created attachment 870844 [details]
dev-ruby:rexml-3.2.5-r1:20230918-031802.log

While setting up a new machine, I hit a test failure in =dev-ruby/rexml-3.2.5:

 * Running test phase for ruby31
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- test-unit (LoadError)
        from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /var/tmp/portage/dev-ruby/rexml-3.2.5-r1/work/ruby31/rexml-3.2.5/test/helper.rb:3:in `<top (required)>'
        from test/run.rb:11:in `require_relative'
        from test/run.rb:11:in `<main>'

It looks like rexml should depend on dev-ruby/test-unit when USE=test.
Comment 1 Jonathan Lovelace 2023-09-18 10:52:33 UTC
Created attachment 870845 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2023-09-24 07:13:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f4fd6221f06b0346af9b9096a171059b8a378a

commit 83f4fd6221f06b0346af9b9096a171059b8a378a
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-09-24 07:07:52 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-09-24 07:13:20 +0000

    dev-ruby/rexml: add missing test dependency
    
    Closes: https://bugs.gentoo.org/914380
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rexml/rexml-3.2.5-r1.ebuild | 2 ++
 dev-ruby/rexml/rexml-3.2.6.ebuild    | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)