Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942854 - dev-ruby/flexmock-2.4.2 installs the same files with USE=doc
Summary: dev-ruby/flexmock-2.4.2 installs the same files with USE=doc
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:
Depends on:
Blocks:
 
Reported: 2024-11-04 07:46 UTC by Agostino Sarubbo
Modified: 2024-11-11 07:58 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 Agostino Sarubbo gentoo-dev 2024-11-04 07:46:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/flexmock-2.4.2 installs the same files with USE=doc.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package without USE=doc
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist1 )
3) Install the package with USE=doc
4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist2 )
5) See the diff between the two files ( diff -ru /tmp/qlist_1 /tmp/qlist_2 )

On this machine:
- the installed files without USE=doc are 118
- the installed files with USE=doc are still 118

Usually USE=doc is supposed to build and install documentation files, so a build with USE=doc should install more files. If that's not the case, feel free to close.

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.
Comment 1 Hans de Graaff gentoo-dev Security 2024-11-10 10:52:33 UTC
This is really an issue with eclass that should not advertise USE=doc when RUBY_FAKEGEM_RECIPE_DOC="none".
Comment 2 Hans de Graaff gentoo-dev Security 2024-11-11 07:56:09 UTC
Further investigation shows that this happens due to an obsolete RUBY_FAKEGEM_DOCDIR setting in the ebuild.
Comment 3 Larry the Git Cow gentoo-dev 2024-11-11 07:58:43 UTC
The bug has been closed via the following commit(s):

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

commit b5aee2b69f812a8944b3ab365aa6b64ce19e7a33
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-11-11 07:56:20 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-11-11 07:58:34 +0000

    dev-ruby/flexmock: avoid unneeded USE=doc
    
    Closes: https://bugs.gentoo.org/942854
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/flexmock/flexmock-2.4.2.ebuild | 1 -
 1 file changed, 1 deletion(-)