Skip to content

Cannot build 3.11.4 on Raspberry pi #105706

Open
@TheCarpetMerchant

Description

@TheCarpetMerchant

Bug report

During make -j 4 after having configured optimizations :
The installed version of openssl is 1.1.1n-0+deb11u4+rpt1

fatal error: ffi.h: No such file or directory
  118 | #include <ffi.h>
      |          ^~~~~~~
compilation terminated.
gcc -pthread -shared -fno-semantic-interposition build/temp.linux-aarch64-3.11/home/sure/Python-3.11.4/Modules/xxlimited_35.o -L/usr/lib/arm-linux-gnueabihf -L/usr/local/lib -o build/lib.linux-aarch64-3.11/xxlimited_35.cpython-311-arm-linux-gnueabihf.so
gcc -pthread -shared -fno-semantic-interposition build/temp.linux-aarch64-3.11/home/sure/Python-3.11.4/Modules/_decimal/_decimal.o Modules/_decimal/libmpdec/libmpdec.a -L/usr/lib/arm-linux-gnueabihf -L/usr/local/lib -lm -o build/lib.linux-aarch64-3.11/_decimal.cpython-311-arm-linux-gnueabihf.so

The necessary bits to build these optional modules were not found:
_bz2                  _curses               _curses_panel      
_dbm                  _gdbm                 _hashlib           
_lzma                 _ssl                  _tkinter           
_uuid                 readline                                 
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 not
been built, they are *disabled* by configure:
_sqlite3                                                       


Failed to build these modules:
_ctypes                                                        


Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer

Your environment

  • Operating system and architecture: aarch 64 (Raspbian 11), Raspberry Pi 4 Model B 4GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions