On Sun, Oct 23, 2011 at 05:07:30PM -0700, Kamble, Nitin A wrote: > Hi Martin, > I tested python inside qemux86-64 and it was working fine. I could test > small python scripts working as expected. > Thanks, > Nitin
For me it builds only after I've upgraded host's glibc version to 2.14 while using eglibc-2.14 for qemux86-64. When I had glibc-2.13 on host and eglibc-2.14 for qemux86-64 it fails like this: /OE/shr-core/tmp/sysroots/x86_64-linux/usr/bin/python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /OE/shr-core/tmp/work/x86_64-oe-linux/python-2.7.2-r0.0/Python-2.7.2/libpython2.7.so.1.0) as reported here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/011230.html > > > > -----Original Message----- > > From: Martin Jansa [mailto:[email protected]] > > Sent: Saturday, October 22, 2011 11:28 PM > > To: Kamble, Nitin A > > Cc: 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 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: [email protected] > > > > [mailto:[email protected]] 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, > > [email protected] > > > > wrote: > > > > > > From: Nitin A Kamble <[email protected]> > > > > > > > > > > > > > > > > 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: [email protected] > > > > -- > > Martin 'JaMa' Jansa jabber: [email protected] > > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
