Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 348CC70016 for ; Tue, 7 Nov 2017 02:09:01 +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 vA7293Nn023016 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Mon, 6 Nov 2017 18:09:03 -0800 Received: from [128.224.163.189] (128.224.163.189) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 6 Nov 2017 18:09:02 -0800 To: References: <1508833184-28676-1-git-send-email-Qi.Chen@windriver.com> From: ChenQi Message-ID: <55eb9098-4794-addc-b7b1-150da89a56de@windriver.com> Date: Tue, 7 Nov 2017 10:10:23 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1508833184-28676-1-git-send-email-Qi.Chen@windriver.com> X-Originating-IP: [128.224.163.189] Subject: Re: [meta-oe][PATCH] gnome-common: add PACKAGECONFIG for autoconf-archive X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 02:09:02 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit ping On 10/24/2017 04:19 PM, Qi.Chen@windriver.com wrote: > From: Chen Qi > > Add PACKAGECONFIG for autoconf-archive. Default to enable it to avoid > m4 file conflicts between gnome-common and autoconf-archive. > > e.g. > IMAGE_INSTALL_append = " gnome-common autoconf-archive-dev" > bitbake > > We enable autoconf-archive PACKAGECONFIG to avoid the following error. > > Error: Transaction check error: > file /usr/share/aclocal/ax_check_enable_debug.m4 conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64 > file /usr/share/aclocal/ax_code_coverage.m4 conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64 > > Signed-off-by: Chen Qi > --- > meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb b/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb > index 06f3bb3..d874164 100644 > --- a/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb > +++ b/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb > @@ -14,6 +14,10 @@ SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd > EXTRA_AUTORECONF = "" > DEPENDS = "" > > +# Default to enable autoconf-archive to avoid conflicts > +PACKAGECONFIG ??= "autoconf-archive" > +PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive" > + > FILES_${PN} += "${datadir}/aclocal" > FILES_${PN}-dev = "" >