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
On 05/23/2012 01:00 PM, Pacho Ramos wrote:
> El mié, 23-05-2012 a las 10:31 +0100, Markos Chandras escribió: >> On Wed, May 23, 2012 at 9:04 AM, Pacho Ramos <pacho@g.o> wrote: >>> El mié, 23-05-2012 a las 06:39 +1000, Michael escribió: >>>> On 2012-05-22 03:46, Alexandre Rostovtsev wrote: >>>>> On May 20, autools.eclass was changed to no longer inherit eutils, see >>>>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.133&r2=1.134 >>>>> >>>>> Relying on autotools.eclass for your eutils needs was always a terrible >>>>> idea, but a few ebuilds did it anyway. Those ebuilds are now *broken* >>>>> since they can no longer use epatch. See bug #416847 for an example. >>>>> >>>>> Check your ebuilds to make sure you inherit eutils in anything that uses >>>>> epatch! >>>>> >>>>> -Alexandre Rostovtsev. >>>>> >>>>> >>>>> >>>> Since eutils inherits multilib and user, the breakage extends beyond epatch. >>>> For example, I just saw bug #417153, where a user reported failed calls >>>> to enew{user,group}. >>>> >>>> >>>> >>> >>> The autotools.eclass change should probably be reverted until things are >>> properly checked I think (and I will do it tomorrow if nobody disagrees) >> >> It is far too late to do that. What is done is done. Let try and fix >> what is still broken >> >> Regards, >> Markos >> >> > > But we still have no idea what kind of commands provided by eutils and > eclasses inheritted by it are now missing, epatch usage was fixes, > enewgroup/user will probably be done but... other missing commands could > still appear in the tree :|
I wrote a simple, stupid script just a moment ago. Please don't show it to anybody who knows how to write in Python :D It shows all missing inherits, not just the ones causing failures, but it could prolly be adjusted to do that instead. Cheers, Kacper

Attachments

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