Richard Purdie | 18 Feb 18:18 2011
Picon

Bitbake 1.12.0 released!

Bitbake 1.12.0 has been released.

http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz

This release has many cleanups and improvements to the bitbake core. The
biggest and most user visible change is the parallel parsing work which
is the driving reason for the release.

A git log of the differences between 1.10 and 1.12 follows.

Andreas Oberritter (3):
      fetchers: Add parameter scmdata=keep to include .git/ and others in generated tarballs.
      manual: document scmdata=keep for CVS, SVN and Git
      .gitignore: add *.pyo

Bernhard Reutner-Fischer (38):
      fetch: documentation typo fix
      cache: fix typo in error message of cacheValidUpdate()
      fetch: commentary typo fix in fetcher_init()
      cache: use os.path ops instead of stat
      cache: use max() to determine newest_mtime
      cache: use a set() for __depends
      persist_data: cache connection and use cursor
      cache: do not chdir unnecessarily
      cooker: use time.strftime() instead of spawing sh with date
      parser: fix harmless typo in variable name
      *: use print() as a function
      *: cosmetic whitespace removal
      utils: Fix number of arguments to bb.msg functions
      *: Fix typo in documentation
(Continue reading)

Tom Rini | 18 Feb 18:50 2011

Re: [oe] Bitbake 1.12.0 released!

On 02/18/2011 10:18 AM, Richard Purdie wrote:
> Bitbake 1.12.0 has been released.
>
> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
>
> This release has many cleanups and improvements to the bitbake core. The
> biggest and most user visible change is the parallel parsing work which
> is the driving reason for the release.
>
> A git log of the differences between 1.10 and 1.12 follows.

Thanks for getting the release out Richard.  And thanks to everyone that 
spent a lot of time in bitbake recently!

--

-- 
Tom Rini
Mentor Graphics Corporation
Steffen Sledz | 20 Feb 10:08 2011
Picon

Re: [oe] Bitbake 1.12.0 released! - ImportError: No module named ply

Trying bitbake 1.12.0 together with the testscript from contrib results in an error for me (openSUSE 11.3
32bit, bitbake 1.10.2 works fine):

sledz <at> mobil-400-586:~/tmp/xy> MACHINE=hipox TARGET_RECIPE=minimal-image
DISTRO=angstrom-2008.1 TESTING_BRANCH=testing-release-2011.03 BB_MIN_VERSION=1.12.0 ~/work/openembedded/contrib/testing/testscript.sh
Branch testing-release-2011.03 set up to track remote branch testing-release-2011.03 from origin.
Already on 'testing-release-2011.03'
Already up-to-date.
hipox angstrom-2008.1 minimal-image testing-release-2011.03 72a088f7e1cf2eb0b50f285301478278c616c1cd
Traceback (most recent call last):
  File "/home/sledz/tmp/xy/bitbake-1.12.0/bin/bitbake", line 35, in <module>
    import bb
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/__init__.py", line 138, in <module>
    deprecate_import(__name__, "bb.fetch", ("MalformedUrl", "encodeurl", "decodeurl"))
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/__init__.py", line 126, in deprecate_import
    module = __import__(modulename, fromlist = fromlist)
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/fetch/__init__.py", line 32, in <module>
    from   bb import data
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/data.py", line 48, in <module>
    from bb import data_smart
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/data_smart.py", line 34, in <module>
    import bb, bb.codeparser
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/codeparser.py", line 7, in <module>
    from pysh import pyshyacc, pyshlex
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/pysh/pyshyacc.py", line 13, in <module>
    import pyshlex
  File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/pysh/pyshlex.py", line 22, in <module>
    from ply import lex
ImportError: No module named ply
/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/event.py:87: RuntimeWarning: Parent module 'bb' not
(Continue reading)

Steffen Sledz | 21 Feb 09:22 2011
Picon

Re: [oe] Bitbake 1.12.0 released! - ImportError: No module named ply

Am 20.02.2011 10:08, schrieb Steffen Sledz:
> Trying bitbake 1.12.0 together with the testscript from contrib results in an error for me (openSUSE 11.3
32bit, bitbake 1.10.2 works fine):
> ...
> ImportError: No module named ply

Could be fixed by installing additional python-ply package.

Next problem was the missing progressbar module. Unfortunately there is no openSUSE package for it so i had
to install directly from pypi.python.org. :(

It think there should be some sanity checks for such problems.

Steffen

--

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz <at> DResearch.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Richard Purdie | 21 Feb 13:31 2011
Picon

Re: [oe] Bitbake 1.12.0 released! - ImportError: No module named ply

On Sun, 2011-02-20 at 10:08 +0100, Steffen Sledz wrote:
> Trying bitbake 1.12.0 together with the testscript from contrib
> results in an error for me (openSUSE 11.3 32bit, bitbake 1.10.2 works
> fine):
> 
> sledz <at> mobil-400-586:~/tmp/xy> MACHINE=hipox TARGET_RECIPE=minimal-image
DISTRO=angstrom-2008.1 TESTING_BRANCH=testing-release-2011.03 BB_MIN_VERSION=1.12.0 ~/work/openembedded/contrib/testing/testscript.sh
> Branch testing-release-2011.03 set up to track remote branch testing-release-2011.03 from origin.
> Already on 'testing-release-2011.03'
> Already up-to-date.
> hipox angstrom-2008.1 minimal-image testing-release-2011.03 72a088f7e1cf2eb0b50f285301478278c616c1cd
> Traceback (most recent call last):
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/bin/bitbake", line 35, in <module>
>     import bb
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/__init__.py", line 138, in <module>
>     deprecate_import(__name__, "bb.fetch", ("MalformedUrl", "encodeurl", "decodeurl"))
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/__init__.py", line 126, in deprecate_import
>     module = __import__(modulename, fromlist = fromlist)
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/fetch/__init__.py", line 32, in <module>
>     from   bb import data
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/data.py", line 48, in <module>
>     from bb import data_smart
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/data_smart.py", line 34, in <module>
>     import bb, bb.codeparser
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/codeparser.py", line 7, in <module>
>     from pysh import pyshyacc, pyshlex
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/pysh/pyshyacc.py", line 13, in <module>
>     import pyshlex
>   File "/home/sledz/tmp/xy/bitbake-1.12.0/lib/bb/pysh/pyshlex.py", line 22, in <module>
>     from ply import lex
(Continue reading)

Sledz, Steffen | 21 Feb 14:28 2011
Picon

Re: [oe] Bitbake 1.12.0 released! - ImportError: No module named ply

> Did you try installing python-ply or whatever the name of the ply module
> for python is on openSUSE?

See other subthread.

Steffen
Koen Kooi | 20 Feb 16:24 2011
Picon
Picon

Re: [oe] Bitbake 1.12.0 released!


On 18-02-11 18:18, Richard Purdie wrote:
> Bitbake 1.12.0 has been released.
> 
> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
> 
> This release has many cleanups and improvements to the bitbake core. The
> biggest and most user visible change is the parallel parsing work which
> is the driving reason for the release.

Thanks for making this release! Is a 1.12 branch planned for things like
bugfixes from master?

regards,

Koen
Richard Purdie | 21 Feb 15:36 2011
Picon

Re: [oe] Bitbake 1.12.0 released!

On Sun, 2011-02-20 at 16:24 +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 18-02-11 18:18, Richard Purdie wrote:
> > Bitbake 1.12.0 has been released.
> > 
> > http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
> > 
> > This release has many cleanups and improvements to the bitbake core. The
> > biggest and most user visible change is the parallel parsing work which
> > is the driving reason for the release.
> 
> Thanks for making this release! Is a 1.12 branch planned for things like
> bugfixes from master?

There wasn't a branch created but that is the plan and it exists now.

Cheers,

Richard
Jonathan Cameron | 27 Feb 15:29 2011
Picon
Picon

Re: [oe] Bitbake 1.12.0 released!

On 02/18/11 17:18, Richard Purdie wrote:
> Bitbake 1.12.0 has been released.
> 
> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
> 
> This release has many cleanups and improvements to the bitbake core. The
> biggest and most user visible change is the parallel parsing work which
> is the driving reason for the release.
> 
> A git log of the differences between 1.10 and 1.12 follows.
> 
It's a dumb question, but what are the intended restrictions on python version
for running bitbake?  1.10 seems to work fine with python2.7 whereas I can
only get 1.12 to work with python2.6.

Issue is:

Traceback (most recent call last):
  File "./bitbake", line 43, in <module>
    from bb.server.process import ProcessServer, ServerCommunicator
ImportError: No module named process

I'm not having a great deal of luck tracking down why that happens but then
I haven't put all that much effort into it as yet!

Jonathan
Mike Westerhof | 27 Feb 16:30 2011
Picon

Re: [oe] Bitbake 1.12.0 released!

On 2/27/2011 8:29 AM, Jonathan Cameron wrote:
> On 02/18/11 17:18, Richard Purdie wrote:
>> Bitbake 1.12.0 has been released.
>>
>> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
>>
>> This release has many cleanups and improvements to the bitbake core. The
>> biggest and most user visible change is the parallel parsing work which
>> is the driving reason for the release.
>>
>> A git log of the differences between 1.10 and 1.12 follows.
>>
> It's a dumb question, but what are the intended restrictions on python version
> for running bitbake?  1.10 seems to work fine with python2.7 whereas I can
> only get 1.12 to work with python2.6.

Just to add another datapoint to the python version restrictions: it
seems that bitbake 1.12 requires python 2.6.4 and fails with python
2.6.2 (which means that bitbake 1.12 doesn't work on Fedora 12 or earlier).

-Mike (mwester)

> Issue is:
> 
> Traceback (most recent call last):
>   File "./bitbake", line 43, in <module>
>     from bb.server.process import ProcessServer, ServerCommunicator
> ImportError: No module named process
> 
> I'm not having a great deal of luck tracking down why that happens but then
(Continue reading)

Chris Larson | 27 Feb 21:14 2011

Re: [oe] Bitbake 1.12.0 released!

On Sun, Feb 27, 2011 at 8:30 AM, Mike Westerhof <mike <at> mwester.net> wrote:
>> On 02/18/11 17:18, Richard Purdie wrote:
>>> Bitbake 1.12.0 has been released.
>>>
>>> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
>
>>>
>>> This release has many cleanups and improvements to the bitbake core. The
>>> biggest and most user visible change is the parallel parsing work which
>>> is the driving reason for the release.
>>>
>>> A git log of the differences between 1.10 and 1.12 follows.
>>>
>> It's a dumb question, but what are the intended restrictions on python version
>> for running bitbake?  1.10 seems to work fine with python2.7 whereas I can
>> only get 1.12 to work with python2.6.
>
> Just to add another datapoint to the python version restrictions: it
> seems that bitbake 1.12 requires python 2.6.4 and fails with python
> 2.6.2 (which means that bitbake 1.12 doesn't work on Fedora 12 or earlier).

FYI, from some quick testing in a f12 chroot and creation of a test
case outside of bitbake, it appears we're hitting
http://bugs.python.org/issue5331, whose root cause is
http://bugs.python.org/issue5155, which refers to
http://bugs.python.org/issue5313.  Looking into this now, it's
possible we could replace the appropriate method of Process in our
subclass with the one with the fix.
--

-- 
Christopher Larson
(Continue reading)

Chris Larson | 27 Feb 23:15 2011

Re: [oe] Bitbake 1.12.0 released!

On Sun, Feb 27, 2011 at 1:14 PM, Chris Larson <clarson <at> kergoth.com> wrote:
> On Sun, Feb 27, 2011 at 8:30 AM, Mike Westerhof <mike <at> mwester.net> wrote:
>>> On 02/18/11 17:18, Richard Purdie wrote:
>>>> Bitbake 1.12.0 has been released.
>>>>
>>>> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
>>
>>>>
>>>> This release has many cleanups and improvements to the bitbake core. The
>>>> biggest and most user visible change is the parallel parsing work which
>>>> is the driving reason for the release.
>>>>
>>>> A git log of the differences between 1.10 and 1.12 follows.
>>>>
>>> It's a dumb question, but what are the intended restrictions on python version
>>> for running bitbake?  1.10 seems to work fine with python2.7 whereas I can
>>> only get 1.12 to work with python2.6.
>>
>> Just to add another datapoint to the python version restrictions: it
>> seems that bitbake 1.12 requires python 2.6.4 and fails with python
>> 2.6.2 (which means that bitbake 1.12 doesn't work on Fedora 12 or earlier).
>
> FYI, from some quick testing in a f12 chroot and creation of a test
> case outside of bitbake, it appears we're hitting
> http://bugs.python.org/issue5331, whose root cause is
> http://bugs.python.org/issue5155, which refers to
> http://bugs.python.org/issue5313.  Looking into this now, it's
> possible we could replace the appropriate method of Process in our
> subclass with the one with the fix.

(Continue reading)

Chris Larson | 28 Feb 17:47 2011

Re: [oe] Bitbake 1.12.0 released!

On Sun, Feb 27, 2011 at 3:15 PM, Chris Larson <clarson <at> kergoth.com> wrote:
> https://github.com/kergoth/bitbake/compare/master...f12-hang
>
> https://github.com/kergoth/bitbake/commit/12d9095
>
>
> This fixes the parsing hang on Fedora 12 for me.  Note that I'm not
> sure about the version check.  We could just use this version of
> _bootstrap all the time, but I'd rather avoid this for future
> versions, as we could miss fixes.  We should determine if this fix was
> in python 2.6.3.

Verified that the fix is in 2.6.3.  If someone other than me could
confirm that the above commit resolves their issues, I'd appreciate it
:)
--

-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
_______________________________________________
Bitbake-dev mailing list
Bitbake-dev <at> lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bitbake-dev
Jonathan Cameron | 27 Feb 16:36 2011
Picon
Picon

Re: [oe] Bitbake 1.12.0 released!

Sorry for repeat copies, wasn't subscribed to openembedded-devel with this account so
it bounced the first time.

On 02/18/11 17:18, Richard Purdie wrote:
> Bitbake 1.12.0 has been released.
> 
> http://prdownload.berlios.de/bitbake/bitbake-1.12.0.tar.gz
> 
> This release has many cleanups and improvements to the bitbake core. The
> biggest and most user visible change is the parallel parsing work which
> is the driving reason for the release.
> 
> A git log of the differences between 1.10 and 1.12 follows.
> 
It's a dumb question, but what are the intended restrictions on python version
for running bitbake?  1.10 seems to work fine with python2.7 whereas I can
only get 1.12 to work with python2.6.

Issue is:

Traceback (most recent call last):
  File "./bitbake", line 43, in <module>
    from bb.server.process import ProcessServer, ServerCommunicator
ImportError: No module named process

I'm not having a great deal of luck tracking down why that happens but then
I haven't put all that much effort into it as yet!

Jonathan
(Continue reading)


Gmane