public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Merging or overwriting KEYWORDS from eclass
@ 2008-06-23 23:53 Robert Buchholz
  2008-06-23 23:55 ` Brian Harring
  2008-06-24 17:32 ` [gentoo-dev] " Peter Volkov
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Buchholz @ 2008-06-23 23:53 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

Hi,

I've stumbled upon an inconsitency between package managers the other 
day [1], which was due to both an ebuild and an eclass defining 
inconsisting KEYWORDS.

bla-1.ebuild:
  inherit myeclass
  KEYWORDS="~arch"

myeclass.eclass:
  KEYWORDS="arch"

Portage will resolve this by overwriting the variable, so the last 
(~arch) wins. Paludis, on the other hand, merges the variables, so it 
is KEYWORDS="~arch arch".

The PMS draft [2] defines that "IUSE, DEPEND, RDEPEND and PDEPEND" 
variables be merged when defined in both eclass and ebuild (Section 
7.2), but only says "May be defined in an eclass" about KEYWORDS 
(Section 8.2).

Anyone up to toss a coin whose bug it is, and maybe we can have a more 
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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-24 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 23:53 [gentoo-dev] Merging or overwriting KEYWORDS from eclass Robert Buchholz
2008-06-23 23:55 ` Brian Harring
2008-06-24 10:05   ` [gentoo-dev] " Tiziano Müller
2008-06-24 15:29     ` Brian Harring
2008-06-24 17:32 ` [gentoo-dev] " Peter Volkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox