Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fails to build for x86_64-linux w/ Vulkan backend. #747

Closed
@AsbjornOlling

Description

@AsbjornOlling

The update-llama-cpp-2025-05-14 branch builds fine, but the update-llama-cpp-2025-05-15 branch fails, same for current main branch.

I'm looking into fixing it myself, but figured I'd create an issue here in case anyone else is too.

Logs:

  [ 13%] Built target llama-qwen2vl-cli
  [ 14%] Built target llama-gemma3-cli
  [ 14%] Built target vulkan-shaders-gen-build
  [ 14%] Built target llama-llava-cli
  [ 14%] Built target llama-minicpmv-cli
  [  4%] Built target build_info
  [ 21%] Built target ggml-base
  [ 22%] Performing install step for 'vulkan-shaders-gen'
  -- Install configuration: ""
  [ 34%] Built target ggml-cpu

  --- stderr
  make: warning: -j16 forced in submake: resetting jobserver mode.
  CMake Error at cmake_install.cmake:52 (file):
    file INSTALL cannot find
    "/home/asbjorn/Development/am/nobodywho-rs/nobodywho/target/debug/build/llama-cpp-sys-2-bc99b3c0ea975113/out/build/bin/vulkan-shaders-gen":
    No such file or directory.


  make[2]: *** [ggml/src/ggml-vulkan/CMakeFiles/vulkan-shaders-gen-install.dir/build.make:73: ggml/src/ggml-vulkan/vulkan-shaders-gen-prefix/src/vulkan-shaders-gen-stamp/vulkan-shaders-gen-install] Error 1
  make[1]: *** [CMakeFiles/Makefile2:767: ggml/src/ggml-vulkan/CMakeFiles/vulkan-shaders-gen-install.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  make: *** [Makefile:136: all] Error 2

  thread 'main' panicked at /home/asbjorn/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:

  command did not execute successfully, got: exit status: 2

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions