[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
Sun Oct 23 06:28:13 UTC 2011


On Sat, Oct 22, 2011 at 04:54:00PM -0700, Kamble, Nitin A wrote:
> Hi Martin,
>   I have kept my python work at nitin/python branch on poky contrib. the 2.7.2 python is working for all arches except arm. And I am going on vacation for few days, and I could not finish the python arm issue arm, so if you get a chance you can look into the arm issue, if you have not resolved it already then I will look into it again once I am back from my vacation on 13th Nov.

Hi Nitin,

I've tried already and failed, but I'll try again and I guess qemux86-64
(linking to host libc and failing if it's not same version as the one in
sysroot) is also still broken and should be taken care of too, right?

Regards,

> > -----Original Message-----
> > From: openembedded-core-bounces at lists.openembedded.org
> > [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> > Martin Jansa
> > Sent: Friday, October 14, 2011 2:12 AM
> > To: Patches and discussions about the oe-core layer
> > Subject: Re: [OE-core] [review/test 3/5] python, python-native: upgrade
> > from 2.6.6 to 2.7.2
> > 
> > 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

-- 
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/20111023/afe21adb/attachment-0002.sig>


More information about the Openembedded-core mailing list