A portion of the log.do_install includes the following: | *** WARNING: renaming "_codecs_iso2022" since importing it failed: build/lib.linux-x86_64-2.6/_codecs_iso2022.so: wrong ELF class: ELFCLASS32 | *** WARNING: renaming "_multiprocessing" since importing it failed: build/lib.linux-x86_64-2.6/_multiprocessing.so: wrong ELF class: ELFCLASS32 | *** WARNING: renaming "_ctypes" since importing it failed: build/lib.linux-x86_64-2.6/_ctypes.so: wrong ELF class: ELFCLASS32 | | Failed to find the necessary bits to build these modules: | _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 _bytesio _codecs_cn | _codecs_hk _codecs_iso2022 _codecs_jp | _codecs_kr _codecs_tw _collections | _csv _ctypes _ctypes_test | _curses _curses_panel _elementtree | _fileio _functools _hashlib | _heapq _hotshot _json | _locale _lsprof _multibytecodec | _multiprocessing _random _socket | _sqlite3 _ssl _struct | _testcapi _weakref 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 | | mkdir ./Lib/plat-linux3 | cp ./Lib/plat-generic/regen ./Lib/plat-linux3/regen | export PATH; PATH="`pwd`:$PATH"; \ | export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ | export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ | export EXE; EXE=""; \ | cd ./Lib/plat-linux3; LD_LIBRARY_PATH=/build/poky/tmp/beagleboard/tmp/work/armv7a-poky-linux-gnueabi/python-2.6.6-nk1.3/Python-2.6.6:/build/poky/tmp/beagleboard/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib:/build/poky/tmp/beagleboard/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64 ./regen | python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h | ./regen: line 3: /build/poky/tmp/beagleboard/tmp/work/armv7a-poky-linux-gnueabi/python-2.6.6-nk1.3/Python-2.6.6/python: cannot execute binary file | make: *** [Lib/plat-linux3] Error 126 | ERROR: oe_runmake failed | ERROR: Function 'do_install' failed (see /build/poky/tmp/beagleboard/tmp/work/armv7a-poky-linux-gnueabi/python-2.6.6-nk1.3/temp/log.do_install.23559 for further information)
Could you pls. assign it to other guy, as I'm not python owner. Thanks,
Darren, What is the recipe to get working to 3.0.0-rc1 Linux kernel in poky ?
This isn't about building a 3.0 kernel with poky. This is about trying to build poky on a system that is running a 3.0 kernel.
I am getting 3.1 rc kernel from fedora rawhide to test this. I hope that should help reproduce this issue. Nitin
I just tried to reproduce this on 3.1 fedora rawhide kernel. And install of python was successful. $ uname -a Linux nbuild1 3.1.0-0.rc2.git0.1.fc17.x86_64 #1 SMP Mon Aug 15 14:18:14 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
This issue is no more present. I am not seeing any failure in python building on a host running 3.1 kernel. If it is still issue then please reopen it with more information. Nitin