I tried to install  python3.110b1 on OpenBSD7.1/Rpi4. The compilation goes
fine but post compilation setup
fails. It is not able to fine module
`_sysconfigdata__openbsd7_aarch64-unknown-openbsd7`.
The full error:

gmake[3]: Entering directory '/home/shared/downloads/Python-3.11.0b1'
LD_LIBRARY_PATH=/home/shared/downloads/Python-3.11.0b1 CC='/usr/bin/cc
-pthread' LDSHARED='/usr/bin/cc -pthread -shared -fPIC   -g ' OPT='-DNDEBUG
-g -fwrapv -O3 -Wall'        ./python -E ./setup.py  build
Traceback (most recent call last):
  File "/home/shared/downloads/Python-3.11.0b1/./setup.py", line 49, in
<module>
    from distutils.command.build_ext import build_ext
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/home/shared/downloads/Python-3.11.0b1/Lib/distutils/command/build_ext.py",
line 13, in <module>
    from distutils.sysconfig import customize_compiler, get_python_version
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/shared/downloads/Python-3.11.0b1/Lib/distutils/sysconfig.py",
line 53, in <module>
    _config_vars = get_config_vars()
                   ^^^^^^^^^^^^^^^^^
  File "/home/shared/downloads/Python-3.11.0b1/Lib/sysconfig.py", line 669,
in get_config_vars
    _init_posix(_CONFIG_VARS)
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/shared/downloads/Python-3.11.0b1/Lib/sysconfig.py", line 530,
in _init_posix
    _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named
'_sysconfigdata__openbsd7_aarch64-unknown-openbsd7'
gmake[3]: *** [Makefile:858: sharedmods] Error 1
gmake[3]: Leaving directory '/home/shared/downloads/Python-3.11.0b1'
gmake[2]: *** [Makefile:757: build_all_generate_profile] Error 2
gmake[2]: Leaving directory '/home/shared/downloads/Python-3.11.0b1'
gmake[1]: *** [Makefile:733: profile-gen-stamp] Error 2
gmake[1]: Leaving directory '/home/shared/downloads/Python-3.11.0b1'
gmake: *** [Makefile:745: profile-run-stamp] Error 2







This module is present in
./build/lib.openbsd-7.1-arm64-3.11/ as _
sysconfigdata__openbsd7_aarch64-unknown-openbsd7.1.py.
So I made renamed the file dropping the .1 from suffix.  Then I get a
different error:

ModuleNotFoundError: No module named
'_sysconfigdata__openbsd7_aarch64-unknown-openbsd7.1';
'_sysconfigdata__openbsd7_aarch64-unknown-openbsd7' is not a package

I guess we need some fix in the script itself.

Thanks
Sandeep
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/GBIWPNXUXBBM55KFEBHTM23OSREU6LSU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to