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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259896

            Bug ID: 259896
           Summary: lang/python39: build error on current,
                    ModuleNotFoundError: No module named
                    '_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

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.

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



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