Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34131 - IUSE needs to be listed as mandatory in variables table
Summary: IUSE needs to be listed as mandatory in variables table
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Developers HOWTO (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/gentoo-h...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-22 13:27 UTC by Alastair Tse (RETIRED)
Modified: 2003-12-06 11:21 UTC (History)
1 user (show)

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 Alastair Tse (RETIRED) gentoo-dev 2003-11-22 13:27:48 UTC
In the current developer docs, IUSE is listed as being optional, and not mandatory as it has always been. I don't recall any announcements to the contrary, and even 3 devs have backed me up on this.

It would be great if someone can edit the document to reflect that. 

Thanks
Comment 1 SpanKY gentoo-dev 2003-11-22 14:32:57 UTC
actually it was never listed in the policy as being required
Comment 2 SpanKY gentoo-dev 2003-11-22 14:36:54 UTC
perhaps the bug is that people think that it is always optional ...
it is required if USE flags are used in the ebuild, but not if there are no USE flags used ...
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-11-22 14:48:22 UTC
i'm pretty certain that it was listed as required. i intepreted that IUSE was mandatory because it says you have to set it even if you don't use and USE flags. 

this is what was in revision 1.13

<tr><ti><c>IUSE</c></ti><ti>This is set to what USE variables your package uses. If your package uses none, you must set it
to <c>IUSE="" </c>. </ti></tr>
Comment 4 SpanKY gentoo-dev 2003-11-22 15:06:08 UTC
it was listed in the howto as mandatory not the policy ;)
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-11-22 15:36:32 UTC
i thought the document was policy? :) 

but now the document has changed, so that implies policy has changed .. so who decides on these policies then? can i still go and bother people about not putting IUSE in their ebuilds, or should I start removing IUSE="" from mine?

Comment 6 SpanKY gentoo-dev 2003-11-22 15:56:10 UTC
personally i always removed IUSE="" from my ebuilds ... i see it as cruft ;)

perhaps a discussion needs to be brought up on gentoo-dev about it
Comment 7 Sven Vermeulen (RETIRED) gentoo-dev 2003-12-06 10:21:18 UTC
Was there any consensus on this in the discussion? Some postings tell that IUSE="" is what should be used, another sais that IUSE shouldn't be set in those situations...
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-12-06 10:53:18 UTC
i think the resolution is that it is mandatory, as nothing has changed in "policy" since revision 1.13 as i posted below. therefore, i think IUSE should be marked as mandatory.
Comment 9 Sven Vermeulen (RETIRED) gentoo-dev 2003-12-06 11:21:31 UTC
Okay, I've set it to mandatory again. If it was optional, then this doesn't harm :)