Gentoo Archives: gentoo-dev

From: Kacper Kowalik <xarthisius@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: autotools.eclass no longer inherits eutils; check your ebuilds!
Date: Wed, 23 May 2012 11:27:31
Message-Id: 4FBCC96A.5030000@gentoo.org
In Reply to: Re: [gentoo-dev] Re: autotools.eclass no longer inherits eutils; check your ebuilds! by Pacho Ramos
1 On 05/23/2012 01:00 PM, Pacho Ramos wrote:
2 > El mié, 23-05-2012 a las 10:31 +0100, Markos Chandras escribió:
3 >> On Wed, May 23, 2012 at 9:04 AM, Pacho Ramos <pacho@g.o> wrote:
4 >>> El mié, 23-05-2012 a las 06:39 +1000, Michael escribió:
5 >>>> On 2012-05-22 03:46, Alexandre Rostovtsev wrote:
6 >>>>> On May 20, autools.eclass was changed to no longer inherit eutils, see
7 >>>>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.133&r2=1.134
8 >>>>>
9 >>>>> Relying on autotools.eclass for your eutils needs was always a terrible
10 >>>>> idea, but a few ebuilds did it anyway. Those ebuilds are now *broken*
11 >>>>> since they can no longer use epatch. See bug #416847 for an example.
12 >>>>>
13 >>>>> Check your ebuilds to make sure you inherit eutils in anything that uses
14 >>>>> epatch!
15 >>>>>
16 >>>>> -Alexandre Rostovtsev.
17 >>>>>
18 >>>>>
19 >>>>>
20 >>>> Since eutils inherits multilib and user, the breakage extends beyond epatch.
21 >>>> For example, I just saw bug #417153, where a user reported failed calls
22 >>>> to enew{user,group}.
23 >>>>
24 >>>>
25 >>>>
26 >>>
27 >>> The autotools.eclass change should probably be reverted until things are
28 >>> properly checked I think (and I will do it tomorrow if nobody disagrees)
29 >>
30 >> It is far too late to do that. What is done is done. Let try and fix
31 >> what is still broken
32 >>
33 >> Regards,
34 >> Markos
35 >>
36 >>
37 >
38 > But we still have no idea what kind of commands provided by eutils and
39 > eclasses inheritted by it are now missing, epatch usage was fixes,
40 > enewgroup/user will probably be done but... other missing commands could
41 > still appear in the tree :|
42
43 I wrote a simple, stupid script just a moment ago. Please don't show it
44 to anybody who knows how to write in Python :D
45
46 It shows all missing inherits, not just the ones causing failures, but
47 it could prolly be adjusted to do that instead.
48
49 Cheers,
50 Kacper

Attachments

File name MIME type
eclass_walker.py text/x-python
signature.asc application/pgp-signature