From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 4859677C7B for ; Thu, 13 Apr 2017 02:19:22 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v3D2JMoj014210 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Wed, 12 Apr 2017 19:19:22 -0700 Received: from [128.224.162.239] (128.224.162.239) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.294.0; Wed, 12 Apr 2017 19:19:21 -0700 To: Jussi Kukkonen References: <1491994341-28659-1-git-send-email-zhixiong.chi@windriver.com> From: Zhixiong Chi Message-ID: <58EEE028.5000606@windriver.com> Date: Thu, 13 Apr 2017 10:19:20 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH] gnome-common: add EXTRA_OECONF "--with-autoconf-archive" 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: Thu, 13 Apr 2017 02:19:23 -0000 Content-Type: multipart/alternative; boundary="------------030903080601080608090603" --------------030903080601080608090603 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit On 2017年04月12日 19:04, Jussi Kukkonen wrote: > On 12 April 2017 at 13:52, Zhixiong Chi > wrote: > > After updating the autoconf-archive version to 2016.09.16, > autoconf-archive > installs the same ax_*.m4 macros that gnome-common installs. So > there will > be the conflict occurs. > The option '--with-autoconf-archive' is passed to configure, the > macros > are not installed, and gnome-common will not install any M4 macros > that > conflict with autoconf-archive. > At the same time, set the RDEPENDS for gnome-common. > > Signed-off-by: Zhixiong Chi > > --- > meta/recipes-gnome/gnome/gnome-common_3.18.0.bb > | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb > > b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb > > index 06f3bb3..96817bb 100644 > --- a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb > > +++ b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb > > @@ -14,6 +14,9 @@ SRC_URI[archive.sha256sum] = > "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd > EXTRA_AUTORECONF = "" > DEPENDS = "" > > +EXTRA_OECONF += " --with-autoconf-archive" > +RDEPENDS_${PN} = "autoconf-archive" > > > autoconf-archive is not in oe-core, is it? Yes,it is. As Alex said, it shouldn't depend the recipe from the other layers. I will try to move autoconf-archive into oe-core next step. Thanks. > + > FILES_${PN} += "${datadir}/aclocal" > FILES_${PN}-dev = "" > > -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > > > -- --------------------- Thanks, Zhixiong Chi Tel: +86-10-8477-7036 --------------030903080601080608090603 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit

On 2017年04月12日 19:04, Jussi Kukkonen wrote:
On 12 April 2017 at 13:52, Zhixiong Chi <zhixiong.chi@windriver.com> wrote:
After updating the autoconf-archive version to 2016.09.16, autoconf-archive
installs the same ax_*.m4 macros that gnome-common installs. So there will
be the conflict occurs.
The option '--with-autoconf-archive' is passed to configure, the macros
are not installed, and gnome-common will not install any M4 macros that
conflict with autoconf-archive.
At the same time, set the RDEPENDS for gnome-common.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
---
 meta/recipes-gnome/gnome/gnome-common_3.18.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
index 06f3bb3..96817bb 100644
--- a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
@@ -14,6 +14,9 @@ SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd
 EXTRA_AUTORECONF = ""
 DEPENDS = ""

+EXTRA_OECONF += " --with-autoconf-archive"
+RDEPENDS_${PN} = "autoconf-archive"

autoconf-archive is not in oe-core, is it?
 

Yes,it is.
As Alex said, it shouldn't depend the recipe from the other layers.
I will try to move autoconf-archive into oe-core next step.

Thanks.

+
 FILES_${PN} += "${datadir}/aclocal"
 FILES_${PN}-dev = ""

--
1.9.1

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


-- 
---------------------
Thanks,
Zhixiong Chi
Tel: +86-10-8477-7036
--------------030903080601080608090603--