Gentoo Archives: gentoo-dev

From: Vlastimil Babka <caster@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Preventing $ARCH flags in USE
Date: Mon, 15 Sep 2008 19:45:57
Message-Id: 48CEBB5B.8020507@gentoo.org
1 Apparently, setting USE=x86 in make.conf on amd64 arch can have funny
2 consequences such as [1]. And I can imagine even more subtle and hard to
3 detect errors due to this.
4
5 I think it's better to prevent this rather than waste time with bug
6 reports like that. I asked Zac on IRC whether portage could filter such
7 flags. He suggested using use.mask in profiles. Well since ARCH is also
8 set by a profile, why not. Although a really persistent and stupid user
9 could use.unmask, it's better than no protection. And then we can think
10 how to replace the current ARCH->USE flag system with e.g. USE_EXPAND.
11 What do you think?
12
13 Vlastimil
14
15 [1] http://bugs.gentoo.org/show_bug.cgi?id=236801

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Preventing $ARCH flags in USE "Santiago M. Mola" <coldwind@g.o>
Re: [gentoo-dev] Preventing $ARCH flags in USE Zac Medico <zmedico@g.o>