Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835519

Summary: dev-ruby/rbs-2.2.2 test failure: requires dev-ruby/rdoc for tests
Product: Gentoo Linux Reporter: unhappy-ending <unhappy-ending>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, jstein
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log failure without rdoc
build.log passing with rdoc

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(-)