[oe] bitbake error?

Walter Franzini walter.franzini at gmail.com
Mon Nov 1 09:59:58 UTC 2010


Denys Dmytriyenko <denis at denix.org> writes:

> On Sat, Oct 30, 2010 at 12:16:23PM +0200, Jaap de Jong wrote:
>> That fixes it...
>> 
>> If relevant: 
>> org.openembedded/conf/sanity.conf needs to be patched?
>> 
>>     -BB_MIN_VERSION = "1.8.18"
>>     +BB_MIN_VERSION = "1.10.1"
>
> NAK! It is not officially decided or announced to require 1.10 as a minimal 
> version of Bitbake for OpenEmbedded. The minimal version is still 1.8.18 and 
> if it is broken now, it needs to be fixed, not worked around. Too many people 
> (especially, out of tree) use 1.8.x bitbake.

The patch below fix the problem for me with bitbake 1.8.18. 

HTH :-)

diff --git a/classes/base.bbclass b/classes/base.bbclass
index 8708fa9..a14354d 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -237,12 +237,6 @@ python base_eventhandler() {
 	from bb import note, error, data
 	from bb.event import getName
 
-	# Only need to output when using 1.8 or lower, the UI code handles it
-	# otherwise
-	if (int(bb.__version__.split(".")[0]) <= 1 and int(bb.__version__.split(".")[1]) <= 8):
-		if msg:
-			note(msg)
-
 	if isinstance(e, bb.event.BuildStarted):
 		bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
 		statusvars = bb.data.getVar("BUILDCFG_VARS", e.data, 1).split()

-- 
Walter Franzini
http://aegis.stepbuild.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101101/b109c2e5/attachment-0002.sig>


More information about the Openembedded-devel mailing list