-
Type:
Build Failure
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Name of Failure:
System Failure
Link to task:
Context of when and why the failure occurred:
Stack trace:
[2025/04/07 08:23:15.895] Using CPython 3.9.16 interpreter at: /usr/bin/python3 [2025/04/07 08:23:15.895] Creating virtual environment at: .venv [2025/04/07 08:23:15.917] Building pymongo @ file:///data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src [2025/04/07 08:23:15.917] Downloading virtualenv (4.1MiB) [2025/04/07 08:23:17.700] Downloaded virtualenv [2025/04/07 08:23:17.700] × Failed to build `pymongo @ [2025/04/07 08:23:17.700] │ file:///data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src` [2025/04/07 08:23:17.700] ├─▶ The build backend returned an error [2025/04/07 08:23:17.700] ╰─▶ Call to `hatchling.build.build_editable` failed (exit status: 1) [2025/04/07 08:23:17.700] [stdout] [2025/04/07 08:23:17.700] running build_ext [2025/04/07 08:23:17.700] building 'bson._cbson' extension [2025/04/07 08:23:17.700] creating build/temp.linux-x86_64-cpython-39/bson [2025/04/07 08:23:17.700] gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 [2025/04/07 08:23:17.700] -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe [2025/04/07 08:23:17.700] -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 [2025/04/07 08:23:17.700] -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 [2025/04/07 08:23:17.700] -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection [2025/04/07 08:23:17.700] -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions [2025/04/07 08:23:17.700] -g -grecord-gcc-switches -pipe -Wall -Werror=format-security [2025/04/07 08:23:17.700] -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS [2025/04/07 08:23:17.700] -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic [2025/04/07 08:23:17.700] -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection [2025/04/07 08:23:17.700] -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches [2025/04/07 08:23:17.700] -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 [2025/04/07 08:23:17.700] -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 [2025/04/07 08:23:17.700] -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection [2025/04/07 08:23:17.700] -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ibson [2025/04/07 08:23:17.700] -I/data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/include [2025/04/07 08:23:17.700] -I/usr/include/python3.9 -c bson/_cbsonmodule.c -o [2025/04/07 08:23:17.700] build/temp.linux-x86_64-cpython-39/bson/_cbsonmodule.o [2025/04/07 08:23:17.700] [stderr] [2025/04/07 08:23:17.700] /data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/lib64/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: [2025/04/07 08:23:17.700] SetuptoolsDeprecationWarning: `project.license` as a TOML table is [2025/04/07 08:23:17.700] deprecated [2025/04/07 08:23:17.700] !! [2025/04/07 08:23:17.700] ******************************************************************************** [2025/04/07 08:23:17.700] Please use a simple string containing a SPDX expression for [2025/04/07 08:23:17.700] `project.license`. You can also use `project.license-files`. (Both [2025/04/07 08:23:17.700] options available on setuptools>=77.0.0). [2025/04/07 08:23:17.700] By 2026-Feb-18, you need to update your project and remove [2025/04/07 08:23:17.700] deprecated calls [2025/04/07 08:23:17.700] or your builds will no longer be supported. [2025/04/07 08:23:17.700] See [2025/04/07 08:23:17.700] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license [2025/04/07 08:23:17.700] for details. [2025/04/07 08:23:17.700] ******************************************************************************** [2025/04/07 08:23:17.700] !! [2025/04/07 08:23:17.700] corresp(dist, value, root_dir) [2025/04/07 08:23:17.700] /data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/lib64/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: [2025/04/07 08:23:17.700] SetuptoolsDeprecationWarning: License classifiers are deprecated. [2025/04/07 08:23:17.700] !! [2025/04/07 08:23:17.701] ******************************************************************************** [2025/04/07 08:23:17.701] Please consider removing the following classifiers in favor of a [2025/04/07 08:23:17.701] SPDX license expression: [2025/04/07 08:23:17.701] License :: OSI Approved :: Apache Software License [2025/04/07 08:23:17.701] See [2025/04/07 08:23:17.701] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license [2025/04/07 08:23:17.701] for details. [2025/04/07 08:23:17.701] ******************************************************************************** [2025/04/07 08:23:17.701] !! [2025/04/07 08:23:17.701] dist._finalize_license_expression() [2025/04/07 08:23:17.701] /data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/lib64/python3.9/site-packages/setuptools/dist.py:759: [2025/04/07 08:23:17.701] SetuptoolsDeprecationWarning: License classifiers are deprecated. [2025/04/07 08:23:17.701] !! [2025/04/07 08:23:17.701] ******************************************************************************** [2025/04/07 08:23:17.701] Please consider removing the following classifiers in favor of a [2025/04/07 08:23:17.701] SPDX license expression: [2025/04/07 08:23:17.701] License :: OSI Approved :: Apache Software License [2025/04/07 08:23:17.701] See [2025/04/07 08:23:17.701] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license [2025/04/07 08:23:17.701] for details. [2025/04/07 08:23:17.701] ******************************************************************************** [2025/04/07 08:23:17.701] !! [2025/04/07 08:23:17.701] self._finalize_license_expression() [2025/04/07 08:23:17.701] bson/_cbsonmodule.c:24:10: fatal error: Python.h: No such file or [2025/04/07 08:23:17.701] directory [2025/04/07 08:23:17.701] 24 | #include "Python.h" [2025/04/07 08:23:17.701] | ^~~~~~~~~~ [2025/04/07 08:23:17.701] compilation terminated. [2025/04/07 08:23:17.701] error: command '/usr/bin/gcc' failed with exit code 1 [2025/04/07 08:23:17.701] Traceback (most recent call last): [2025/04/07 08:23:17.701] File "<string>", line 11, in <module> [2025/04/07 08:23:17.701] File [2025/04/07 08:23:17.701] "/data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/lib64/python3.9/site-packages/hatchling/build.py", [2025/04/07 08:23:17.701] line 83, in build_editable [2025/04/07 08:23:17.701] return os.path.basename(next(builder.build(directory=wheel_directory, [2025/04/07 08:23:17.701] versions=['editable']))) [2025/04/07 08:23:17.701] File [2025/04/07 08:23:17.701] "/data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/lib64/python3.9/site-packages/hatchling/builders/plugin/interface.py", [2025/04/07 08:23:17.701] line 147, in build [2025/04/07 08:23:17.701] build_hook.initialize(version, build_data) [2025/04/07 08:23:17.701] File "/data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/hatch_build.py", [2025/04/07 08:23:17.701] line 22, in initialize [2025/04/07 08:23:17.701] subprocess.check_call([sys.executable, "_setup.py", "build_ext", [2025/04/07 08:23:17.701] "-i"]) [2025/04/07 08:23:17.701] File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call [2025/04/07 08:23:17.701] raise CalledProcessError(retcode, cmd) [2025/04/07 08:23:17.701] subprocess.CalledProcessError: Command [2025/04/07 08:23:17.701] '['/data/mci/69ca93c8beccaddbe0e7fd6dcb5229f1/src/.local/uv/cache/builds-v0/.tmp13yuwg/bin/python', [2025/04/07 08:23:17.701] '_setup.py', 'build_ext', '-i']' returned non-zero exit status 1. [2025/04/07 08:23:17.701] hint: This usually indicates a problem with the package or the build [2025/04/07 08:23:17.701] environment.