Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Zac Medico <zmedico@g.o>
Subject: Re: Preventing $ARCH flags in USE
Date: Wed, 17 Sep 2008 09:19:49 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vlastimil Babka wrote:
> Apparently, setting USE=x86 in make.conf on amd64 arch can have funny
> consequences such as [1]. And I can imagine even more subtle and hard to
> detect errors due to this.
> 
> I think it's better to prevent this rather than waste time with bug
> reports like that. I asked Zac on IRC whether portage could filter such
> flags. He suggested using use.mask in profiles. Well since ARCH is also
> set by a profile, why not. Although a really persistent and stupid user
> could use.unmask, it's better than no protection. And then we can think
> how to replace the current ARCH->USE flag system with e.g. USE_EXPAND.
> What do you think?
> 
> Vlastimil
> 
> [1] http://bugs.gentoo.org/show_bug.cgi?id=236801
> 

I suggest that we unmask the appropriate ARCH flags in
profiles/arch/*/use.mask, add ../base to profiles/arch/*/parent, and
create profiles/arch/base/use.mask to mask all of the existing ARCH
flags. This will serve to mask all but the appropriate ARCH flags
for all of the 2008.0 profiles. Does this seem reasonable?
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjRLiMACgkQ/ejvha5XGaOUnACfb+wsK5BbVdNgmuG/KShxDPXy
hUUAn2a4hwO+4euOmExozx+7MegJZLK7
=9/4W
-----END PGP SIGNATURE-----


Replies:
Re: Preventing $ARCH flags in USE
-- Donnie Berkholz
References:
Preventing $ARCH flags in USE
-- Vlastimil Babka
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Preventing $ARCH flags in USE
Next by thread:
Re: Preventing $ARCH flags in USE
Previous by date:
Re: Preventing $ARCH flags in USE
Next by date:
Re: Re: Request for feedback on GNU Patch change


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.