From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id 1426A610FF for ; Mon, 23 Sep 2013 11:24:34 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r8NBdDA5001233; Mon, 23 Sep 2013 12:39:13 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r6hqeSi2HxTK; Mon, 23 Sep 2013 12:39:13 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r8NBd9Y2001230 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Mon, 23 Sep 2013 12:39:10 +0100 Message-ID: <1379935457.18603.215.camel@ted> From: Richard Purdie To: Eric =?ISO-8859-1?Q?B=E9nard?= Date: Mon, 23 Sep 2013 12:24:17 +0100 In-Reply-To: <1379923619-27142-1-git-send-email-eric@eukrea.com> References: <1379923619-27142-1-git-send-email-eric@eukrea.com> X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH/RFC] autotools: handle dependency on intltool-native X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Sep 2013 11:24:36 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Mon, 2013-09-23 at 10:06 +0200, Eric Bénard wrote: > autotools' class can use intltoolize but has no dependency on it > which can leads to : > /test/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/cortexa9hf-vfp-neon-oe-linux-gnueabi/gnokii/0.6.31-r0/temp/run.do_configure.7559: line 179: intltoolize: command not found > > This patch fix this problem by adding the dependency on > intltool-native which can be tricky as it triggers > circular dependencies very easily. > > Signed-off-by: Eric Bénard > --- > meta/classes/autotools.bbclass | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass > index 883eb06..eb988cb 100644 > --- a/meta/classes/autotools.bbclass > +++ b/meta/classes/autotools.bbclass > @@ -16,6 +16,7 @@ def autotools_dep_prepend(d): > and not bb.data.inherits_class('cross', d) \ > and not d.getVar('INHIBIT_DEFAULT_DEPS', True): > deps += 'libtool-cross ' > + deps += 'intltool-native ' > > return deps + 'gnu-config-native ' Its expected that recipes using that add to DEPENDS. Please lets not add in the dependency for everyone since it isn't actually used in that many places. Its small details like this which end up causing significant performance issues :/. Cheers, Richard