From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 15E0CE00594 for ; Wed, 1 Feb 2012 08:50:06 -0800 (PST) Received: by qcsd1 with SMTP id d1so953870qcs.35 for ; Wed, 01 Feb 2012 08:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Dce0i4hJxyePwa24V81/Xg0BOG3cEYPrBG/INK0fSLA=; b=vYKkwZxTwbB2eRe+YmynTlL1IiTnH8CbsngzZReMc990pILylwXUXpDm3XQiKKyd8D UOkgGnLNeoT5fCSclwe70xV92+NWg0ylge05XGp8WMpApl9WptkGeVRuwndnPjXfSs68 8JBDO63L26S2kK/Zs9AJumS20GXr/ttcR0Tdc= Received: by 10.224.178.207 with SMTP id bn15mr34477014qab.34.1328115006549; Wed, 01 Feb 2012 08:50:06 -0800 (PST) Received: from [10.0.1.54] (nc-184-3-54-63.dhcp.embarqhsd.net. [184.3.54.63]) by mx.google.com with ESMTPS id o8sm48638653qaj.0.2012.02.01.08.50.05 (version=SSLv3 cipher=OTHER); Wed, 01 Feb 2012 08:50:05 -0800 (PST) Message-ID: <4F296D3E.5050302@gmail.com> Date: Wed, 01 Feb 2012 11:50:06 -0500 From: jfabernathy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: Paul Eggleton References: <4F296826.4030909@gmail.com> <3971839.nMHIKpoOXs@helios> In-Reply-To: <3971839.nMHIKpoOXs@helios> Cc: yocto@yoctoproject.org Subject: Re: 1.2_M2-Final build failures X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2012 16:50:07 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/01/2012 11:41 AM, Paul Eggleton wrote: > On Wednesday 01 February 2012 11:28:22 jfabernathy wrote: >> Using the tarballs for Poky and meta-intel for 1.2_M2-Final, I was >> getting a lot of build failures below is what worked and what didn't. >> Not sure if this is a bug or if I'm missing something. I extracted the >> meta-intel tarball for 1.2_M2-Final in the poky directory created by >> extracting the poky tarball for 1.2_M2.Final. >> ... >> 3. building n450 core-image-minimal fails with error: ERROR: Unable to >> parse /home/jim/poky/meta/recipes-core/tasks/task-base.bb:00:20 >> Traceback (most recent call last): >> File "/home/jim/poky/bitbake/lib/bb/parse/ast.py", line 379, in >> multi_finalize(fn='/home/jim/poky/meta/recipes-core/tasks/task-base.bb >> ', d=> 0x4a801d0>): >> >> try: >> > finalize(fn, d) >> >> except bb.parse.SkipPackage as e: >> File "/home/jim/poky/bitbake/lib/bb/parse/ast.py", line 323, in >> finalize(fn='/home/jim/poky/meta/recipes-core/tasks/task-base.bb >> ', d=> 0x4a801d0>, variant=None): >> code.append("%s(d)" % funcname) >> >> > bb.utils.simple_exec("\n".join(code), {"d": d}) >> >> bb.data.update_data(d) >> File "/home/jim/poky/bitbake/lib/bb/utils.py", line 387, in >> >> simple_exec(code='__anon_119__home_jim_poky_meta_classes_staging_bbclass(d) >> \n__anon_485__home_jim_poky_meta_classes_base_bbclass(d)\n__anon_189__home_j >> im_poky_meta_classes_package_bbclass(d)\n__anon_1034__home_jim_poky_meta_cla >> sses_package_rpm_bbclass(d)\n__anon_20__home_jim_poky_meta_classes_debian_bb >> class(d)\n__anon_55__home_jim_poky_meta_classes_sstate_bbclass(d)\n__anon_26 >> __home_jim_poky_meta_classes_task_bbclass(d)\n__anon_140__home_jim_poky_meta >> _recipes_core_tasks_task_base_bb(d)', context={'d':> object at 0x4a801d0>}): >> def simple_exec(code, context): >> > exec(code, _context, context) >> >> File "", line 8, in >> File >> "__anon_140__home_jim_poky_meta_recipes_core_tasks_task_base_bb", >> line 8, in >> >> __anon_140__home_jim_poky_meta_recipes_core_tasks_task_base_bb(d=> mart.DataSmart object at 0x4a801d0>) >> AttributeError: 'NoneType' object has no attribute 'split' >> >> ERROR: Command execution failed: Exited with 1 >> Summary: There were 1 WARNING messages shown. >> >> Summary: There were 1 ERROR messages shown, returning a non-zero >> exit code. >> >> 4. building cedartrail core-image-minimal fails with error: ERROR: >> Unable to parse conf/bitbake.conf: Could not include required file >> conf/machine/include/ia32-base.inc > I think I know what's going on here. In previous editions it was enough to > have just the meta-intel sub-layer in your bblayers.conf (e.g. meta-crownbay) > - now you also need to add meta-intel itself to get certain common files. If > you do this then your errors will go away. > > I did notice this the other day and I think we can improve things such that > you get a sensible error message in this situation rather than the above. I > will try to send out some patches next week. okay that fixed it. To be clear: BBFILES ?= "" BBLAYERS ?= " \ /home/jim/poky-edison-6.1-M2/meta \ /home/jim/poky-edison-6.1-M2/meta-yocto \ /home/jim/poky-edison-6.1-M2/meta-intel \ /home/jim/poky-edison-6.1-M2/meta-intel/meta-cedartrail \ " instead of BBFILES ?= "" BBLAYERS ?= " \ /home/jim/poky-edison-6.1-M2/meta \ /home/jim/poky-edison-6.1-M2/meta-yocto \ /home/jim/poky-edison-6.1-M2/meta-intel/meta-cedartrail \ " Now if this is the way it remains, we have some docs to cleanup. Jim A > Cheers, > Paul >