Open dhirschfeld opened 9 months ago
Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found it was in an excellent condition.
@conda-forge-admin, please rerender
Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/tree_sitter_languages-feedstock/actions/runs/7565070155.
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705549810320/work/build.py", line 4, in <module>
from tree_sitter import Language
ModuleNotFoundError: No module named 'tree_sitter'
build.py: Building tree_sitter_languages/languages.so
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/setuptools/_distutils/spawn.py", line 57, in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cc'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/setuptools/_distutils/spawn.py", line 63, in spawn
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command 'cc' failed: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/work/build.py", line 43, in <module>
Language.build_library(
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/tree_sitter/__init__.py", line 111, in build_library
compiler.compile(
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/home/conda/feedstock_root/build_artifacts/tree_sitter_languages_1705550238378/_h_env/lib/python3.10/site-packages/setuptools/_distutils/unixccompiler.py", line 187, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command 'cc' failed: No such file or directory
Not sure why it can't find cc
when {{ compiler('c') }}
is listed in the host.
It also has the env vars set:
+CC_FOR_BUILD=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-cc
+CC=$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-cc
...which I thought would have been used
So after tricking distutils into using $CC
it then gives the error:
build.py: Building tree_sitter_languages/languages.so
cc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
...so, unsurprisingly, we need to fix the reason distutils can't see the C compiler.
Someone else might have to pick this one up...
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)