[OE-core] [review/test 3/5] python, python-native: upgrade from 2.6.6 to 2.7.2

Martin Jansa martin.jansa at gmail.com
Fri Oct 14 09:11:36 UTC 2011


On Fri, Oct 14, 2011 at 10:19:39AM +0200, Martin Jansa wrote:
> On Thu, Oct 13, 2011 at 04:06:13PM -0700, nitin.a.kamble at intel.com wrote:
> > From: Nitin A Kamble <nitin.a.kamble at intel.com>
> > 
> 
> This patch does not apply after
> 9f9612d15acc6ee3b71f52bdb3f1ec4cb56b1a17
> 
> can you rebase on top of oe-core?
> 
> Also please drop
> DEFAULT_PREFERENCE = "-27"
> 
> we have only one python version so I guess it's not usefull at all
> anymore
> 
> I'll apply it manually, test it here.. and report if those modules are
> build later..

seems the same as with previous version.. 

log.do_compile full of
/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

and only built module is sqlite
OE @ ~/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-2.7.2-r0.0 $ ls Python-2.7.2/build/lib.linux-x86_64-2.7/
_sqlite3.so

while with 2.6 we had a lot of modules
$ ls Python-2.6.6/build/lib.linux-x86_64-2.6/
_bisect.so          _codecs_jp.so    _ctypes.so        _fileio.so     _json.so             _random.so   _testcapi.so  bz2.so        datetime.so         itertools.so  parser.so    spwd.so     unicodedata.so
_bytesio.so         _codecs_kr.so    _ctypes_test.so   _functools.so  _locale.so           _socket.so   _weakref.so   cPickle.so    fcntl.so            math.so       pyexpat.so   strop.so    zlib.so
_codecs_cn.so       _codecs_tw.so    _curses.so        _hashlib.so    _lsprof.so           _sqlite3.so  array.so      cStringIO.so  future_builtins.so  mmap.so       readline.so  syslog.so
_codecs_hk.so       _collections.so  _curses_panel.so  _heapq.so      _multibytecodec.so   _ssl.so      audioop.so    cmath.so      gdbm.so             nis.so        resource.so  termios.so
_codecs_iso2022.so  _csv.so          _elementtree.so   _hotshot.so    _multiprocessing.so  _struct.so   binascii.so   crypt.so      grp.so              operator.so   select.so    time.so

Can you please test that you have non-empty python-syslog python-resource python-elementtree python-fcntl python-zlib? 
And test build for qemuarm, because I guess that it links to -native libpython2.7 when you're building qemux86 on x86 host.

But it seems that python runtime works now, thanks!

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111014/a626dfe2/attachment-0002.sig>


More information about the Openembedded-core mailing list