[New-bugs-announce] [issue46924] make install hangs when installing zoneinfo/_zoneinfo.py

AmericanEnglish report at bugs.python.org
Fri Mar 4 14:17:30 EST 2022


New submission from AmericanEnglish <barajasc at umbc.edu>:

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.

----------
components: Installation
messages: 414548
nosy: AmericanEnglish
priority: normal
severity: normal
status: open
title: make install hangs when installing zoneinfo/_zoneinfo.py
type: crash
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46924>
_______________________________________


More information about the New-bugs-announce mailing list