Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486566 - sys-devel/autoconf illegal use of USE flags in global scope
Summary: sys-devel/autoconf illegal use of USE flags in global scope
Status: RESOLVED DUPLICATE of bug 174407
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Quality Assurance Team
URL: http://devmanual.gentoo.org/general-c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-30 12:07 UTC by Julian Ospald
Modified: 2013-10-20 19:01 UTC (History)
3 users (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 Julian Ospald 2013-09-30 12:07:41 UTC
...and thus breaks metadata cache.

I am not aware that there are any exceptions to the present policy.


> SLOT=$(usex multislot "${PV}" "2.5")
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-10-01 04:45:11 UTC
How about providing an alternative to the current code? Otherwise this bug just seems like complaining over something that works for most people in the name of ""QA""
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-10-01 07:24:54 UTC
(In reply to Samuli Suominen from comment #1)
> How about providing an alternative to the current code? Otherwise this bug
> just seems like complaining over something that works for most people in the
> name of ""QA""

Well, dynamic variables do not break anything. So it works for people as it is. They just invalidate the cache and make portage slower.
Comment 3 Julian Ospald 2013-10-09 18:15:19 UTC
(In reply to Markos Chandras from comment #2)
> (In reply to Samuli Suominen from comment #1)
> > How about providing an alternative to the current code? Otherwise this bug
> > just seems like complaining over something that works for most people in the
> > name of ""QA""
> 
> Well, dynamic variables do not break anything. So it works for people as it
> is. They just invalidate the cache and make portage slower.

That's not the whole story.

http://article.gmane.org/gmane.linux.gentoo.devel/85063
Comment 4 SpanKY gentoo-dev 2013-10-15 19:51:56 UTC

*** This bug has been marked as a duplicate of bug 174407 ***
Comment 5 Julian Ospald 2013-10-15 19:54:44 UTC
I don't see how that is a duplicate.
Comment 6 SpanKY gentoo-dev 2013-10-15 19:56:59 UTC

*** This bug has been marked as a duplicate of bug 174407 ***
Comment 7 Julian Ospald 2013-10-15 19:58:42 UTC
you are not even assigned, so stop messing with this bug report
Comment 8 SpanKY gentoo-dev 2013-10-15 20:00:58 UTC
there, fixed it.  autoconf isn't broken, neither is the cache.  the duped bug is the one to figure out the right answer.

*** This bug has been marked as a duplicate of bug 174407 ***
Comment 9 Ciaran McCreesh 2013-10-15 20:02:48 UTC
The fact that currently there is no legal way of doing this does not mean it's ok to do it illegally until there is.
Comment 10 Julian Ospald 2013-10-15 20:04:13 UTC
(In reply to Ciaran McCreesh from comment #9)
> The fact that currently there is no legal way of doing this does not mean
> it's ok to do it illegally until there is.

That's the first time I have to agree with you.
Comment 11 SpanKY gentoo-dev 2013-10-15 20:07:04 UTC
so sort out the referenced bug.  this is not specific to autoconf.  as pointed out there, this isn't a new issue (better part of a decade), and still systems are not on fire.

*** This bug has been marked as a duplicate of bug 174407 ***
Comment 12 Julian Ospald 2013-10-15 20:10:07 UTC
(In reply to SpanKY from comment #11)
> so sort out the referenced bug.  this is not specific to autoconf.  as
> pointed out there, this isn't a new issue (better part of a decade), and
> still systems are not on fire.
> 
> *** This bug has been marked as a duplicate of bug 174407 ***

Do you want to get devrel involved? You deliberately violate policies/PMS and that's the reason you are NOT assigned, because I do not expect you to do anything here.

Only QA is allowed to decide if this violation is a valid one, not you.
Comment 13 Mike Gilbert gentoo-dev 2013-10-15 21:05:08 UTC
(In reply to Samuli Suominen from comment #1)
> How about providing an alternative to the current code? Otherwise this bug
> just seems like complaining over something that works for most people in the
> name of ""QA""

An alternative would be to copy the ebuilds to another repository (aka overlay) and set SLOT="${PV}" there.

I think one end goal here would be to make "use" fatal in global scope to prevent ebuild developers from mistakenly calling it there.
Comment 14 SpanKY gentoo-dev 2013-10-16 06:17:46 UTC
(In reply to Julian Ospald (hasufell) from comment #12)

ah yes, the classic "if you don't agree with me, i'll complain to devrel" angle

if having an open bug makes you feel warm & fuzzy, feel free to waste time.  even if there is already one open on the exact topic (you for some reason insist on ignoring).  the ebuilds aren't going to change.
Comment 15 Julian Ospald 2013-10-16 12:58:52 UTC
(In reply to SpanKY from comment #14)
> (In reply to Julian Ospald (hasufell) from comment #12)
> 
> ah yes, the classic "if you don't agree with me, i'll complain to devrel"
> angle
> 

Nope. This was about you messing with this bug report which is assigned to QA, because I want their opinion on this.

> the ebuilds aren't going to change.

That doesn't solely depend on your opinion, I'm afraid. If there is _consensus_ either way about this issue, then I am fine with it.
Comment 16 Ulrich Müller gentoo-dev 2013-10-20 19:01:15 UTC
*shrug* Currently, there seems to be no PMS compliant way to achieve the desired functionality. And I think that Zac's analysis in bug 174407 comment 4 is very much to the point.

That said, I don't see anything here that would need urgent QA intervention. Let's discuss things in bug 174407. I've CCed QA there.

*** This bug has been marked as a duplicate of bug 174407 ***