From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 26AD86FF9F for ; Mon, 11 Jan 2016 08:27:54 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u0B8Rsdb027413 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 11 Jan 2016 00:27:54 -0800 (PST) Received: from [128.224.162.155] (128.224.162.155) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Mon, 11 Jan 2016 00:27:53 -0800 To: Richard Purdie , References: <40d0365cec15c63a1f77e9aa43fb4022f62e0f66.1452152689.git.liezhi.yang@windriver.com> <1452164226.7598.108.camel@linuxfoundation.org> From: Robert Yang Message-ID: <56936788.9080202@windriver.com> Date: Mon, 11 Jan 2016 16:27:52 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1452164226.7598.108.camel@linuxfoundation.org> Subject: Re: [PATCH 2/3] run-postinsts: can't be allarch 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, 11 Jan 2016 08:27:57 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit On 01/07/2016 06:57 PM, Richard Purdie wrote: > On Wed, 2016-01-06 at 23:45 -0800, Robert Yang wrote: >> The dependencies chain: >> run-postinsts -> update-rc.d.bbclass -> initscripts -> update >> -alternatives. >> >> The update-alternatives is provided by opkg-utils which is not >> allarch. >> >> This caused a problem: >> $ bitbake lib32-core-image-minimal >> >> Both lib32-opkg-utils and opkg-utils would be built, but opkg-utils >> shouldn't, this patch can fix the problem. >> >> [YOCTO #8879] >> >> Signed-off-by: Robert Yang >> --- >> .../run-postinsts/run-postinsts_1.0.bb | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Removing allarch isn't the correct way to fix this, we need to figure > out what is going wrong and fix multilib. After more investigations, the problem is for allarch recipe such as run-postinsts: $ bitbake lib32-run-postinsts No lib32 recipes was built, but 64bit python, flex, openssl and others are built since lib32-allarch recipe is the same as allarch one. (the dependencies chain: run-postinsts -> update-rc.d.bbclass -> initscripts -> update-alternatives-opkg-utils) I think that SIGGEN_EXCLUDERECIPES_ABISAFE is for recipes which depend on the abisafe ones, not for abisafe ones depend on otheres. I'm still thinking how to fix it, any suggestions is appreciated. // Robert > > Cheers, > > Richard >