From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ESzPG-0007Ns-Vg for garchives@archives.gentoo.org; Fri, 21 Oct 2005 16:06:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9LG3G5l021432; Fri, 21 Oct 2005 16:03:16 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9LG0Kmb013819 for ; Fri, 21 Oct 2005 16:00:21 GMT Received: from [65.115.53.39] (helo=[192.168.10.54]) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1ESzMH-0008R6-Qm for gentoo-dev@lists.gentoo.org; Fri, 21 Oct 2005 16:03:06 +0000 Subject: Re: [gentoo-dev] ${PORTDIR}/profiles/package.use From: Daniel Ostrow To: gentoo-dev@lists.gentoo.org In-Reply-To: <4358FFE9.2010001@gentoo.org> References: <43581061.5090102@gentoo.org> <4358BB36.1090902@gentoo.org> <4358CC24.6020404@gentoo.org> <4358FFE9.2010001@gentoo.org> Content-Type: text/plain; charset=utf-8 Organization: The Gentoo Foundation Date: Fri, 21 Oct 2005 11:58:55 -0400 Message-Id: <1129910335.7867.12.camel@Memoria.anyarch.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j9LG0Kmb013819 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j9LG3G7N021432 X-Archives-Salt: 8225aecd-a33a-44db-8a24-b89c14c54a1f X-Archives-Hash: 62d6628b203a5caa53745404c667b1d7 On Fri, 2005-10-21 at 17:49 +0300, Marius Mauch wrote: > Petteri R=C3=A4ty wrote: > > Marius Mauch wrote: > >=20 > > Gentoo being about choice the new package.use should come before > > anything user set. I do not see any problem with this if it works in = the > > same way as package.mask already works. Please, enlighten me. >=20 > Because package.use is implemented in a very different way then=20 > package.mask and currently isn't stackable at all. Adding a=20 > profiles/package.use that could be overridden by make.conf would requir= e=20 > some nasty special casing in portage, and as we all know special case=20 > code is something that should be avoided. Besides that, there would als= o=20 > be the question about USE=3D-*, should this kill profiles/package.use=20 > completely? > Short version: Implementation and semantics of profiles/package.use=20 > isn't much easier than extending IUSE. >=20 > Marius Hijacking this for a moment. And I fully expect to be lynched for the following but it is something that has come up in both the amd64 and ppc64 groups in the past. I know it has been proposed many a time in the past but a per profile (${PORTDIR}/profiles/default-linux/${ARCH}) package.use.mask would also come in handy. It's a rare case...but increasingly in the world of mixed 32-bit and 64-bit environments things like java work against 32-bit stuff *or* 64-bit stuff. This means that the java use flag will work perfectly on a given arch for one bitness but not the other...and masking it out completely means that the one bitness where it would work looses functionality unnecessarily. Yeah I know this adds a whole additional layer of complexity to the picture but seeing how DEPEND=3D"!arch? ( use? ( app-foo/bar ) )" is against policy there has to be some way to control it.=20 --=20 Daniel Ostrow Gentoo Foundation Board of Trustees Gentoo/{PPC,PPC64,DevRel} dostrow@gentoo.org --=20 gentoo-dev@gentoo.org mailing list