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 08:07:33 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Santiago M. Mola wrote:
> On Mon, Sep 15, 2008 at 9:45 PM, Vlastimil Babka <caster@g.o> wrote:
>> 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?
>>
> 
> Seems like an acceptable workaround.
> 
> For future EAPIs, ARCH could be a regular USE_EXPANDed flag as you
> suggest, and package managers could filter any flag in USE which is
> not listed in IUSE.

I suspect that it may be a little more than a "workaround". Consider
a case where IUSE contains elibc_glibc and the current selected
profile has set ELIBC=uclibc. In this case, the user could
conceivable set USE=elibc_glibc in make.conf, which would clearly be
an invalid setting. Therefore, it seems natural to mask the
elibc_glibc USE flag on all profiles except those which actually use
glibc.

- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjRHTQACgkQ/ejvha5XGaPsBwCfQ1tv/AgKH4x0PS++QtbFeav0
3NAAoJbvO3FHjt3uGL/kffOxRh7/akZq
=Ez2M
-----END PGP SIGNATURE-----


References:
Preventing $ARCH flags in USE
-- Vlastimil Babka
Re: Preventing $ARCH flags in USE
-- Santiago M. Mola
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: Re: Request for feedback on GNU Patch change
Next by date:
Re: Preventing $ARCH flags in USE


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.