Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835519 - dev-ruby/rbs-2.2.2 test failure: requires dev-ruby/rdoc for tests
Summary: dev-ruby/rbs-2.2.2 test failure: requires dev-ruby/rdoc for tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-03-17 20:37 UTC by unhappy-ending
Modified: 2023-08-08 22:54 UTC (History)
2 users (show)

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


Attachments
build.log failure without rdoc (rbs-bad.log,10.31 KB, text/plain)
2022-03-17 20:38 UTC, unhappy-ending
Details
build.log passing with rdoc (rbs-good.log,28.07 KB, text/x-log)
2022-03-17 20:38 UTC, unhappy-ending
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unhappy-ending 2022-03-17 20:37:36 UTC
During a world rebuild dev-ruby/rbs-2.2.2 failed the test phase since it requires dev-ruby/rdoc for tests. dev-ruby/rdoc had to be manually pulled in for dev-ruby/rbs to successfully pass the test phase. 

Looking at the ebuild, this is partially my fault since I have the doc USE flag hard masked system wide and I noticed the ebuild inherits some flags from ruby_fakegem which is where the doc USE flag is pulled in. On the other hand, the test flag does not require the doc flag nor does it pull in dev-ruby/rdoc which it looks like it should. Otherwise, without rdoc the test phase won't run and fails.

Reproducible: Always
Comment 1 unhappy-ending 2022-03-17 20:38:29 UTC
Created attachment 767283 [details]
build.log failure without rdoc
Comment 2 unhappy-ending 2022-03-17 20:38:53 UTC
Created attachment 767284 [details]
build.log passing with rdoc
Comment 3 Larry the Git Cow gentoo-dev 2022-03-19 12:00:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720b751a32e9fbd176bae6251a20cb4bb050a42e

commit 720b751a32e9fbd176bae6251a20cb4bb050a42e
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-03-19 07:47:08 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-03-19 12:00:44 +0000

    dev-ruby/rbs: add missing test dep on rdoc
    
    Fixes: https://bugs.gentoo.org/835519
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rbs/rbs-2.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)