From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.pokylinux.org (Postfix) with ESMTP id D89714C80050 for ; Thu, 3 Mar 2011 19:59:34 -0600 (CST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 03 Mar 2011 17:59:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.62,261,1297065600"; d="scan'208";a="608903004" Received: from shxpwgzhai1a.ccr.corp.intel.com (HELO [10.239.48.130]) ([10.239.48.130]) by orsmga002.jf.intel.com with ESMTP; 03 Mar 2011 17:59:02 -0800 Message-ID: <4D704768.2090100@intel.com> Date: Fri, 04 Mar 2011 09:59:04 +0800 From: "Zhai, Edwin" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Gary Thomas References: <4D6675E0.2040703@mlbassoc.com> <4D6B3BA3.9050303@intel.com> <4D6F9018.1000605@mlbassoc.com> In-Reply-To: <4D6F9018.1000605@mlbassoc.com> Cc: Poky Subject: Re: Is sstate broken X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2011 01:59:35 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Gary Thomas wrote: > > On 02/27/2011 11:07 PM, Zhai, Edwin wrote: > > Gary, > > > > Thanks for trying this. > > sstate function is a little bit fragile recently. I'll look at it > after fixing some other bugs. > > Any progress on this? > > Should I file this as a bug? > We have one http://bugzilla.pokylinux.org/show_bug.cgi?id=788 > > Gary Thomas wrote: > >> > >> I tried to run an experiment with SSTATE_MIRRORS on the latest master. > >> From what I can tell, this is 100% not working, although I may just > >> not have set it up properly. Here's what I did: > >> > >> * Build Poky for my platform in /local/xyz_ppc_poky > >> * Set up to build exact same machine/config/etc in /local/xyz_test > >> pointing SSTATE_MIRRORS at /local/xyz_ppc_poky/sstate-cache by > >> adding these lines to local.conf (only configuration change) > >> SSTATE_MIRRORS ?= "\ > >> file://.* file:///local/xyz_ppc_poky/sstate-cache/" > >> > >> The end result is that both builds built (from scratch) the same > >> set of packages. There seems to be no reuse of anything from > >> the SSTATE_MIRRORS. > >> > >> $ du /local/xyz_ppc_poky/* -s > >> 20 /local/xyz_ppc_poky/conf > >> 1456 /local/xyz_ppc_poky/downloads > >> 4 /local/xyz_ppc_poky/pseudodone > >> 1010392 /local/xyz_ppc_poky/sstate-cache > >> 14434076 /local/xyz_ppc_poky/tmp > >> > >> $ du -s /local/xyz_test > >> 20 /local/xyz_test/conf > >> 1456 /local/xyz_test/downloads > >> 4 /local/xyz_test/pseudodone > >> 1010276 /local/xyz_test/sstate-cache > >> 14425860 /local/xyz_test/ tmp > >> > >> The full build log of the second run is at > http://www.mlbassoc.com/poky/build_ppc_with_sstate > >> Notice the many lines which say that a particular step failed. I > can't see the reason, nor > >> can I find any corresponding log file to help me out. An example is: > >> ERROR: Task 0 > (virtual:native:/home/local/poky-amltd/meta/recipes-devtools/pseudo/pseudo_1.0.bb, > do_unpack) failed with exit code '1' > > >> > >> Am I missing something? Now that the build with BB_NO_NETWORK is > working well, > >> this is my last hurdle to making Poky truly useful for my customers. > >> > >> Thanks > >> > >> -- > >> ------------------------------------------------------------ > >> Gary Thomas | Consulting for the > >> MLB Associates | Embedded world > >> ------------------------------------------------------------ > >> _______________________________________________ > >> poky mailing list > >> poky@yoctoproject.org > >> https://lists.yoctoproject.org/listinfo/poky > >> > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ >