From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KAvlN-0000ns-JQ for garchives@archives.gentoo.org; Mon, 23 Jun 2008 23:47:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E82BE0481; Mon, 23 Jun 2008 23:47:56 +0000 (UTC) Received: from mail.goodpoint.de (tori.goodpoint.de [85.10.203.41]) by pigeon.gentoo.org (Postfix) with ESMTP id E82B4E0481 for ; Mon, 23 Jun 2008 23:47:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rbu) by mail.goodpoint.de (Postfix) with ESMTP id 11AC510400E for ; Tue, 24 Jun 2008 01:47:55 +0200 (CEST) From: Robert Buchholz To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Merging or overwriting KEYWORDS from eclass Date: Tue, 24 Jun 2008 01:53:55 +0200 User-Agent: KMail/1.9.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10751694.VDjElJyzFU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200806240153.58516.rbu@gentoo.org> X-Archives-Salt: 9fd10de7-eb42-4a6d-90aa-98fefd4d4270 X-Archives-Hash: 1e5a8e0286cfc4b2ff875d2b1b8d36bc --nextPart10751694.VDjElJyzFU Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I've stumbled upon an inconsitency between package managers the other=20 day [1], which was due to both an ebuild and an eclass defining=20 inconsisting KEYWORDS. bla-1.ebuild: inherit myeclass KEYWORDS=3D"~arch" myeclass.eclass: KEYWORDS=3D"arch" Portage will resolve this by overwriting the variable, so the last=20 (~arch) wins. Paludis, on the other hand, merges the variables, so it=20 is KEYWORDS=3D"~arch arch". The PMS draft [2] defines that "IUSE, DEPEND, RDEPEND and PDEPEND"=20 variables be merged when defined in both eclass and ebuild (Section=20 7.2), but only says "May be de=EF=AC=81ned in an eclass" about KEYWORDS=20 (Section 8.2). Anyone up to toss a coin whose bug it is, and maybe we can have a more=20 specific wording in the PMS? Robert [1] http://trac.pioto.org/paludis/ticket/586#comment:10 [2] http://dev.gentoo.org/~coldwind/pms-without-kdebuild.pdf --nextPart10751694.VDjElJyzFU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iQIcBAABAgAGBQJIYDeWAAoJECaaHo/OfoM5Mk4P/0s/hSF0QkQ+ulwMRX63hwQH 28jBOa46hcFFi8PyrIlNXYMN0PJZaTaKNoczfUTh6YxngVzdOkUNYZi2Pur4MEwJ 2gPGNGjMWTfyR8pq6he4nbHe1/VxJoOlymjLFVjB906Ytq5ZKW49pZnDn8gpYtw5 OdifjXGZuVNn4ZajeBLFJxR7l13L3YeGJ4hYgiZmav0u5iT7v4lHQ7F59iG1e6XC XpE5uJp0XnyrvgsmqK9aqrVwZgwcOOlGrFXJUxebR+dBhKgzE2N3G+XYoSGIit+3 UjY4BmEiMa/EK6Z3WYKrG6cUWEfvGYDStxOmyoBiLke3ZwKTFwXg0TBD+ly/Wa0Z YLdu9lohDVOUnhbgJfM2flkc2+NoQwh0d0/FP1UthZywXj0FNeb0CviodVH1ipev Ediqmfo381nj22JIWJE+uSCOLYNTxDORAwjHC7UDOy7xQb8vvpHb6+eUguQeAqKr VjDTieZiIaKOjJe8y4EAuG6u9Y7zeJbFzmfQZQ04mF6jxZ+OUf1VTkLcXveyXHG3 rqgeFvhGaX0Rs8tIVjYW7HaVY+84bHrUYbQCaYAwsFrj9jrjXokRPYRAJHYq/iSN KkxGBYsb5aV2bctzcF675TTqE0lR9IgbLzaXzFxX1FuwYLYKOi64BjW6yG3eQI3p IhndDbt7BeAdLw7MReVz =M5dr -----END PGP SIGNATURE----- --nextPart10751694.VDjElJyzFU-- -- gentoo-dev@lists.gentoo.org mailing list