Hi Martin, Ok, I will reproduce it with your manifest patch and look into fixing it.
Thanks & Regards, Nitin > -----Original Message----- > From: Martin Jansa [mailto:[email protected]] > Sent: Saturday, October 01, 2011 11:34 AM > To: Patches and discussions about the oe-core layer > Cc: Kamble, Nitin A > Subject: Re: [OE-core] [PATCH 4/4] python, python-native: upgrade from > 2.6.6 to 2.7.2 > > On Fri, Sep 30, 2011 at 8:46 PM, Martin Jansa <[email protected]> > wrote: > > On Fri, Sep 30, 2011 at 11:40:47AM -0700, Kamble, Nitin A wrote: > >> > >> > -----Original Message----- > >> > From: [email protected] > >> > [mailto:[email protected]] On > Behalf Of > >> > Martin Jansa > >> > Sent: Friday, September 30, 2011 11:38 AM > >> > To: Patches and discussions about the oe-core layer > >> > Subject: Re: [OE-core] [PATCH 4/4] python, python-native: upgrade > from > >> > 2.6.6 to 2.7.2 > >> > > >> > On Thu, Sep 29, 2011 at 06:27:11PM -0700, [email protected] > >> > wrote: > >> > > From: Nitin A Kamble <[email protected]> > >> > > > >> > > rename from meta/recipes-devtools/python/python-2.6-manifest.inc > >> > > rename to meta/recipes-devtools/python/python-2.7-manifest.inc > >> > > >> > this is wrong.. just to rename it isn't enough > >> > > >> > I will send patch which regenerates manifest with right paths to > >> > actually package something.. > >> > > >> > Regards, > >> > >> Hi Martin, > >> Thanks for catching this. I did not see issue with old manifest. > But getting new manifest would be better. > > > > Maybe you had python2.6 packages still arround, but for me the issue > > looked like this (because almost all python-* packages were skipped > as > > empty) > > -FILES_${PN}-foo="${libdir}/python2.6/foo" > > +FILES_${PN}-foo="${libdir}/python2.7/foo" > > > > > > | Collected errors: > > | * satisfy_dependencies_for: Cannot satisfy the following > dependencies > > for task-shr-minimal-fso: > > | * python-textutils * python-multiprocessing * > > python-shell * python-syslog * python-threading * > > python-xml * python-io * python-logging * python- > stringold * > > python-ctypes * python-difflib * python-datetime * > > python-logging * python-textutils * python-sqlite3 * > > python-subprocess * python-io * python-fcntl * python- > stringold > > * python-pprint * python-shell * python-datetime * > > * python-codecs * > > | * opkg_install_cmd: Cannot install package task-shr-minimal-fso. > > | * satisfy_dependencies_for: Cannot satisfy the following > dependencies > > for task-shr-minimal-gtk: > > | * libpoppler5 (>= 0.12.3) * libpoppler5 (>= 0.12.3) * > > libpoppler5 (>= 0.12.3) * > > | * opkg_install_cmd: Cannot install package task-shr-minimal-gtk. > > | * satisfy_dependencies_for: Cannot satisfy the following > dependencies > > for task-shr-minimal-apps: > > | * python-resource * python-io * python-terminal * > > python-fcntl * python-shell * python-lang * python-lang * > > python-lang * python-lang * python-codecs * > > python-lang * libpoppler5 (>= 0.12.3) * > > | * opkg_install_cmd: Cannot install package task-shr-minimal-apps. > > | * satisfy_dependencies_for: Cannot satisfy the following > dependencies > > for task-shr-cli: > > | * python-compression * python-netclient * python- > textutils > > * python-image * python-mime * python-json * python-html * > > * python-sqlite3 * python-netclient * python-sqlite3 * > > * python-netclient * > > | * opkg_install_cmd: Cannot install package task-shr-cli. > > | ERROR: Function 'do_rootfs' failed (see > > /OE/shr-core/tmp/work/om_gta02-oe-linux-gnueabi/shr-image-2.0- > r18/temp/log.do_rootfs.13435 > > for further information) > > NOTE: package shr-image-2.0-r18: task do_rootfs: Failed > > ERROR: Task 8 > > (/OE/shr-core/meta-smartphone/meta-shr/recipes-shr/images/shr- > image.bb, > > do_rootfs) failed with exit code '1' > > ERROR: > > '/OE/shr-core/meta-smartphone/meta-shr/recipes-shr/images/shr- > image.bb' > > failed > > Even with right manifest few modules which were built fine before are > failing now > > At least > python-syslog > python-elementtree > python-zlib > python-fcntl > python-resource > > should be built and maybe they are failing because of: > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/cfield.c: > In function 'PyCField_FromDesc': > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/cfield.c:50:29: > warning: variable 'length' set but not u > sed [-Wunused-but-set-variable] > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c: > In function 'mmap_resize': > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c:3193:5: > warning: implicit declarat > ion of function 'mremap' [-Wimplicit-function-declaration] > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c: > In function 'sys_trim': > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c:3612:62: > warning: comparison betwe > en pointer and integer [enabled by default] > "../temp/log.do_compile" [converted] 651L, 90722C > > 549,1 86% > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c: > In function 'sys_trim': > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c:3612:62: > warning: comparison betwe > en pointer and integer [enabled by default] > /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/python-2.7.2- > r0.0/Python-2.7.2/Modules/_ctypes/libffi/src/arm/ffi.c:204:1: > warning: function declaratio > n isn't a prototype [-Wstrict-prototypes] > /OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/libpython2.7.so: file > not recognized: File format not recognized > collect2: ld returned 1 exit status > Looking in readline for ['/OE/shr-core/tmp/sysroots/nokia900/usr/lib'] > > where > > $ file /OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/libpython2.7.so > /OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/libpython2.7.so: > symbolic link to `libpython2.7.so.1.0' > > $ file /OE/shr-core/tmp/sysroots/x86_64- > linux/usr/lib/libpython2.7.so.1.0 > /OE/shr-core/tmp/sysroots/x86_64-linux/usr/lib/libpython2.7.so.1.0: > ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically > linked, not stripped > > more modules are failing but at least those listed above were building > fine with 2.6, can you check it please? > > Python build finished, but the necessary bits to build these modules > were not found: > _bsddb _tkinter bsddb185 > dbm dl imageop > linuxaudiodev ossaudiodev sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for > the module's name. > > > Failed to build these modules: > _bisect _codecs_cn _codecs_hk > _codecs_iso2022 _codecs_jp _codecs_kr > _codecs_tw _collections _csv > _ctypes _ctypes_test _curses > _curses_panel _elementtree _functools > _hashlib _heapq _hotshot > _io _json _locale > _lsprof _multibytecodec _multiprocessing > _random _socket _sqlite3 > _ssl _struct _testcapi > array audioop binascii > bz2 cmath cPickle > crypt cStringIO datetime > fcntl future_builtins gdbm > grp itertools math > mmap nis operator > parser pyexpat readline > resource select spwd > strop syslog termios > time unicodedata zlib > > Regards, _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
