bug: ./tools/bazel: line 67: /home/Senku/whisper/whispercpp/tools/bazel-6.5.0-linux-arm64: cannot execute: required file not found
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
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