This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make install hangs when installing zoneinfo/_zoneinfo.py
Type: crash Stage:
Components: Installation Versions: Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: AmericanEnglish
Priority: normal Keywords:

Created on 2022-03-04 19:17 by AmericanEnglish, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg414548 - (view) Author: AmericanEnglish (AmericanEnglish) Date: 2022-03-04 19:17
I am currently trying to compile Python 3.10.2 from source. Everything seems to compile fine when doing a configure then a make. When I do make install though the install process hangs when compiling zoneinfo/_zoneinfo.py . Currently there are 6 python processes running when I view top. I have left this for several hours and the status is unchanged.

Here is the configure command I used:

export CXX=icpx
export CC=icx
# icx uses LLVM, so this is required for ctypes...?
export CFLAGS="-no-integrated-as"
# icx uses a clang frontend so these should be used as suggested by:
# https://devguide.python.org/setup/
export CFLAGS="$CFLAGS -Wno-unused-value -Wno-empty-body -Qunused-arguments"

cd $BUILD
../../302/configure \
    --prefix $PREFIX \
    --enable-profiling \
    --enable-optimizations \
    --with-ensurepip=install > configureOutput.txt


everything runs fine. When I CTRL+C to kill the make install it drops an error:
KeyboardInterrupt
  File "/installation/lib/python3.10/multiprocessing/synchronize.py", line 95, in __enter__
    return self._semlock.__enter__()
  File "/installation/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/installation/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/installation/lib/python3.10/multiprocessing/queues.py", line 102, in get
    with self._rlock:
  File "/installation/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/installation/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
[interrupted]
make: [libinstall] Error 1 (ignored)


Any advice would be greatly appreciated. I have tried Googling the problem and searching StackOverflow and found no solutions that work.

I will say that this happens with AND without optimizations enabled.
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 91080
2022-03-04 19:17:30AmericanEnglishcreate