* Bitbaking a recipe which refers to a missing bbclass @ 2006-10-10 13:31 Nicolas FR 2006-10-10 22:06 ` Jamie Lenehan 2006-10-13 10:46 ` Michael 'Mickey' Lauer 0 siblings, 2 replies; 6+ messages in thread From: Nicolas FR @ 2006-10-10 13:31 UTC (permalink / raw) To: openembedded-devel Hi, 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. Should I submit a bug for this? Regards; Nicolas. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bitbaking a recipe which refers to a missing bbclass 2006-10-10 13:31 Bitbaking a recipe which refers to a missing bbclass Nicolas FR @ 2006-10-10 22:06 ` Jamie Lenehan 2006-10-10 22:44 ` Justin Patrin 2006-10-13 10:46 ` Michael 'Mickey' Lauer 1 sibling, 1 reply; 6+ messages in thread From: Jamie Lenehan @ 2006-10-10 22:06 UTC (permalink / raw) To: Nicolas FR; +Cc: openembedded-devel On Tue, Oct 10, 2006 at 03:31:42PM +0200, "Nicolas FR" wrote: > Hi, > > I have noticed that when bitbaking a recipe which refers to a missing > .bbclass definition, there where no warning / error. I've noticed the same thing and I agree that it's rather annoying. I'd much rather it fail then continue on and do something else. -- Jamie Lenehan <lenehan@twibble.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bitbaking a recipe which refers to a missing bbclass 2006-10-10 22:06 ` Jamie Lenehan @ 2006-10-10 22:44 ` Justin Patrin 0 siblings, 0 replies; 6+ messages in thread From: Justin Patrin @ 2006-10-10 22:44 UTC (permalink / raw) To: Using the OpenEmbedded metadata to build Linux Distributions, Jamie Lenehan, Nicolas FR On 10/10/06, Jamie Lenehan <lenehan@twibble.org> wrote: > On Tue, Oct 10, 2006 at 03:31:42PM +0200, "Nicolas FR" wrote: > > Hi, > > > > I have noticed that when bitbaking a recipe which refers to a missing > > .bbclass definition, there where no warning / error. > > I've noticed the same thing and I agree that it's rather annoying. > I'd much rather it fail then continue on and do something else. > Try: Index: lib/bb/parse/parse_py/BBHandler.py =================================================================== --- lib/bb/parse/parse_py/BBHandler.py (revision 618) +++ lib/bb/parse/parse_py/BBHandler.py (working copy) @@ -62,7 +62,7 @@ if not file in __inherit_cache.split(): debug(2, "BB %s:%d: inheriting %s" % (fn, lineno, file)) __inherit_cache += " %s" % file - include(fn, file, d) + include(fn, file, d, True) data.setVar('__inherit_cache', __inherit_cache, d) This should show a big ERROR while parsing (but it doesn't bail, it will just fail saying that there is no provider for this package as it doesn't seem to make it into the cache now). -- Justin Patrin ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bitbaking a recipe which refers to a missing bbclass 2006-10-10 13:31 Bitbaking a recipe which refers to a missing bbclass Nicolas FR 2006-10-10 22:06 ` Jamie Lenehan @ 2006-10-13 10:46 ` Michael 'Mickey' Lauer 2006-10-13 10:53 ` Nicolas FR 2006-10-14 2:07 ` Jamie Lenehan 1 sibling, 2 replies; 6+ messages in thread From: Michael 'Mickey' Lauer @ 2006-10-13 10:46 UTC (permalink / raw) To: Using the OpenEmbedded metadata to build Linux Distributions 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'. > Should I submit a bug for this? Yes, please. -- Regards, Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bitbaking a recipe which refers to a missing bbclass 2006-10-13 10:46 ` Michael 'Mickey' Lauer @ 2006-10-13 10:53 ` Nicolas FR 2006-10-14 2:07 ` Jamie Lenehan 1 sibling, 0 replies; 6+ messages in thread From: Nicolas FR @ 2006-10-13 10:53 UTC (permalink / raw) To: Using the OpenEmbedded metadata to build Linux Distributions Bug submitted: http://bugs.openembedded.org/show_bug.cgi?id=1478 > > Should I submit a bug for this? > > Yes, please. > > -- > Regards, > > Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bitbaking a recipe which refers to a missing bbclass 2006-10-13 10:46 ` Michael 'Mickey' Lauer 2006-10-13 10:53 ` Nicolas FR @ 2006-10-14 2:07 ` Jamie Lenehan 1 sibling, 0 replies; 6+ messages in thread From: Jamie Lenehan @ 2006-10-14 2:07 UTC (permalink / raw) To: openembedded-devel 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@twibble.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-10-14 2:14 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-10-10 13:31 Bitbaking a recipe which refers to a missing bbclass Nicolas FR 2006-10-10 22:06 ` Jamie Lenehan 2006-10-10 22:44 ` Justin Patrin 2006-10-13 10:46 ` Michael 'Mickey' Lauer 2006-10-13 10:53 ` Nicolas FR 2006-10-14 2:07 ` Jamie Lenehan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.