* preferred version not available
@ 2011-07-18 19:16 Detlef Vollmann
2011-07-18 21:02 ` Detlef Vollmann
0 siblings, 1 reply; 8+ messages in thread
From: Detlef Vollmann @ 2011-07-18 19:16 UTC (permalink / raw)
To: openembedded-devel
Hello,
this one really drives me crazy.
Here's what I do:
$ bitbake -D -D -D -D -g linux-taurus | fgrep linux-taurus
DEBUG: Cache: /src/ccp-oe/taurus/recipes/linux/linux-taurus_githead.bb
is not cached
DEBUG: BB /src/ccp-oe/taurus/recipes/linux/linux-taurus_githead.bb:
handle(data)
DEBUG: LOAD /src/ccp-oe/taurus/recipes/linux/linux-taurus_githead.bb
DEBUG: CONF /src/ccp-oe/taurus/recipes/linux/linux-taurus_githead.bb:5:
including recipes/linux/ccp-linux.inc
DEBUG: providers for linux-taurus are: ['linux-taurus']
NOTE: preferred version githead of linux-taurus not available (for item
linux-taurus)
It already starts with the first 'DEBUG' line: Why is it not cached.
I have some other recipes for linux-taurus with version numbers that
don't get parsed again because they are cached.
But I can live with that.
What really drives me nuts is the last line: it clearly parsed
linux-taurus_githead.bb before, doesn't give me any error on it,
but then tells me 'preferred version githead of linux-taurus not
available'. It's clearly there, so why is it not available?
The interesting thing is that I don't have any problems with my
other *_githead.bb recipes, only with the linux kernel...
I'd really appreciate any help!
Detlef
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: preferred version not available
2011-07-18 19:16 preferred version not available Detlef Vollmann
@ 2011-07-18 21:02 ` Detlef Vollmann
2011-07-18 21:05 ` Chris Larson
0 siblings, 1 reply; 8+ messages in thread
From: Detlef Vollmann @ 2011-07-18 21:02 UTC (permalink / raw)
To: openembedded-devel
On 07/18/11 21:16, Detlef Vollmann wrote:
> NOTE: preferred version githead of linux-taurus not available (for item
> linux-taurus)
> What really drives me nuts is the last line: it clearly parsed
> linux-taurus_githead.bb before, doesn't give me any error on it,
> but then tells me 'preferred version githead of linux-taurus not
> available'. It's clearly there, so why is it not available?
Ok, I found the problem: PREFERRED_VERSION refers to PV inside
the recipe, not to the part of the filename after '_'.
As I tinker with PV inside the recipe, bitbake is actually correct
that a PV 'githead' is not available for linux-taurus.
Detlef
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: preferred version not available
2011-07-18 21:02 ` Detlef Vollmann
@ 2011-07-18 21:05 ` Chris Larson
2011-07-19 7:20 ` Detlef Vollmann
0 siblings, 1 reply; 8+ messages in thread
From: Chris Larson @ 2011-07-18 21:05 UTC (permalink / raw)
To: openembedded-devel
On Mon, Jul 18, 2011 at 2:02 PM, Detlef Vollmann <dv@vollmann.ch> wrote:
> On 07/18/11 21:16, Detlef Vollmann wrote:
>>
>> NOTE: preferred version githead of linux-taurus not available (for item
>> linux-taurus)
>
>> What really drives me nuts is the last line: it clearly parsed
>> linux-taurus_githead.bb before, doesn't give me any error on it,
>> but then tells me 'preferred version githead of linux-taurus not
>> available'. It's clearly there, so why is it not available?
>
> Ok, I found the problem: PREFERRED_VERSION refers to PV inside
> the recipe, not to the part of the filename after '_'.
> As I tinker with PV inside the recipe, bitbake is actually correct
> that a PV 'githead' is not available for linux-taurus.
All variables which are typically set by the filename can be
overridden. Those are simply defaults. See the definitions of PN, PV,
and PR in bitbake.conf.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: preferred version not available
2011-07-18 21:05 ` Chris Larson
@ 2011-07-19 7:20 ` Detlef Vollmann
2011-07-19 9:53 ` Paul Eggleton
2011-07-19 15:06 ` Chris Larson
0 siblings, 2 replies; 8+ messages in thread
From: Detlef Vollmann @ 2011-07-19 7:20 UTC (permalink / raw)
To: openembedded-devel
On 07/18/11 23:05, Chris Larson wrote:
> On Mon, Jul 18, 2011 at 2:02 PM, Detlef Vollmann<dv@vollmann.ch> wrote:
>> Ok, I found the problem: PREFERRED_VERSION refers to PV inside
>> the recipe, not to the part of the filename after '_'.
>> As I tinker with PV inside the recipe, bitbake is actually correct
>> that a PV 'githead' is not available for linux-taurus.
>
> All variables which are typically set by the filename can be
> overridden. Those are simply defaults. See the definitions of PN, PV,
> and PR in bitbake.conf.
Yes, I knew that (I actually wrote the line changing the PV myself).
What surprised me (though it makes sense) that PREFERRED_VERSION
refers to PV, and not directly to a part of the filename.
It's probably still too much of 'make' history in my brain...
Detlef
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: preferred version not available
2011-07-19 7:20 ` Detlef Vollmann
@ 2011-07-19 9:53 ` Paul Eggleton
2011-07-19 10:16 ` Detlef Vollmann
2011-07-19 11:25 ` [oe] " Detlef Vollmann
2011-07-19 15:06 ` Chris Larson
1 sibling, 2 replies; 8+ messages in thread
From: Paul Eggleton @ 2011-07-19 9:53 UTC (permalink / raw)
To: openembedded-devel
On Tuesday 19 July 2011 08:20:00 Detlef Vollmann wrote:
> On 07/18/11 23:05, Chris Larson wrote:
> > All variables which are typically set by the filename can be
> > overridden. Those are simply defaults. See the definitions of PN, PV,
> > and PR in bitbake.conf.
>
> Yes, I knew that (I actually wrote the line changing the PV myself).
> What surprised me (though it makes sense) that PREFERRED_VERSION
> refers to PV, and not directly to a part of the filename.
> It's probably still too much of 'make' history in my brain...
I wonder if it would make sense to add something to the error message that
also lists the available versions? Then it would be a little more obvious what
you need to set PREFERRED_VERSION to.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: preferred version not available
2011-07-19 9:53 ` Paul Eggleton
@ 2011-07-19 10:16 ` Detlef Vollmann
2011-07-19 11:25 ` [oe] " Detlef Vollmann
1 sibling, 0 replies; 8+ messages in thread
From: Detlef Vollmann @ 2011-07-19 10:16 UTC (permalink / raw)
To: openembedded-devel; +Cc: bitbake-dev, bitbake-dev
On 07/19/11 11:53, Paul Eggleton wrote:
> On Tuesday 19 July 2011 08:20:00 Detlef Vollmann wrote:
>> On 07/18/11 23:05, Chris Larson wrote:
>>> All variables which are typically set by the filename can be
>>> overridden. Those are simply defaults. See the definitions of PN, PV,
>>> and PR in bitbake.conf.
>>
>> Yes, I knew that (I actually wrote the line changing the PV myself).
>> What surprised me (though it makes sense) that PREFERRED_VERSION
>> refers to PV, and not directly to a part of the filename.
>> It's probably still too much of 'make' history in my brain...
>
> I wonder if it would make sense to add something to the error message that
> also lists the available versions? Then it would be a little more obvious what
> you need to set PREFERRED_VERSION to.
That would be great.
And while we are in wishlist mode ;-) :
With a high enough debug level (I think 2), you'll get a list of
providers for a specific target.
To get also a list of versions for a specific package (PN), would
be really helpful.
Detlef
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [oe] preferred version not available
2011-07-19 9:53 ` Paul Eggleton
2011-07-19 10:16 ` Detlef Vollmann
@ 2011-07-19 11:25 ` Detlef Vollmann
1 sibling, 0 replies; 8+ messages in thread
From: Detlef Vollmann @ 2011-07-19 11:25 UTC (permalink / raw)
Cc: bitbake-dev
[Resend to bitbake-devel due to new list address]
On 07/19/11 11:53, Paul Eggleton wrote:
> On Tuesday 19 July 2011 08:20:00 Detlef Vollmann wrote:
>> On 07/18/11 23:05, Chris Larson wrote:
>>> All variables which are typically set by the filename can be
>>> overridden. Those are simply defaults. See the definitions of PN, PV,
>>> and PR in bitbake.conf.
>>
>> Yes, I knew that (I actually wrote the line changing the PV myself).
>> What surprised me (though it makes sense) that PREFERRED_VERSION
>> refers to PV, and not directly to a part of the filename.
>> It's probably still too much of 'make' history in my brain...
>
> I wonder if it would make sense to add something to the error message that
> also lists the available versions? Then it would be a little more obvious what
> you need to set PREFERRED_VERSION to.
That would be great.
And while we are in wishlist mode ;-) :
With a high enough debug level (I think 2), you'll get a list of
providers for a specific target.
To get also a list of versions for a specific package (PN), would
be really helpful.
Detlef
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: preferred version not available
2011-07-19 7:20 ` Detlef Vollmann
2011-07-19 9:53 ` Paul Eggleton
@ 2011-07-19 15:06 ` Chris Larson
1 sibling, 0 replies; 8+ messages in thread
From: Chris Larson @ 2011-07-19 15:06 UTC (permalink / raw)
To: openembedded-devel
On Tue, Jul 19, 2011 at 12:20 AM, Detlef Vollmann <dv@vollmann.ch> wrote:
> On 07/18/11 23:05, Chris Larson wrote:
>>
>> On Mon, Jul 18, 2011 at 2:02 PM, Detlef Vollmann<dv@vollmann.ch> wrote:
>>>
>>> Ok, I found the problem: PREFERRED_VERSION refers to PV inside
>>> the recipe, not to the part of the filename after '_'.
>>> As I tinker with PV inside the recipe, bitbake is actually correct
>>> that a PV 'githead' is not available for linux-taurus.
>>
>> All variables which are typically set by the filename can be
>> overridden. Those are simply defaults. See the definitions of PN, PV,
>> and PR in bitbake.conf.
>
> Yes, I knew that (I actually wrote the line changing the PV myself).
> What surprised me (though it makes sense) that PREFERRED_VERSION
> refers to PV, and not directly to a part of the filename.
I'm not sure why that would be surprising. PN, PV, and PR are what are
used. The fact that they default to being based on the filename is
just an artifact of how oe does things. You could quite easily change
that, and make it required to set them all in the recipe. Bitbake does
*not* care about the filename, other than in determining what bbappend
to apply to the recipe when an append exists.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-07-19 15:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 19:16 preferred version not available Detlef Vollmann
2011-07-18 21:02 ` Detlef Vollmann
2011-07-18 21:05 ` Chris Larson
2011-07-19 7:20 ` Detlef Vollmann
2011-07-19 9:53 ` Paul Eggleton
2011-07-19 10:16 ` Detlef Vollmann
2011-07-19 11:25 ` [oe] " Detlef Vollmann
2011-07-19 15:06 ` Chris Larson
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.