-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Describe the bug
when i run ./tools/bazel build //:whispercpp_wheel
i get this error
INFO: Running bazel wrapper (see //tools/bazel for details), bazel version 6.5.0 will be used instead of system-wide bazel installation.
./tools/bazel: line 67: /home/Senku/whisper/whispercpp/tools/bazel-6.5.0-linux-arm64: cannot execute: required file not found
and when i run python3 -m build -w
i get this
-
Creating isolated environment: venv+pip...
-
Installing packages in isolated environment:
- setuptools>=65
- setuptools_scm[toml]>=7
- wheel
-
Getting build dependencies for wheel...
/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning:project.licenseas a TOML table is deprecated
!!******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
!!
corresp(dist, value, root_dir)
/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
dist._finalize_license_expression()
/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running egg_info
writing src/whispercpp.egg-info/PKG-INFO
writing dependency_links to src/whispercpp.egg-info/dependency_links.txt
writing top-level names to src/whispercpp.egg-info/top_level.txt
adding license file 'LICENSE'
writing manifest file 'src/whispercpp.egg-info/SOURCES.txt'
-
Building wheel...
/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning:project.licenseas a TOML table is deprecated
!!******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
!!
corresp(dist, value, root_dir)
/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
dist._finalize_license_expression()
/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
Building pybind11 extension...
INFO: Running bazel wrapper (see //tools/bazel for details), bazel version 6.5.0 will be used instead of system-wide bazel installation.
/home/Senku/whisper/whispercpp/tools/bazel: line 67: /home/Senku/whisper/whispercpp/tools/bazel-6.5.0-linux-arm64: cannot execute: required file not found
Traceback (most recent call last):
File "/home/Senku/whisper/env/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in
main()
File "/home/Senku/whisper/env/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/Senku/whisper/env/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/build_meta.py", line 432, in build_wheel
return _build(['bdist_wheel'])
^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/build_meta.py", line 423, in _build
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/build_meta.py", line 404, in _build_with_temp_dir
self.run_setup()
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "", line 45, in
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/init.py", line 115, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/dist.py", line 1102, in run_command
super().run_command(command)
File "/tmp/build-env-m2x583se/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "", line 28, in run
File "", line 23, in compile_ext
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/Senku/whisper/whispercpp/tools/bazel', 'run', '//:extensions']' returned non-zero exit status 127.
ERROR Backend subprocess exited when trying to invoke build_wheel
even that i try bazel 6.0.0 and 6.5.0
To reproduce
No response
Expected behavior
No response
Environment
venv