* Cannot do atom-pc build with meta-cedartrail
@ 2012-09-27 11:31 Burton, Ross
2012-09-27 14:10 ` Mihai Lindner
0 siblings, 1 reply; 8+ messages in thread
From: Burton, Ross @ 2012-09-27 11:31 UTC (permalink / raw)
To: yocto
Hi,
If I add meta-intel and meta-cedartrail to my bblayers, when I try and
do an atom-pc build (which I thought should still work, right?) I get
the following error:
NOTE: Error during finalise of
/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb
ERROR: ExpansionError during parsing
/home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb:
Failure expanding variable SRCPV, expression was
${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError:
Fetcher failure for URL:
'git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=yocto/standard/common-pc/atom-pc,meta,yocto/pvr;name=machine,meta,pvr'.
Please set SRCREV to a valid value
That's a bug, right?
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Cannot do atom-pc build with meta-cedartrail
2012-09-27 11:31 Cannot do atom-pc build with meta-cedartrail Burton, Ross
@ 2012-09-27 14:10 ` Mihai Lindner
2012-09-27 17:07 ` Tom Zanussi
2012-09-28 22:36 ` Brian Lloyd
0 siblings, 2 replies; 8+ messages in thread
From: Mihai Lindner @ 2012-09-27 14:10 UTC (permalink / raw)
To: yocto
On 2012-09-27 14:31, Burton, Ross wrote:
> Hi,
>
> If I add meta-intel and meta-cedartrail to my bblayers, when I try and
> do an atom-pc build (which I thought should still work, right?) I get
> the following error:
>
> NOTE: Error during finalise of
> /home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> ERROR: ExpansionError during parsing
> /home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb:
> Failure expanding variable SRCPV, expression was
> ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError:
> Fetcher failure for URL:
> 'git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=yocto/standard/common-pc/atom-pc,meta,yocto/pvr;name=machine,meta,pvr'.
> Please set SRCREV to a valid value
>
> That's a bug, right?
>
> Ross
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
That's a bug alright.
It seems the overall SRC_URI of linux-yocto is overwritten by meta-cedartrail layer, when included. Should be fixed by using SRC_URI_cedartrail instead.
--
Mihai Lindner
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Cannot do atom-pc build with meta-cedartrail
2012-09-27 14:10 ` Mihai Lindner
@ 2012-09-27 17:07 ` Tom Zanussi
2012-09-29 20:50 ` Ross Burton
2012-09-28 22:36 ` Brian Lloyd
1 sibling, 1 reply; 8+ messages in thread
From: Tom Zanussi @ 2012-09-27 17:07 UTC (permalink / raw)
To: Mihai Lindner; +Cc: yocto
On Thu, 2012-09-27 at 17:10 +0300, Mihai Lindner wrote:
> On 2012-09-27 14:31, Burton, Ross wrote:
> > Hi,
> >
> > If I add meta-intel and meta-cedartrail to my bblayers, when I try and
> > do an atom-pc build (which I thought should still work, right?) I get
> > the following error:
> >
> > NOTE: Error during finalise of
> > /home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> > ERROR: ExpansionError during parsing
> > /home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb:
> > Failure expanding variable SRCPV, expression was
> > ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError:
> > Fetcher failure for URL:
> > 'git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=yocto/standard/common-pc/atom-pc,meta,yocto/pvr;name=machine,meta,pvr'.
> > Please set SRCREV to a valid value
> >
> > That's a bug, right?
> >
Yeah, looks like the other SRC_URIs do that, but it's missing from that
SRC_URI - I just pushed a fix for this one to meta-intel/master.
Tom
> > Ross
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> >
>
> That's a bug alright.
> It seems the overall SRC_URI of linux-yocto is overwritten by meta-cedartrail layer, when included. Should be fixed by using SRC_URI_cedartrail instead.
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Cannot do atom-pc build with meta-cedartrail
2012-09-27 17:07 ` Tom Zanussi
@ 2012-09-29 20:50 ` Ross Burton
2012-10-02 15:00 ` Mihai Lindner
0 siblings, 1 reply; 8+ messages in thread
From: Ross Burton @ 2012-09-29 20:50 UTC (permalink / raw)
To: Tom Zanussi; +Cc: yocto
On Thursday, 27 September 2012 at 18:07, Tom Zanussi wrote:
> Yeah, looks like the other SRC_URIs do that, but it's missing from that
> SRC_URI - I just pushed a fix for this one to meta-intel/master.
Thanks Tom, I've been frequently flipping between atom-pc and cedartrail and this was getting annoying.
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cannot do atom-pc build with meta-cedartrail
2012-09-29 20:50 ` Ross Burton
@ 2012-10-02 15:00 ` Mihai Lindner
2012-10-02 16:02 ` Tom Zanussi
0 siblings, 1 reply; 8+ messages in thread
From: Mihai Lindner @ 2012-10-02 15:00 UTC (permalink / raw)
To: Ross Burton, Tom Zanussi; +Cc: yocto
On 2012-09-29 23:50, Ross Burton wrote:
> On Thursday, 27 September 2012 at 18:07, Tom Zanussi wrote:
>> Yeah, looks like the other SRC_URIs do that, but it's missing from that
>> SRC_URI - I just pushed a fix for this one to meta-intel/master.
>
> Thanks Tom, I've been frequently flipping between atom-pc and cedartrail and this was getting annoying.
>
> Ross
>
>
>
Unfortunately this change breaks SRC_URI appends, discarded or overwritten; e.g. adding meta-tlk brings no change to SRC_URI.
--
Mihai Lindner
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cannot do atom-pc build with meta-cedartrail
2012-10-02 15:00 ` Mihai Lindner
@ 2012-10-02 16:02 ` Tom Zanussi
2012-10-03 16:15 ` Mihai Lindner
0 siblings, 1 reply; 8+ messages in thread
From: Tom Zanussi @ 2012-10-02 16:02 UTC (permalink / raw)
To: Mihai Lindner; +Cc: yocto
On Tue, 2012-10-02 at 18:00 +0300, Mihai Lindner wrote:
> On 2012-09-29 23:50, Ross Burton wrote:
> > On Thursday, 27 September 2012 at 18:07, Tom Zanussi wrote:
> >> Yeah, looks like the other SRC_URIs do that, but it's missing from that
> >> SRC_URI - I just pushed a fix for this one to meta-intel/master.
> >
> > Thanks Tom, I've been frequently flipping between atom-pc and cedartrail and this was getting annoying.
> >
> > Ross
> >
> >
> >
>
> Unfortunately this change breaks SRC_URI appends, discarded or overwritten; e.g. adding meta-tlk brings no change to SRC_URI.
>
It shouldn't though, since the application of the meta-tlk SRC_URI
bbappend should follow the SRC_URI assignment in the cedartrail
bbappend. On the other hand, the layer priorities don't seem to be
right - meta-cedartrail is supposed to have a priority of 6, but it
doesn't actually seem to:
BBFILE_PRIORITY_cedartrail = "6"
[trz@empanada build]$ bitbake-layers show_layers
layer path priority
==========================================================================
meta /home/trz/yocto/crownbay-test/meta 5
meta-yocto /home/trz/yocto/crownbay-test/meta-yocto 5
meta-yocto-bsp /home/trz/yocto/crownbay-test/meta-yocto-bsp 5
meta-intel /home/trz/yocto/crownbay-test/meta-intel 5
meta-cedartrail /home/trz/yocto/crownbay-test/meta-intel/meta-cedartrail 5
meta-tlk /home/trz/yocto/crownbay-test/meta-intel/meta-tlk 5
On the other hand, meta-tlk does follow meta-cedatrail in the parse
order so should append to the SRC_URI...
Tom
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cannot do atom-pc build with meta-cedartrail
2012-10-02 16:02 ` Tom Zanussi
@ 2012-10-03 16:15 ` Mihai Lindner
0 siblings, 0 replies; 8+ messages in thread
From: Mihai Lindner @ 2012-10-03 16:15 UTC (permalink / raw)
To: yocto
On 2012-10-02 19:02, Tom Zanussi wrote:
> On Tue, 2012-10-02 at 18:00 +0300, Mihai Lindner wrote:
>> On 2012-09-29 23:50, Ross Burton wrote:
>>> On Thursday, 27 September 2012 at 18:07, Tom Zanussi wrote:
>>>> Yeah, looks like the other SRC_URIs do that, but it's missing from that
>>>> SRC_URI - I just pushed a fix for this one to meta-intel/master.
>>>
>>> Thanks Tom, I've been frequently flipping between atom-pc and cedartrail and this was getting annoying.
>>>
>>> Ross
>>>
>>>
>>>
>>
>> Unfortunately this change breaks SRC_URI appends, discarded or overwritten; e.g. adding meta-tlk brings no change to SRC_URI.
>>
>
> It shouldn't though, since the application of the meta-tlk SRC_URI
> bbappend should follow the SRC_URI assignment in the cedartrail
> bbappend. On the other hand, the layer priorities don't seem to be
> right - meta-cedartrail is supposed to have a priority of 6, but it
> doesn't actually seem to:
>
> BBFILE_PRIORITY_cedartrail = "6"
>
> [trz@empanada build]$ bitbake-layers show_layers
> layer path priority
> ==========================================================================
> meta /home/trz/yocto/crownbay-test/meta 5
> meta-yocto /home/trz/yocto/crownbay-test/meta-yocto 5
> meta-yocto-bsp /home/trz/yocto/crownbay-test/meta-yocto-bsp 5
> meta-intel /home/trz/yocto/crownbay-test/meta-intel 5
> meta-cedartrail /home/trz/yocto/crownbay-test/meta-intel/meta-cedartrail 5
> meta-tlk /home/trz/yocto/crownbay-test/meta-intel/meta-tlk 5
>
> On the other hand, meta-tlk does follow meta-cedatrail in the parse
> order so should append to the SRC_URI...
>
> Tom
>
>
>
Submitted bug #3217 https://bugzilla.yoctoproject.org/show_bug.cgi?id=3217
For the records.
Cheers,
--
Mihai Lindner
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cannot do atom-pc build with meta-cedartrail
2012-09-27 14:10 ` Mihai Lindner
2012-09-27 17:07 ` Tom Zanussi
@ 2012-09-28 22:36 ` Brian Lloyd
1 sibling, 0 replies; 8+ messages in thread
From: Brian Lloyd @ 2012-09-28 22:36 UTC (permalink / raw)
To: Mihai Lindner; +Cc: yocto
I don't think it is just the intel ones. All the BSPs I've looked at
had this problem.
The yocto-bsp also creates packages that add to the problem, as it's
finished product adds files that end up in every BSP, and the final
source selected is not dependent on the machine. (userpatches and
userconfig).
If you have filed a bug, I'll add to that, otherwise I was looking to
add a bug discussing this myself. I just hadn't had time to see just
how pervasive it is, but it is definitely pervasive enough that the
problem should be mentioned in the project documentation and methods to
avoid it given.
Brian A. Lloyd
On Thu, 2012-09-27 at 17:10 +0300, Mihai Lindner wrote:
> On 2012-09-27 14:31, Burton, Ross wrote:
> > Hi,
> >
> > If I add meta-intel and meta-cedartrail to my bblayers, when I try and
> > do an atom-pc build (which I thought should still work, right?) I get
> > the following error:
> >
> > NOTE: Error during finalise of
> > /home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb
> > ERROR: ExpansionError during parsing
> > /home/ross/Yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.0.bb:
> > Failure expanding variable SRCPV, expression was
> > ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError:
> > Fetcher failure for URL:
> > 'git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=yocto/standard/common-pc/atom-pc,meta,yocto/pvr;name=machine,meta,pvr'.
> > Please set SRCREV to a valid value
> >
> > That's a bug, right?
> >
> > Ross
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> >
>
> That's a bug alright.
> It seems the overall SRC_URI of linux-yocto is overwritten by meta-cedartrail layer, when included. Should be fixed by using SRC_URI_cedartrail instead.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-10-03 16:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27 11:31 Cannot do atom-pc build with meta-cedartrail Burton, Ross
2012-09-27 14:10 ` Mihai Lindner
2012-09-27 17:07 ` Tom Zanussi
2012-09-29 20:50 ` Ross Burton
2012-10-02 15:00 ` Mihai Lindner
2012-10-02 16:02 ` Tom Zanussi
2012-10-03 16:15 ` Mihai Lindner
2012-09-28 22:36 ` Brian Lloyd
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.