DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
Traceback (most recent call last):
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 178, in _handle_build_error
yield
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 429, in main
built = build_call(
args.srcdir,
...<5 lines>...
args.installer,
)
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 238, in build_package
out = _build(isolation, srcdir, outdir, distribution, config_settings, skip_dependency_check, installer)
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 172, in _build
return _build_in_current_env(srcdir, outdir, distribution, config_settings, skip_dependency_check)
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/__main__.py", line 151, in _build_in_current_env
missing = builder.check_dependencies(distribution, config_settings or {})
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/_builder.py", line 243, in check_dependencies
return {u for d in dependencies for u in check_dependency(d)}
~~~~~~~~~~~~~~~~^^^
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/build/_util.py", line 53, in check_dependency
if req.specifier and not req.specifier.contains(dist.version, prereleases=True):
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/packaging/specifiers.py", line 917, in contains
item = Version(item)
File "TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/packaging/version.py", line 200, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object, got 'NoneType'
ERROR expected string or bytes-like object, got 'NoneType'
WARNING: TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/temp/run.do_compile.1164176:159 exit 1 from 'nativepython3 -m build --no-isolation --wheel --outdir TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/dist TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/pathspec-0.12.1'
WARNING: Backtrace (BB generated script):
#1: python_pep517_do_compile, TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/temp/run.do_compile.1164176, line 159
#2: do_compile, TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/temp/run.do_compile.1164176, line 154
#3: main, TOPDIR/tmp/work/x86_64-linux/python3-pathspec-native/0.12.1/temp/run.do_compile.1164176, line 163