aarnphm / whispercpp

Pybind11 bindings for Whisper.cpp
Apache License 2.0
317 stars 54 forks source link

bug: Wheel doesn't build #198

Open chrisspen opened 6 months ago

chrisspen commented 6 months ago

Describe the bug

[ 34%] Building C object CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.o ccache: error: Failed to create directory /home/chris/.ccache/tmp: Read-only file system make[2]: [CMakeFiles/SDL2main.dir/build.make:76: CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:113: CMakeFiles/SDL2main.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 END BUILD LOGS rules_foreign_cc: Build wrapper script location: bazel-out/k8-fastbuild/bin/external/com_github_libsdl_sdl2/SDL_foreign_cc/wrapper_build_script.sh rules_foreign_cc: Build script location: bazel-out/k8-fastbuild/bin/external/com_github_libsdl_sdl2/SDL_foreign_cc/build_script.sh rules_foreign_cc: Build log location: bazel-out/k8-fastbuild/bin/external/com_github_libsdl_sdl2/SDL_foreign_cc/CMake.log

Target //:whispercpp_wheel failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 294.182s, Critical Path: 133.17s INFO: 125 processes: 108 internal, 16 linux-sandbox, 1 local. FAILED: Build did NOT complete successfully

To reproduce

./tools/bazel build //:whispercpp_wheel

Expected behavior

No response

Environment

Python 3.8.13 Ubuntu 20.04

AIWintermuteAI commented 1 week ago

Take a look at my fork, it has CI set up https://github.com/AIWintermuteAI/whispercpp