Gentoo Archives: gentoo-dev

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI-3 draft: slot operator support
Date: Thu, 09 Apr 2009 19:49:32
Message-Id: 1239304979.7303.132.camel@localhost
In Reply to: Re: [gentoo-dev] EAPI-3 draft: slot operator support by Nirbheek Chauhan
1 Am Donnerstag, den 09.04.2009, 23:36 +0530 schrieb Nirbheek Chauhan:
2 > On Thu, Apr 9, 2009 at 10:15 PM, Tiziano Müller <dev-zero@g.o> wrote:
3 > > roughly 90% packages depending on one of:
4 > >
5 > > sys-libs/db
6 >
7 > Why the hell does this have so many slots in-tree? I am unaware of the
8 > reasons for it. Horribly changed API every release? How does every
9 > other distro handle sys-libs/db ?
10 Doesn't matter in this context since somebody just wanted examples.
11
12 >
13 > > dev-libs/boost
14 >
15 > Has one unmasked slot in-tree
16 Oh, you got me. Nevertheless, will be 4 by the end of the week.
17
18 >
19 > > dev-lang/python
20 > >
21 >
22 > So, wait, you want to depend on specific slots of python and keep them
23 > around, and manage all their related bugs? Isn't that exactly the
24 > opposite of what python upstream suggests, and *ALL* distros do?
25 See dleverton's reply.
26
27 >
28 > > Besides: We wouldn't need the need_python_rebuild anymore, users could
29 > > safely uninstall old sys-libs/db versions, old dev-libs/boost versions
30 >
31 > @preserved-libs. More generic, a low-level catch-all for library
32 > breakages, and more convenient for users (rebuild as and when
33 > possible, not *right now* lest everything break).
34 >
35 > > and the list of packages to reinstall in python-updater boils down to
36 > > what "paludis -u dev-lang/python:2.4" spits out as reverse-dependencies
37 > > (or the corresponding portage command).
38 >
39 > You mean emerge -C dev-lang/python:2.4 ? That'll say "bai bai python".
40 > In any case, what is wrong with python_need_rebuild ?
41 >
42 > Slot operators need changes to the ebuilds, so does python_need_rebuild.
43 > Slot operators need an EAPI bump for the ebuild, python_need_rebuild doesn't.
44 >
45 > So, isn't python_need_rebuild superior.. ?
46 >
47 No. Python rebuild makes explicit use of how vdb works. Which is not
48 specified by eapi and therefore not guaranteed to work.
49 But since you checked how things work before you start writing you
50 already know that, don't you?

Attachments

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