Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2021 11:37:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 259896] lang/python39: build error on current, ModuleNotFoundError: No module named '_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'
Message-ID:  <bug-259896-21822-jGfDmOa7RY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259896-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259896-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 259896: lang/python39: build error on current, ModuleNotFoundError: No
module named '_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259896



--- Description ---
I think the issue in bug #258377 must be revisited.

On today's current, I get this error when building lang/python39:

LD_LIBRARY_PATH=3D/construction/xports/lang/python39/work/Python-3.9.8 CC=
=3D'cc
-pthread' LDSHARED=3D'cc -pthread -shared  -L/usr/local/lib=20
-fstack-protector-strong   ' OPT=3D'-DNDEBUG'  _TCLTK_INCLUDES=3D'' _TCLTK_=
LIBS=3D''=20
./python -E ./setup.py	build
Traceback (most recent call last):
  File "/construction/xports/lang/python39/work/Python-3.9.8/./setup.py", l=
ine
2507, in <module>
    class PyBuildInstallLib(install_lib):
  File "/construction/xports/lang/python39/work/Python-3.9.8/./setup.py", l=
ine
2514, in PyBuildInstallLib
    shlib_suffix =3D sysconfig.get_config_var("SHLIB_SUFFIX")
  File "/construction/xports/lang/python39/work/Python-3.9.8/Lib/sysconfig.=
py",
line 615, in get_config_var
    return get_config_vars().get(name)
  File "/construction/xports/lang/python39/work/Python-3.9.8/Lib/sysconfig.=
py",
line 564, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/construction/xports/lang/python39/work/Python-3.9.8/Lib/sysconfig.=
py",
line 430, in _init_posix
    _temp =3D __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named
'_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'
*** [sharedmods] Error code 1

In ${WRKSRC}/build/lib.freebsd-14.0-CURRENT-amd64-3.9, I find the file
_sysconfigdata__freebsd14_x86_64-unknown-freebsd14.0.py, but not a file nam=
ed
_sysconfigdata__freebsd14_x86_64-unknown-freebsd14.py.

lang/python38 nor lang/python310 exhibit this issue.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259896-21822-jGfDmOa7RY>