org.oe.dev anki: fix parse error
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 26 lines · hrw commit
anki: fix parse error
Author: [email protected]
Branch: org.openembedded.dev
Revision:a33b3d19ac330b59af9dbbb80b1410d4579bba26
ViewMTN: http://monotone.openembedded.org/revision/info/a33b3d19ac330b59af9dbbb80b1410d4579bba26
Files:
1
packages/anki/anki_0.4.3.bb
Diffs:#
# mt diff -r75f2dc6b3a783a084bf013ce7dc072992561a9bd -ra33b3d19ac330b59af9dbbb80b1410d4579bba26 # # # # patch "packages/anki/anki_0.4.3.bb" # from [bbc71d5b420649c30e0f4e7ca986a9f3516be13e] # to [de5cc8560fa7d2401299249253867146486bcf24] # ============================================================ --- packages/anki/anki_0.4.3.bb bbc71d5b420649c30e0f4e7ca986a9f3516be13e +++ packages/anki/anki_0.4.3.bb de5cc8560fa7d2401299249253867146486bcf24 @@ -1,9 +1,9 @@ PR = "r0" require anki.inc
Quoted 5 lines
RDEPENDS += "libanki"
PR = "r0"-export PV
+export PV="${PV}"
ERROR: variable PV references itself!
rolling that patch back fixes this bitbake parsing error for me (I didn't try to build anki)
regards
Philipp
Quoted 33 lines · On Thursday 14 February 2008 17:17:01 pHilipp Zabel wrote:
On Thu, Feb 14, 2008 at 4:01 PM, hrw commit
Quoted 30 lines · <[email protected]> wrote:
anki: fix parse error
Author: [email protected]
Branch: org.openembedded.dev
Revision:a33b3d19ac330b59af9dbbb80b1410d4579bba26ViewMTN:
http://monotone.openembedded.org/revision/info/a33b3d19ac330b59af9dbbb80b1410d4579bba26Files:
1
packages/anki/anki_0.4.3.bb
Diffs:#
# mt diff -r75f2dc6b3a783a084bf013ce7dc072992561a9bd -ra33b3d19ac330b59af9dbbb80b1410d4579bba26 # # # # patch "packages/anki/anki_0.4.3.bb" # from [bbc71d5b420649c30e0f4e7ca986a9f3516be13e] # to [de5cc8560fa7d2401299249253867146486bcf24] # ============================================================ --- packages/anki/anki_0.4.3.bb bbc71d5b420649c30e0f4e7ca986a9f3516be13e +++ packages/anki/anki_0.4.3.bb de5cc8560fa7d2401299249253867146486bcf24 @@ -1,9 +1,9 @@ PR = "r0" require anki.incRDEPENDS += "libanki"
PR = "r0"
Quoted 7 lines
Quoted 2 lines
-export PV
+export PV="${PV}"ERROR: variable PV references itself!
rolling that patch back fixes this bitbake parsing error for me (I didn't try to build anki)
export PV is valid syntax, but needs bitbake >= 1.8.8.
If you think it's too early to depend on this, then you can substitute with
export PV := "${PV}"
:M:
Signature · 1 line
Dr. Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
Quoted 1 line · On Friday 15 February 2008 12:45:29 Michael 'Mickey' Lauer wrote:
export PV is valid syntax, but needs bitbake >= 1.8.8.
bitbake 1.8.10, that is. Still feverish here...
:M:
Signature · 1 line
Dr. Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
Quoted 5 lines · Michael 'Mickey' Lauer
export PV is valid syntax, but needs bitbake >= 1.8.8.
If you think it's too early to depend on this, then you can substitute with
export PV := "${PV}"
I think depending on 1.8.10 is fine and indeed, this might be a good test to make sure everybody updates ;-)
Thanks for clarifying why some people saw this while most did not.
Quoted 4 lines · Rolf Leggewie
Quoted 2 lines · Michael 'Mickey' Lauer
export PV is valid syntax, but needs bitbake >= 1.8.8.
Quoted 9 lines
Quoted 4 lines
If you think it's too early to depend on this, then you can substitute with
export PV := "${PV}"
I think depending on 1.8.10 is fine and indeed, this might be a good test to make sure everybody updates ;-)
I recall a series of discussions some months ago regarding the topic of making OE an easier tool for other distro developers, companies, or individuals to use. Requiring a bitbake upgrade to accommodate a single-line in a single recipe that can easily be expressed in a fashion compatible with the existing bitbake versions installed, well that just seem to fly in the face of that earlier discussion.
Here's one vote for against forcing a complete bitbake upgrade on other communities:
-1 from me!
Quoted 3 lines
Thanks for clarifying why some people saw this while most did not.
Mike (mwester)
Hello,
Quoted 23 lines · On Fri, 15 Feb 2008 09:03:00 -0600 "Mike (mwester)" <[email protected]> wrote:
Quoted 4 lines · Rolf Leggewie
Quoted 2 lines · Michael 'Mickey' Lauer
export PV is valid syntax, but needs bitbake >= 1.8.8.
Quoted 10 lines
Quoted 5 lines
If you think it's too early to depend on this, then you can substitute with
export PV := "${PV}"
I think depending on 1.8.10 is fine and indeed, this might be a good test to make sure everybody updates ;-)
I recall a series of discussions some months ago regarding the topic of making OE an easier tool for other distro developers, companies, or individuals to use. Requiring a bitbake upgrade to accommodate a single-line in a single recipe that can easily be expressed in a fashion compatible with the existing bitbake versions installed, well that just seem to fly in the face of that earlier discussion.
Quoted 3 lines
Here's one vote for against forcing a complete bitbake upgrade on other communities:
-1 from me!
That's for sure valid point, but hard to enforce in .dev. Now that we have a stable branch again, it shouldn't be underestimated: entities valuing stability over all, should consider using it (and participating in its maintenance ;-) ).
[]
Signature · 2 lines
Best regards, Paul mailto:[email protected]
Quoted 4 lines · Paul Sokolovsky
That's for sure valid point, but hard to enforce in .dev. Now that we have a stable branch again, it shouldn't be underestimated: entities valuing stability over all, should consider using it (and participating in its maintenance ;-) ).
+1
Philip
RFD: is bitbake 1.8.10 minimum supported standard? (was: [oe-commits] org.oe.dev anki: fix parse error)
In reply to Mike (mwester)Quoted 4 lines · Mike (mwester)
Requiring a bitbake upgrade to accommodate a
single-line in a single recipe that can easily be expressed in a fashion compatible with the existing bitbake versions installed, well that just seem to fly in the face of that earlier discussion.
Well, seen from that angle that seems to hold. But that was not my angle and I hope I was not being mistaken in this regard.
IIRC bitbake 1.8.10 has quite many bug fixes as well (RP?). So, that is more what I was getting at. AFAIK, .dev and bitbake were meant to be closely coupled. IOW, don't run bleeding edge .dev with an old bitbake and expect things to work.
I am open to extend the time until 1.8.8 is officially dead for .dev What do others think about this question of timing?
Re: RFD: is bitbake 1.8.10 minimum supported standard? (was: [oe-commits] org.oe.dev anki: fix parse error)
Quoted 9 lines · Rolf Leggewie
Quoted 4 lines · Mike (mwester)
Requiring a bitbake upgrade to accommodate a
single-line in a single recipe that can easily be expressed in a fashion compatible with the existing bitbake versions installed, well that just seem to fly in the face of that earlier discussion.Well, seen from that angle that seems to hold. But that was not my angle and I hope I was not being mistaken in this regard.
Quoted 7 lines
IIRC bitbake 1.8.10 has quite many bug fixes as well (RP?). So, that is more what I was getting at. AFAIK, .dev and bitbake were meant to be closely coupled. IOW, don't run bleeding edge .dev with an old bitbake and expect things to work.
I am open to extend the time until 1.8.8 is officially dead for .dev What do others think about this question of timing?
Yes, 1.8.10 has lots of other fixes and improvements and I'd like to see .dev switch to it at some point. Once we do that there are some simplifications of code in OE.dev that can be made too.
I appreciate the bitbake 1.8.6 -> 1.8.8 change was bumpy due to sqlite but 1.8.8 -> 1.8.10 should just be a drop in replacement so I don't see any reason not to...
Cheers,
Richard
Re: RFD: is bitbake 1.8.10 minimum supported standard? (was: [oe-commits] org.oe.dev anki: fix parse error)
Quoted 22 lines · Richard Purdie
Quoted 7 lines · Rolf Leggewie
Quoted 2 lines · Mike (mwester)
Requiring a bitbake upgrade to accommodate a single-line in a single recipe that can easily be expressed in a fashion compatible with the existing bitbake versions installed, well that just seem to fly in the face of that earlier discussion.
Well, seen from that angle that seems to hold. But that was not my angle and I hope I was not being mistaken in this regard.
Quoted 8 lines
IIRC bitbake 1.8.10 has quite many bug fixes as well (RP?). So, that is more what I was getting at. AFAIK, .dev and bitbake were meant to be closely coupled. IOW, don't run bleeding edge .dev with an old bitbake and expect things to work.
I am open to extend the time until 1.8.8 is officially dead for .dev What do others think about this question of timing?
Yes, 1.8.10 has lots of other fixes and improvements and I'd like to see .dev switch to it at some point. Once we do that there are some simplifications of code in OE.dev that can be made too.
Quoted 9 lines
I appreciate the bitbake 1.8.6 -> 1.8.8 change was bumpy due to sqlite but 1.8.8 -> 1.8.10 should just be a drop in replacement so I don't see any reason not to...
Cheers,
Richard
Ok, ok -- let's not get too far off the point here.
I'm not saying that we shouldn't upgrade bitbake. I'm just observing that a one-line change to a recipe has broken the build environment for many people, without any notice in advance that they should have upgraded bitbake. My point is that if we want to be "friendly" to those environments that are looking for controlled and stable environments, we can't be checking in recipes that break the build for everyone, and then just say that the fix is for everyone to go upgrade bitbake.
It may be really, really really easy to upgrade to 1.8.10 -- and I'll do that sometime. But until I get the time to create a reference build with my current bitbake version, clone that environment and create a reference build with 1.8.10 and compare the two -- well, until then I'm going to continue deleting the recipe that's forcing this change on me at this inopportune time. THAT, my friends, is real life -- few other than hobbyists can just upgrade the core build engine at the drop of a hat because somebody checked in a new file (unrelated to what I might be using).
Regards,
Mike (aka "way-behind-the-times-Mike")
Re: RFD: is bitbake 1.8.10 minimum supported standard? (was: [oe-commits] org.oe.dev anki: fix parse error)
Quoted 10 lines · Mike (mwester)
Ok, ok -- let's not get too far off the point here.
I'm not saying that we shouldn't upgrade bitbake. I'm just observing that a one-line change to a recipe has broken the build environment for many people, without any notice in advance that they should have upgraded bitbake. My point is that if we want to be "friendly" to those environments that are looking for controlled and stable environments, we can't be checking in recipes that break the build for everyone, and then just say that the fix is for everyone to go upgrade bitbake.
Quoted 9 lines
It may be really, really really easy to upgrade to 1.8.10 -- and I'll do that sometime. But until I get the time to create a reference build with my current bitbake version, clone that environment and create a reference build with 1.8.10 and compare the two -- well, until then I'm going to continue deleting the recipe that's forcing this change on me at this inopportune time. THAT, my friends, is real life -- few other than hobbyists can just upgrade the core build engine at the drop of a hat because somebody checked in a new file (unrelated to what I might be using).
But lets also not forget what OE.dev is - a development branch. Stable 'branches' of OE exist and those stable branches have different policies for dealing with this kind of change. For OE.dev, its fine to upgrade it now given my understanding of what OE.dev represents.
I'm not basing the need for an upgrade on the one recipe btw, just that in general I see OE.dev upgrading sometime, hopefully soon.
The change in question shouldn't have been committed whilst we still have a minimum version of 1.8.8, I agree with that.
Cheers,
Richard
Quoted 5 lines · Michael 'Mickey' Lauer
export PV is valid syntax, but needs bitbake >= 1.8.8.
If you think it's too early to depend on this, then you can substitute with
export PV := "${PV}"
committed in 1d82d7da50c81b71f828d13440271b55c50713f5
worked fine for me, but I am on 1.8.11