python-{native}-2.6.5: Fix parallel build.
authorPaul Menzel <paulepanter@users.sourceforge.net>
Sat, 2 Oct 2010 10:51:03 +0000 (12:51 +0200)
committerKhem Raj <raj.khem@gmail.com>
Wed, 6 Oct 2010 22:22:03 +0000 (15:22 -0700)
commit3b5ff5ac904475c5303bcf11962055e0253b2e6a
tree87ee5480ac85cac5a190fb99499a57a9ca0e57f2
parentc475f6629653994e9c2911b6d8d09aec5a063dd7
python-{native}-2.6.5: Fix parallel build.

Randomly the build failed for me with the following error message.

    libpython2.6.so: undefined reference to `_PyParser_Grammar'

The applied patch in [5] tried to fix this problem, but it turns out that this also was due to a possible race. This is already known in OpenOffice too [3].

R. David Murray (dmalcolm) <dmalcolm@fedoraproject.org> fixed this in Fedora [1] and I applied his patch.

I reported this issue upstream [4] and this will only be fixed in Python 2.7, so we have to keep this patch for Python 2.6.

I put 00 in front of the name of the patch file because I did not want to rename the other patches.

I build tested this with `MACHINE = " beagleboard"` for `angstrom-2008.1` and `minimal-{eglibc,uclibc,libc}`.

[1] http://pkgs.fedoraproject.org/gitweb/?p=python.git;a=commitdiff;h=b95f6cc2ca6a009f97436c6aa16cfd70547353d9
[2] http://www.openoffice.org/issues/show_bug.cgi?id=114866
[3] http://doc.services.openoffice.org/wiki/RedTinderboxStatusInEIS
[4] http://bugs.python.org/issue10013
[5] http://patchwork.openembedded.org/patch/1899/

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/python/python-2.6.5/00-fix-parallel-make.patch [new file with mode: 0644]
recipes/python/python-2.6.5/01-use-proper-tools-for-cross-build.patch
recipes/python/python-native_2.6.5.bb
recipes/python/python_2.6.5.bb