Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Walter Franzini <walter.franzini@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: bitbake error?
Date: Mon, 01 Nov 2010 10:59:58 +0100	[thread overview]
Message-ID: <8739rlqs81.fsf@walter-nb.nord-com.it> (raw)
In-Reply-To: 20101030102143.GC21651@denix.org

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

Denys Dmytriyenko <denis@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/

[-- Attachment #2: Type: application/pgp-signature, Size: 204 bytes --]

      reply	other threads:[~2010-11-01 10:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 13:18 bitbake error? Jaap de Jong
2010-10-29  1:51 ` James Ronald
2010-10-29  9:33   ` Pierluigi Passaro
2010-10-29 15:20     ` James Ronald
2010-10-30 10:16       ` Jaap de Jong
2010-10-30 10:21         ` Denys Dmytriyenko
2010-11-01  9:59           ` Walter Franzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739rlqs81.fsf@walter-nb.nord-com.it \
    --to=walter.franzini@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox