-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Description
Hi Python team
i am getting made while trying to cross compile python 3.10.9
While all is ok with Pyhton 3.9.x ... the mmap module refuse to build while all is detected correctly
hope finding help, to debug and make it build correctly
as explain the make ending with
3.10/build/Python-3.10.9/Modules/_ctypes/callproc.o build/temp.linux-x86_64-3.10/build/Python-3.10.9/Modules/_ctypes/cfield.o build/temp.linux-x86_64-3.10/build/Python-3.10.9/Modules/_ctypes/stgdict.o -L. -L/opt/Apache82/lib -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib -lffi -ldl -o build/lib.linux-x86_64-3.10/_ctypes.cpython-310-x86_64-linux-gnu.so
The necessary bits to build these optional modules were not found:
_tkinter
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc pwd time
Failed to build these modules:
mmap
running build_scripts
config.log + pyconfig.h.zip
creating build/scripts-3.10
copying and adjusting /build/Python-3.10.9/Tools/scripts/pydoc3 -> build/scripts-3.10
copying and adjusting /build/Python-3.10.9/Tools/scripts/idle3 -> build/scripts-3.10
copying and adjusting /build/Python-3.10.9/Tools/scripts/2to3 -> build/scripts-3.10
changing mode of build/scripts-3.10/pydoc3 from 644 to 755
changing mode of build/scripts-3.10/idle3 from 644 to 755
changing mode of build/scripts-3.10/2to3 from 644 to 755
renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10
I tried several config flags... but mmap module keeps failing to buid and dont understand why ... and dont find the issue, or logs pointing the problem to debug
Build environment is a Linux Ubuntu, a Toolchain GCC 4.9.8 (required due target is old libc 2.21)
Attached config.log and pyconfi.h
Thanks a lot for your help