Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] autotools.eclass no longer inherits eutils; check your ebuilds!
Date: Mon, 21 May 2012 19:06:04
Message-Id: 1337627084.19782.16.camel@belkin4
In Reply to: [gentoo-dev] autotools.eclass no longer inherits eutils; check your ebuilds! by Alexandre Rostovtsev
1 El lun, 21-05-2012 a las 13:46 -0400, Alexandre Rostovtsev escribió:
2 > On May 20, autools.eclass was changed to no longer inherit eutils, see
3 > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.133&r2=1.134
4 >
5 > Relying on autotools.eclass for your eutils needs was always a terrible
6 > idea, but a few ebuilds did it anyway. Those ebuilds are now *broken*
7 > since they can no longer use epatch. See bug #416847 for an example.
8 >
9 > Check your ebuilds to make sure you inherit eutils in anything that uses
10 > epatch!
11 >
12 > -Alexandre Rostovtsev.
13 >
14 >
15 >
16
17 Looks like ebuilds not inheriting eutils directly even using epatch are
18 a lot as I have seen running:
19 grep inherit $(grep -r epatch */*/*.ebuild| cut -d: -f1) | grep -v
20 eutils
21
22 Maybe they should be checked and a repoman warning should be added when
23 an ebuild is using epatch without inheriting eutils directly, otherwise
24 this problem could reappear if some other eclass no longer inherit it in
25 the future :-/

Attachments

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

Replies