Patchwork [0/4] Recipes upgrades

login
register
mail settings
Submitter Nitin A Kamble
Date Sept. 30, 2011, 1:27 a.m.
Message ID <cover.1317344910.git.nitin.a.kamble@intel.com>
Download mbox
Permalink /patch/12433/
State New, archived
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib nitin/upgrades

Comments

Nitin A Kamble - Sept. 30, 2011, 1:27 a.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

The following changes since commit 9d1db6cc928199f8ac4960e8d4648563ef141427:

  python: fix sqlite RPATH issue (2011-09-29 16:57:30 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib nitin/upgrades
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/upgrades

Nitin A Kamble (4):
  gdb: upgrade from 7.3a to 7.3.1
  byacc: upgrade from 20101229 to 20110908
  python-dbus: upgrade from 0.83.2 to 0.84.0
  python, python-native: upgrade from 2.6.6 to 2.7.2

 meta/conf/distro/include/default-versions.inc      |    6 +-
 meta/recipes-devtools/gdb/gdb-common.inc           |    4 +-
 ...anadian_7.3a.bb => gdb-cross-canadian_7.3.1.bb} |    2 +-
 .../gdb/{gdb-cross_7.3a.bb => gdb-cross_7.3.1.bb}  |    2 +-
 .../gdb/{gdb_7.3a.bb => gdb_7.3.1.bb}              |    2 +-
 ...on-2.6-manifest.inc => python-2.7-manifest.inc} |    0
 ...python-dbus_0.83.2.bb => python-dbus_0.84.0.bb} |    4 +-
 .../python/python-native/multilib.patch            |  240 ++++++++++++++++++++
 .../python/python-native/nohostlibs.patch          |   36 ++-
 ...thon-native_2.6.6.bb => python-native_2.7.2.bb} |   13 +-
 meta/recipes-devtools/python/python.inc            |   16 +-
 .../01-use-proper-tools-for-cross-build.patch      |  118 +++++++---
 .../python/python/02-remove-test-for-cross.patch   |  108 ---------
 .../06-avoid_usr_lib_termcap_path_in_linking.patch |   16 +-
 .../python/06-ctypes-libffi-fix-configure.patch    |   42 ++---
 meta/recipes-devtools/python/python/multilib.patch |  126 ++++++-----
 .../python/python/security_issue_2254_fix.patch    |  184 ---------------
 .../python/{python_2.6.6.bb => python_2.7.2.bb}    |   10 +-
 .../byacc/{byacc_20101229.bb => byacc_20110908.bb} |    4 +-
 meta/site/arm-common                               |    3 +
 meta/site/mips-common                              |    3 +
 21 files changed, 476 insertions(+), 463 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.3a.bb => gdb-cross-canadian_7.3.1.bb} (83%)
 rename meta/recipes-devtools/gdb/{gdb-cross_7.3a.bb => gdb-cross_7.3.1.bb} (78%)
 rename meta/recipes-devtools/gdb/{gdb_7.3a.bb => gdb_7.3.1.bb} (91%)
 rename meta/recipes-devtools/python/{python-2.6-manifest.inc => python-2.7-manifest.inc} (100%)
 rename meta/recipes-devtools/python/{python-dbus_0.83.2.bb => python-dbus_0.84.0.bb} (83%)
 create mode 100644 meta/recipes-devtools/python/python-native/multilib.patch
 rename meta/recipes-devtools/python/{python-native_2.6.6.bb => python-native_2.7.2.bb} (74%)
 delete mode 100644 meta/recipes-devtools/python/python/02-remove-test-for-cross.patch
 delete mode 100644 meta/recipes-devtools/python/python/security_issue_2254_fix.patch
 rename meta/recipes-devtools/python/{python_2.6.6.bb => python_2.7.2.bb} (92%)
 rename meta/recipes-extended/byacc/{byacc_20101229.bb => byacc_20110908.bb} (49%)
Martin Jansa - Sept. 30, 2011, 5:16 p.m.
On Fri, Sep 30, 2011 at 3:27 AM,  <nitin.a.kamble@intel.com> wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
>
> The following changes since commit 9d1db6cc928199f8ac4960e8d4648563ef141427:
>
>  python: fix sqlite RPATH issue (2011-09-29 16:57:30 +0100)
>
> are available in the git repository at:
>  git://git.pokylinux.org/poky-contrib nitin/upgrades
>  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/upgrades
>
> Nitin A Kamble (4):
>  gdb: upgrade from 7.3a to 7.3.1
>  byacc: upgrade from 20101229 to 20110908
>  python-dbus: upgrade from 0.83.2 to 0.84.0
>  python, python-native: upgrade from 2.6.6 to 2.7.2

Just for record, upgrading python needs few PR bumps for recipes
linking to libpython (RDEPENDing on libpython2.6-1.0)

bitbake -c cleansstate python-setuptools python-setuptools-native
python-pyrex python-pyrex-native
In my case:
NOTE: Running task 3 of 18 (ID: 15,
/OE/shr-core/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin_2.7.9.bb,
do_cleansstate)
NOTE: Running task 5 of 18 (ID: 13,
/OE/shr-core/meta-openembedded/meta-oe/recipes-devtools/python/python-pyyaml_svn.bb,
do_cleansstate)
NOTE: Running task 7 of 18 (ID: 11,
/OE/shr-core/meta-smartphone/meta-fso/recipes-freesmartphone/python/python-pyrtc_git.bb,
do_cleansstate)
NOTE: Running task 9 of 18 (ID: 9,
/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python-pygobject_2.27.91.bb,
do_cleansstate)
NOTE: Running task 10 of 18 (ID: 17,
/OE/shr-core/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_2.95.bb,
do_cleansstate)
NOTE: Running task 13 of 18 (ID: 7,
/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python-pycairo_1.8.10.bb,
do_cleansstate)
NOTE: Running task 14 of 18 (ID: 5,
/OE/shr-core/meta-openembedded/meta-oe/recipes-devtools/python/python-pyalsaaudio_0.4.bb,
do_cleansstate)
NOTE: Running task 17 of 18 (ID: 3,
/OE/shr-core/meta-openembedded/meta-oe/recipes-devtools/python/python-phoneutils_git.bb,
do_cleansstate)
NOTE: Running task 18 of 18 (ID: 1,
/OE/shr-core/meta-openembedded/meta-oe/recipes-devtools/python/python-numeric_24.2.bb,
do_cleansstate)
NOTE: Running task 3 of 4 (ID: 1,
/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python-pyrex_0.9.9.bb,
do_cleansstate)
NOTE: Running task 4 of 4 (ID: 3,
/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb,
do_cleansstate)
NOTE: Running task 3 of 4 (ID: 1,
/OE/shr-core/meta-openembedded/meta-oe/recipes-devtools/python/python-setuptools_0.6c11.bb,
do_cleansstate)
NOTE: Running task 4 of 4 (ID: 3,
virtual:native:/OE/shr-core/meta-openembedded/meta-oe/recipes-devtools/python/python-setuptools_0.6c11.bb,
do_cleansstate)

Another source of issues are setuptools versions like
http://git.shr-project.org/git/?p=shr-settings.git;a=commit;h=f5d9debad096e35556261401793d39e1b6c39a3f

or pyrex
NOTE: package python-pycairo-1.8.10-r1: task do_package: Started
ERROR: Function 'do_compile' failed (see
/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-phoneutils-0.0.2+gitr1+8a7c719e0c3f1f8c10f77f17422da02d7177f0dd-r3/temp/log.do_compile.14861
for further information)
ERROR: Logfile of failure stored in:
/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-phoneutils-0.0.2+gitr1+8a7c719e0c3f1f8c10f77f17422da02d7177f0dd-r3/temp/log.do_compile.14861
Log data follows:
| + cd /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-phoneutils-0.0.2+gitr1+8a7c719e0c3f1f8c10f77f17422da02d7177f0dd-r3/git/src/python
| + do_compile
| + setuptools_do_compile
| + distutils_do_compile
| + STAGING_INCDIR=/OE/shr-core/tmp/sysroots/om-gta02/usr/include
| + STAGING_LIBDIR=/OE/shr-core/tmp/sysroots/om-gta02/usr/lib
| + BUILD_SYS=x86_64-linux
| + HOST_SYS=arm-oe-linux-gnueabi
| + /OE/shr-core/tmp/sysroots/x86_64-linux/usr/bin/python setup.py build
| You need Pyrex -- http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
| + bbfatal 'python setup.py build_ext execution failed.'
| + echo 'ERROR: python setup.py build_ext execution failed.'
| ERROR: python setup.py build_ext execution failed.
| + exit 1
| ERROR: Function 'do_compile' failed (see
/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-phoneutils-0.0.2+gitr1+8a7c719e0c3f1f8c10f77f17422da02d7177f0dd-r3/temp/log.do_compile.14861
for further information)


And python-cython-0.13 doesn't work with python-2.7 (maybe it needed
only PR bump for python-cython-native)
ie python-evas fails with:
| checking for pre-generated ./evas/evas.c_evas.c for
./evas/evas.c_evas.pyx... no
| configure: error: PACKAGING ERROR RELEASE BUILD WITHOUT PRE-GENERATED FILES
cython upgrade sent to meta-oe
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-September/035316.html

And still trying to fix python-pyrtc and python-pyyaml:
| + /OE/shr-core/tmp/sysroots/x86_64-linux/usr/bin/python setup.py build
| Traceback (most recent call last):
|   File "setup.py", line 34, in <module>
|     from Cython.Distutils import build_ext
|   File "/OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/Cython/Distutils/__init__.py",
line 2, in <module>
|     from Cython.Distutils.extension import Extension
|   File "/OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/Cython/Distutils/extension.py",
line 18, in <module>
|     class Extension(_Extension.Extension):
|   File "/OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/Cython/Distutils/extension.py",
line 39, in Extension
|     """
| TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
| + bbfatal 'python setup.py build_ext execution failed.'
| + echo 'ERROR: python setup.py build_ext execution failed.'

Regards,
Saul Wold - Oct. 5, 2011, 4:42 a.m.
On 09/29/2011 06:27 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble<nitin.a.kamble@intel.com>
>
> The following changes since commit 9d1db6cc928199f8ac4960e8d4648563ef141427:
>
>    python: fix sqlite RPATH issue (2011-09-29 16:57:30 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib nitin/upgrades
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/upgrades
>
> Nitin A Kamble (4):
>    gdb: upgrade from 7.3a to 7.3.1
>    byacc: upgrade from 20101229 to 20110908
It appears that the above two upgrades were merged into OE-Core

>    python-dbus: upgrade from 0.83.2 to 0.84.0
>    python, python-native: upgrade from 2.6.6 to 2.7.2
>
Please respin the python* patches set and ensure you look at the other 
recipes depending on python, ensure a clean build on multiple arches works.

Thanks
	Sau!


>   meta/conf/distro/include/default-versions.inc      |    6 +-
>   meta/recipes-devtools/gdb/gdb-common.inc           |    4 +-
>   ...anadian_7.3a.bb =>  gdb-cross-canadian_7.3.1.bb} |    2 +-
>   .../gdb/{gdb-cross_7.3a.bb =>  gdb-cross_7.3.1.bb}  |    2 +-
>   .../gdb/{gdb_7.3a.bb =>  gdb_7.3.1.bb}              |    2 +-
>   ...on-2.6-manifest.inc =>  python-2.7-manifest.inc} |    0
>   ...python-dbus_0.83.2.bb =>  python-dbus_0.84.0.bb} |    4 +-
>   .../python/python-native/multilib.patch            |  240 ++++++++++++++++++++
>   .../python/python-native/nohostlibs.patch          |   36 ++-
>   ...thon-native_2.6.6.bb =>  python-native_2.7.2.bb} |   13 +-
>   meta/recipes-devtools/python/python.inc            |   16 +-
>   .../01-use-proper-tools-for-cross-build.patch      |  118 +++++++---
>   .../python/python/02-remove-test-for-cross.patch   |  108 ---------
>   .../06-avoid_usr_lib_termcap_path_in_linking.patch |   16 +-
>   .../python/06-ctypes-libffi-fix-configure.patch    |   42 ++---
>   meta/recipes-devtools/python/python/multilib.patch |  126 ++++++-----
>   .../python/python/security_issue_2254_fix.patch    |  184 ---------------
>   .../python/{python_2.6.6.bb =>  python_2.7.2.bb}    |   10 +-
>   .../byacc/{byacc_20101229.bb =>  byacc_20110908.bb} |    4 +-
>   meta/site/arm-common                               |    3 +
>   meta/site/mips-common                              |    3 +
>   21 files changed, 476 insertions(+), 463 deletions(-)
>   rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.3a.bb =>  gdb-cross-canadian_7.3.1.bb} (83%)
>   rename meta/recipes-devtools/gdb/{gdb-cross_7.3a.bb =>  gdb-cross_7.3.1.bb} (78%)
>   rename meta/recipes-devtools/gdb/{gdb_7.3a.bb =>  gdb_7.3.1.bb} (91%)
>   rename meta/recipes-devtools/python/{python-2.6-manifest.inc =>  python-2.7-manifest.inc} (100%)
>   rename meta/recipes-devtools/python/{python-dbus_0.83.2.bb =>  python-dbus_0.84.0.bb} (83%)
>   create mode 100644 meta/recipes-devtools/python/python-native/multilib.patch
>   rename meta/recipes-devtools/python/{python-native_2.6.6.bb =>  python-native_2.7.2.bb} (74%)
>   delete mode 100644 meta/recipes-devtools/python/python/02-remove-test-for-cross.patch
>   delete mode 100644 meta/recipes-devtools/python/python/security_issue_2254_fix.patch
>   rename meta/recipes-devtools/python/{python_2.6.6.bb =>  python_2.7.2.bb} (92%)
>   rename meta/recipes-extended/byacc/{byacc_20101229.bb =>  byacc_20110908.bb} (49%)
>