[poky] New fetch error

Gary Thomas gary at mlbassoc.com
Tue Dec 21 07:29:39 PST 2010


On 12/21/2010 08:16 AM, Richard Purdie wrote:
> On Tue, 2010-12-21 at 07:58 -0700, Gary Thomas wrote:
>> While testing the recent sstate changes (commit 4cd40dbaa8aef7b6b9ff9ce892a576b802f4b1ec),
>> I ran across this error:
>>
>> NOTE: package linux-am-2.6.32-r0: task do_fetch: Started
>> NOTE: fetch http://www.mlbassoc.com/repos/public/linux-am-2.6.32.tar.bz2
>> ERROR: Task failed: Unknown fetch Error: local variable 'md5data' referenced before assignment
>> NOTE: package linux-am-2.6.32-r0: task do_fetch: Failed
>> ERROR: Task 5 (/work/local/poky-amltd/meta-amltd/packages/linux/linux-am_2.6.32.bb, do_fetch) failed with 256
>> ERROR: '/work/local/poky-amltd/meta-amltd/packages/linux/linux-am_2.6.32.bb' failed
>>
>> This is for a local kernel which previously built (today,
>> using the same Poky tree).  The problem occurred after I
>> ran 'bitbake virtual/kernel -c cleanall'
>>
>> Any ideas what caused this error?
>
> My fault, I've pushed a fix, sorry about that.

Yes, this is fixed, thanks.

Query: is 'cleanall' expected to also remove files from $DL_DIR?
It does so, but produces no notes about it (it's pretty verbose
about all the other files it deletes)

If this is the case, could there be a 'cleansstate' or some
such?  All I really wanted to do was force a complete rebuild
of a package, ignoring the local sstate files.  'cleanall'
gave me more than I bargained for.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list