[bitbake-devel] bitbake clean / cleanall / cleansstate not working

Purcareata Bogdan-B43198 B43198 at freescale.com
Mon Apr 22 09:42:07 UTC 2013



Bogdan P.

> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
> Sent: Saturday, April 20, 2013 10:40 AM
> To: Purcareata Bogdan-B43198
> Cc: bitbake-devel at lists.openembedded.org
> Subject: Re: [bitbake-devel] bitbake clean / cleanall / cleansstate not working
> 
> On Wed, 2013-04-17 at 09:42 +0000, Purcareata Bogdan-B43198 wrote:
> > Hello,
> >
> > I am using Yocto with BB_VERSION = "1.18.0" and the commands in the subject do not seem to work -
> they don't do anything. The image has the packages built.
> >
> > $ bitbake -c cleanall gcc
> > [ ... ]
> > NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and all succeeded.
> >
> > $ bitbake -c clean gcc
> > [ ... ]
> > NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
> >
> > $ bitbake -c cleansstate gcc
> > [ ... ]
> > NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
> >
> > The information in [ ... ] is not really relevant. I just wanted to
> > give the output message. I know the error description is vague, but so
> > is this behavior. I don't know what it could be further related to.
> 
> What exactly are you trying to clean? The above messages say it ran 1, 2
> or 3 tasks and they all succeeded.

In my example, "gcc" can be replaced with any package provided by the Yocto recipes.
The problem is that nothing is being run - "0 didn't need to be rerun " - so the built package is never cleaned.
This issue is present when running all clean commands - clean, cleanall, cleansstate.

> 
> Keep in mind there are several "gcc" components such as gcc-cross,
> gcc-cross-initial and so on. "gcc" is the one used on target.

Do you think that a certain package can't be cleaned because of its dependencies?

> 
> Cheers,
> 
> Richard
> 



More information about the bitbake-devel mailing list