Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460900 - sys-apps/kmod[-tools] : Add a warning message when compiling whith no "tools" USE flag
Summary: sys-apps/kmod[-tools] : Add a warning message when compiling whith no "tools"...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-09 11:15 UTC by Charles de Noyelle
Modified: 2013-03-09 13:03 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 Charles de Noyelle 2013-03-09 11:15:52 UTC
I had troubles with modutils and removed it to install "kmod". (depmod returned "qm_modules function not implemented"...)

It took me a (short) while to figure out that I had to add the "tools" USE flag to have modprobe, lsmod and others built.

Since I think that most people will have the same willing (build lsmod, when emerging this ebuild), I submit this Idea : << add a warning message when building with no "tools" USE flag >>.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-03-09 11:23:59 UTC
I'm not sure how the USE flag description could be more clear:

[-      ] tools
    sys-apps/kmod: Install module loading/unloading tools.

And the ebuild already has IUSE="+tools" so you have to explicitely read the USE flag description, determine it's not useful, then disable it, and ... well, you are on your own at this point
Comment 2 Charles de Noyelle 2013-03-09 13:03:57 UTC
Some packages "masqued" add some warning to tell they are masqued.
ref : http://www.calculate-linux.org/packages/sys-kernel/rt-sources/rt-sources-3.0.27_p46.ebuild

Since some people use "-*" USE flag, and the "tools" is not _that_ useful in many cases, I don't deserve as much to be "on my own" as you tell. (IMHO).

The real question is : has anyone ever wanted to have kmod without tools ? (except some real rare cases, where the warning wouldn't be hurtful)