[poky] SSTATE builds more broken than I thought
Gary Thomas
gary at mlbassoc.com
Fri Nov 12 15:55:19 PST 2010
On 11/12/2010 04:31 PM, Richard Purdie wrote:
> On Fri, 2010-11-12 at 01:35 -0700, Gary Thomas wrote:
>> On 11/12/2010 01:30 AM, Richard Purdie wrote:
>>> On Fri, 2010-11-12 at 01:18 -0700, Gary Thomas wrote:
>>>>> Are these all files or are they symlinks? Are they just present for
>>>>> deploy-ipk or are there others?
>>>>
>>>> They are files.
>>>>
>>>> Sorry, but I don't understand your other question. These are the only
>>>> extra files polluting the tree, except for Python *.py? object files
>>>> which are also always created.
>>>
>>> Are there any files related to other sstate tasks such as
>>> populate-sysroot*.tgz or package*.tgz or is there just *deploy-ipk*.tgz?
>>>
>>> In other words I'm wondering if this is something specific to the
>>> deploy-ipk sstate task...
>>
>> The only extra files created are *deploy-ipk*.tgz
>> This most certainly is restricted to the deploy-ipk sstate task and only
>> happens if SSTATE_MIRRORS is defined.
>
> This should be fixed in ae98f7eacb9e61fe086d88dc694b4c651af9fee3, it
> turns out to be an issue with the local fetcher not searching DL_DIR.
Trying the same process as in bug #526, it failed with this error:
NOTE: package gcc-cross-initial-4.5.0-r10: task do_fetch: Started
ERROR: Error in executing python function in: /local/poky-amltd/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.0.bb
ERROR: Exception:<type 'exceptions.AttributeError'> Message:'module' object has no attribute 'exists'
NOTE: Running task 330 of 3106 (ID: 1534, /local/poky-amltd/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.34.bb, do_patch)
ERROR: Traceback:
ERROR: File "base_do_fetch", line 64, in <module>
ERROR:
ERROR: File "base_do_fetch", line 12, in base_do_fetch
ERROR:
ERROR: File "/home/local/poky-amltd/scripts/..//bitbake/lib/bb/fetch/__init__.py", line 220, in init
ERROR: urldata[url].setup_localpath(d)
ERROR:
ERROR: File "/home/local/poky-amltd/scripts/..//bitbake/lib/bb/fetch/__init__.py", line 529, in setup_localpath
ERROR: self.localpath = self.method.localpath(self.url, self, d)
ERROR:
ERROR: File "/home/local/poky-amltd/scripts/..//bitbake/lib/bb/fetch/local.py", line 54, in localpath
ERROR: if os.exists(dlpath):
ERROR:
ERROR: The lines leading to this error were:
ERROR: 0060: bb.note("%s-%s: %s has no entry in conf/checksums.ini, not checking URI" % (pn,pv,uri))
ERROR: 0061: except Exception:
ERROR: 0062: raise bb.build.FuncFailed("Checksum of '%s' failed" % uri)
ERROR: 0063:
ERROR: Task failed: ('Function base_do_fetch failed', '/home/local/poky-after-rp-fix/tmp/work/armv7a-poky-linux-gnueabi/gcc-cross-initial-4.5.0-r10/temp/log.do_fetch.2110')
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the poky
mailing list