[Bug 269813] lang/python3: Possible deadlock at shutdown while recursively acquiring head lock

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Feb 2023 09:39:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269813

--- Comment #3 from László Károlyi <laszlo@karolyi.hu> ---
(In reply to Charlie Li from comment #1)
Upon looking into the 3.8 branch, the original commit that caused the hanging
is not backported into it. According to the python site, 3.8 and 3.9 is only
getting security updates now.

That said, I can't even get python to compile in the 3.8 branch now, checking
out from the source. Probably there was some patch in ports involved which I
didn't apply:

 CC='cc -pthread' LDSHARED='cc -pthread -shared    ' OPT='-DNDEBUG -g -fwrapv
-O3 -Wall'  _TCLTK_INCLUDES='' _TCLTK_LIBS=''  ./python -E ./setup.py  build
Traceback (most recent call last):
  File "./setup.py", line 2320, in <module>
    class PyBuildInstallLib(install_lib):
  File "./setup.py", line 2327, in PyBuildInstallLib
    shlib_suffix = sysconfig.get_config_var("SHLIB_SUFFIX")
  File "/usr/local/src/cpython/Lib/sysconfig.py", line 615, in get_config_var
    return get_config_vars().get(name)
  File "/usr/local/src/cpython/Lib/sysconfig.py", line 564, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/local/src/cpython/Lib/sysconfig.py", line 432, in _init_posix
    _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named
'_sysconfigdata__freebsd13_x86_64-unknown-freebsd13'
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.