Openembedded Devel Discussions
 help / color / mirror / Atom feed
* Python2.7.2 compatibility
@ 2011-12-28 15:43 Giuseppe Condorelli
  2011-12-28 15:48 ` Paul Eggleton
  0 siblings, 1 reply; 8+ messages in thread
From: Giuseppe Condorelli @ 2011-12-28 15:43 UTC (permalink / raw)
  To: openembedded-devel

Hi All,

I moved to two VM (Fedora16 and Ubuntu11.10). Both have python2.7.2
I have problem using bitbake against this python version.
Is this a known problem or I'm missing something?
I had this problem with both best so far bitbake (git clone) and previous
stable versions.

Please let me know.
Thanks and Regards,
Giuseppe


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Python2.7.2 compatibility
  2011-12-28 15:43 Giuseppe Condorelli
@ 2011-12-28 15:48 ` Paul Eggleton
  2011-12-28 16:57   ` Giuseppe Condorelli
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2011-12-28 15:48 UTC (permalink / raw)
  To: Giuseppe Condorelli; +Cc: openembedded-devel

On Wednesday 28 December 2011 16:43:55 Giuseppe Condorelli wrote:
> I moved to two VM (Fedora16 and Ubuntu11.10). Both have python2.7.2
> I have problem using bitbake against this python version.
> Is this a known problem or I'm missing something?
> I had this problem with both best so far bitbake (git clone) and previous
> stable versions.

Could you be more specific about the problem you are having, and what version 
of BitBake you are using? I am using Python 2.7.2+ on Ubuntu 11.10 with no 
problems.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Python2.7.2 compatibility
  2011-12-28 15:48 ` Paul Eggleton
@ 2011-12-28 16:57   ` Giuseppe Condorelli
  2011-12-28 17:02     ` Chris Larson
  2011-12-28 17:04     ` Paul Eggleton
  0 siblings, 2 replies; 8+ messages in thread
From: Giuseppe Condorelli @ 2011-12-28 16:57 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel

This is the log error I catch, I can think it is due to python but maybe
I'm wrong.

---------------------------------
bitbake base-image
ERROR: There is a comment on line 24 of file
/home/condorg/work/openembedded/recipes/ekiga/ekiga_git.bb (#
--enable-static-libs \) which is in the middle of a multiline expression.
Bitbake used to ignore these but no longer does so, please fix your
metadata as errors are likely as a result of this change.
ERROR: There is a comment on line 15 of file
/home/condorg/work/openembedded/recipes/supertux/supertux.inc (#
http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/supertux-0.1.2-fp.patch.gz\)
which is in the middle of a multiline expression.
Bitbake used to ignore these but no longer does so, please fix your
metadata as errors are likely as a result of this change.
ERROR: There is a comment on line 15 of file
/home/condorg/work/openembedded/recipes/supertux/supertux.inc (#
http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/supertux-0.1.2-fp.patch.gz\)
which is in the middle of a multiline expression.
Bitbake used to ignore these but no longer does so, please fix your
metadata as errors are likely as a result of this change.
ERROR: Unable to parse /home/condorg/work/openembedded/recipes/supertux/
supertux_0.1.3.bb
Traceback (most recent call last):
  File "base.bbclass", line 11, in
set_multimach_arch(d=<bb.data_smart.DataSmart object at 0xaca7e0c>)
  File "utils.bbclass", line 4, in
is_machine_specific(d=<bb.data_smart.DataSmart object at 0xaca7e0c>)
  File "/home/condorg/work/bitbake/lib/bb/fetch/__init__.py", line 209, in
init(urls=['
http://downloads.sourceforge.net/super-tux/supertux-0.1.3.tar.bz2', '#', '
http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/supertux-0.1.2-fp.patch.gz',
'file://supertux.png', 'file://install-no-overwrite.patch',
'file://compilation-fixes.patch', 'file://supertux.desktop'],
d=<bb.data_smart.DataSmart object at 0xaca7e0c>, setup=True):
             if url not in urldata:
    >            urldata[url] = FetchData(url, d)

  File "/home/condorg/work/bitbake/lib/bb/fetch/__init__.py", line 527, in
FetchData.__init__(url='#', d=<bb.data_smart.DataSmart object at
0xaca7e0c>):
             self.localfile = ""
    >        (self.type, self.host, self.path, self.user, self.pswd,
self.parm) = decodeurl(data.expand(url, d))
             self.date = Fetch.getSRCDate(self, d)
  File "/home/condorg/work/bitbake/lib/bb/fetch/__init__.py", line 68, in
decodeurl(url='#'):
         if not m:
    >        raise MalformedUrl(url)

MalformedUrl: #
----------------------------------

2011/12/28 Paul Eggleton <paul.eggleton@linux.intel.com>

> On Wednesday 28 December 2011 16:43:55 Giuseppe Condorelli wrote:
> > I moved to two VM (Fedora16 and Ubuntu11.10). Both have python2.7.2
> > I have problem using bitbake against this python version.
> > Is this a known problem or I'm missing something?
> > I had this problem with both best so far bitbake (git clone) and previous
> > stable versions.
>
> Could you be more specific about the problem you are having, and what
> version
> of BitBake you are using? I am using Python 2.7.2+ on Ubuntu 11.10 with no
> problems.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Python2.7.2 compatibility
  2011-12-28 16:57   ` Giuseppe Condorelli
@ 2011-12-28 17:02     ` Chris Larson
  2011-12-28 17:04     ` Paul Eggleton
  1 sibling, 0 replies; 8+ messages in thread
From: Chris Larson @ 2011-12-28 17:02 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Dec 28, 2011 at 9:57 AM, Giuseppe Condorelli
<giuseppe.condorelli@gmail.com> wrote:
> ERROR: There is a comment on line 24 of file
> /home/condorg/work/openembedded/recipes/ekiga/ekiga_git.bb (#
> --enable-static-libs \) which is in the middle of a multiline expression.
> Bitbake used to ignore these but no longer does so, please fix your
> metadata as errors are likely as a result of this change.

Did you not actually read the error message? It's bitbake erroring
out, and right here it's explaining why, and that it's an issue with
this metadata with the new bitbake. Fix the metadata, or use an older
bitbake.
-- 
Christopher Larson



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Python2.7.2 compatibility
  2011-12-28 16:57   ` Giuseppe Condorelli
  2011-12-28 17:02     ` Chris Larson
@ 2011-12-28 17:04     ` Paul Eggleton
  1 sibling, 0 replies; 8+ messages in thread
From: Paul Eggleton @ 2011-12-28 17:04 UTC (permalink / raw)
  To: Giuseppe Condorelli; +Cc: openembedded-devel

On Wednesday 28 December 2011 17:57:33 Giuseppe Condorelli wrote:
> This is the log error I catch, I can think it is due to python but maybe
> I'm wrong.
> 
> ---------------------------------
> bitbake base-image
> ERROR: There is a comment on line 24 of file
> /home/condorg/work/openembedded/recipes/ekiga/ekiga_git.bb (#
> --enable-static-libs \) which is in the middle of a multiline expression.
> Bitbake used to ignore these but no longer does so, please fix your
> metadata as errors are likely as a result of this change.

OK, this has nothing to do with Python version - you're using a new BitBake 
version with the OE classic metadata and the two are not compatible for the 
reason shown in the error - comments are no longer allowed within multi-line 
expressions.

There are three choices:

a) Switch back to an earlier version of BitBake (e.g. 1.12.x)
b) Move up to OE-Core [1]
c) Go through and fix all of these comments

Cheers,
Paul

[1] http://www.openembedded.org/wiki/OpenEmbedded-Core

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Python2.7.2 compatibility
       [not found] <4f13d827.8b7a0e0a.2808.ffffe10eSMTPIN_ADDED@mx.google.com>
@ 2012-01-16  8:00 ` Giuseppe Condorelli
  2012-01-16 19:18   ` Tom Rini
  0 siblings, 1 reply; 8+ messages in thread
From: Giuseppe Condorelli @ 2012-01-16  8:00 UTC (permalink / raw)
  To: openembedded-devel

Hi All, I've read the OE-Classic repository will be stopped and alla the
new work will be on OE-Core one. Can you confirm this? If so, I'll have to
move my work on a given layer in this new developing tree. Please let me
know.
Best Regards,
Giuseppe


Inizio messaggio inoltrato:

*Da:* Giuseppe CONDORELLI <giuseppe.condorelli@st.com>
*Data:* 16 gennaio 2012 08:56:20 CET
*A:* <giuseppe.condorelli@gmail.com>
*Oggetto:* *FW: [oe] [OE] Python2.7.2 compatibility*



-----Original Message-----

From: openembedded-devel-bounces@lists.openembedded.org

[mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of

Paul Eggleton

Sent: Wednesday, December 28, 2011 6:04 PM

To: Giuseppe Condorelli

Cc: openembedded-devel@lists.openembedded.org

Subject: Re: [oe] [OE] Python2.7.2 compatibility


On Wednesday 28 December 2011 17:57:33 Giuseppe Condorelli wrote:

This is the log error I catch, I can think it is due to python but

maybe

I'm wrong.


---------------------------------

bitbake base-image

ERROR: There is a comment on line 24 of file

/home/condorg/work/openembedded/recipes/ekiga/ekiga_git.bb (#

--enable-static-libs \) which is in the middle of a multiline

expression.

Bitbake used to ignore these but no longer does so, please fix your

metadata as errors are likely as a result of this change.


OK, this has nothing to do with Python version - you're using a new

BitBake

version with the OE classic metadata and the two are not compatible for

the

reason shown in the error - comments are no longer allowed within

multi-line

expressions.


There are three choices:


a) Switch back to an earlier version of BitBake (e.g. 1.12.x)

b) Move up to OE-Core [1]

c) Go through and fix all of these comments


Cheers,

Paul


[1] http://www.openembedded.org/wiki/OpenEmbedded-Core


--


Paul Eggleton

Intel Open Source Technology Centre


_______________________________________________

Openembedded-devel mailing list

Openembedded-devel@lists.openembedded.org

http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Python2.7.2 compatibility
  2012-01-16  8:00 ` Python2.7.2 compatibility Giuseppe Condorelli
@ 2012-01-16 19:18   ` Tom Rini
  2012-01-17  8:20     ` Giuseppe Condorelli
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Rini @ 2012-01-16 19:18 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Jan 16, 2012 at 1:00 AM, Giuseppe Condorelli
<giuseppe.condorelli@gmail.com> wrote:
> Hi All, I've read the OE-Classic repository will be stopped and alla the
> new work will be on OE-Core one. Can you confirm this? If so, I'll have to
> move my work on a given layer in this new developing tree. Please let me
> know.

While the exact timetable isn't set in stone, yes, this is the long
stated plan.  For work that's already in-flight, as it were, there'll
be the 2011.03-maintenance branch for as long as there's interest but
the oe-core model is where the project is heading for the future.

-- 
Tom



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Python2.7.2 compatibility
  2012-01-16 19:18   ` Tom Rini
@ 2012-01-17  8:20     ` Giuseppe Condorelli
  0 siblings, 0 replies; 8+ messages in thread
From: Giuseppe Condorelli @ 2012-01-17  8:20 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Thanks Tom for the clarification.

Il giorno 16/gen/2012, alle ore 20:28, Tom Rini <tom.rini@gmail.com> ha scritto:

> On Mon, Jan 16, 2012 at 1:00 AM, Giuseppe Condorelli
> <giuseppe.condorelli@gmail.com> wrote:
>> Hi All, I've read the OE-Classic repository will be stopped and alla the
>> new work will be on OE-Core one. Can you confirm this? If so, I'll have to
>> move my work on a given layer in this new developing tree. Please let me
>> know.
>
> While the exact timetable isn't set in stone, yes, this is the long
> stated plan.  For work that's already in-flight, as it were, there'll
> be the 2011.03-maintenance branch for as long as there's interest but
> the oe-core model is where the project is heading for the future.
>
> --
> Tom
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-17  8:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4f13d827.8b7a0e0a.2808.ffffe10eSMTPIN_ADDED@mx.google.com>
2012-01-16  8:00 ` Python2.7.2 compatibility Giuseppe Condorelli
2012-01-16 19:18   ` Tom Rini
2012-01-17  8:20     ` Giuseppe Condorelli
2011-12-28 15:43 Giuseppe Condorelli
2011-12-28 15:48 ` Paul Eggleton
2011-12-28 16:57   ` Giuseppe Condorelli
2011-12-28 17:02     ` Chris Larson
2011-12-28 17:04     ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox