[oe] Bitbaking a recipe which refers to a missing bbclass

Jamie Lenehan lenehan at twibble.org
Sat Oct 14 02:07:49 UTC 2006


On Fri, Oct 13, 2006 at 12:46:15PM +0200, Michael 'Mickey' Lauer wrote:
> Am Dienstag, den 10.10.2006, 15:31 +0200 schrieb Nicolas FR:
> > I have noticed that when bitbaking a recipe which refers to a missing
> > .bbclass definition, there where no warning / error.
> > 
> > For example let's say I try to bitbake example.bb which has:
> > "inherits qt3x11"
> > 
> > if qt3x11 is missing in my /opt/OE/mybranch/classes/
> > then no warning / error is isued.
> 
> This is probably an artifact of the 'inherit' and the 'include'
> statement sharing code.
> I would like to propose 'inherit' to behave like 'require'.

Yep, I'd certainly support that.

In my case I had named my new class "cpan_build.bb" and it took me ages to
figure out why it wouldn't work... should have been .bbclass of course but
I'm just sooo0 used to calling things .bb!

-- 
 Jamie Lenehan <lenehan at twibble.org>




More information about the Openembedded-devel mailing list