Skip to content

Build failure: open-webui #337159

@Redhawk18

Description

@Redhawk18

Steps To Reproduce

Steps to reproduce the behavior:

{
  services.ollama.enable = true;

  services.open-webui = {
    enable = true;
    openFirewall = true;
    port = 8082;
    environment = {
      OLLAMA_API_BASE_URL = "http://127.0.0.1:11434";
      # Disable authentication
      WEBUI_AUTH = "False";
    };
  };
}

Build log

***** Library versions from cmake find_package *****

CMake Deprecation Warning at /nix/store/j8p62zk5qxig0l1zkvbd6zg742l20bcv-rocm-merged/lib/cmake/hip/hip-config.cmake:20 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  cmake/public/LoadHIP.cmake:37 (find_package)
  cmake/public/LoadHIP.cmake:152 (find_package_and_print_version)
  cmake/Dependencies.cmake:1258 (include)
  CMakeLists.txt:754 (include)


CMake Deprecation Warning at /nix/store/19gvhgqn1ki47dphqlj1dbqhwnwkfpbm-clr-5.7.1/lib/cmake/hip/hip-config-amd.cmake:21 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  /nix/store/j8p62zk5qxig0l1zkvbd6zg742l20bcv-rocm-merged/lib/cmake/hip/hip-config.cmake:150 (include)
  cmake/public/LoadHIP.cmake:37 (find_package)
  cmake/public/LoadHIP.cmake:152 (find_package_and_print_version)
  cmake/Dependencies.cmake:1258 (include)
  CMakeLists.txt:754 (include)


-- hip::amdhip64 is SHARED_LIBRARY
-- /nix/store/q6afjcz9h6ybcrai8w4z4k6ld7yqi9nd-gcc-wrapper-13.2.0/bin/g++: CLANGRT compiler options not supported.
hip VERSION: 5.7.0
hsa-runtime64 VERSION: 1.11.0
amd_comgr VERSION: 2.5.0
CMake Deprecation Warning at /nix/store/j8p62zk5qxig0l1zkvbd6zg742l20bcv-rocm-merged/lib/cmake/hip/hip-config.cmake:20 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  /nix/store/4rw9jlln3kc55l8ifd4zai0amz10596w-cmake-3.29.2/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /nix/store/j8p62zk5qxig0l1zkvbd6zg742l20bcv-rocm-merged/lib/cmake/rocrand/rocrand-config.cmake:90 (find_dependency)
  cmake/public/LoadHIP.cmake:37 (find_package)
  cmake/public/LoadHIP.cmake:155 (find_package_and_print_version)
  cmake/Dependencies.cmake:1258 (include)
  CMakeLists.txt:754 (include)


CMake Deprecation Warning at /nix/store/19gvhgqn1ki47dphqlj1dbqhwnwkfpbm-clr-5.7.1/lib/cmake/hip/hip-config-amd.cmake:21 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
Call Stack (most recent call first):
  /nix/store/j8p62zk5qxig0l1zkvbd6zg742l20bcv-rocm-merged/lib/cmake/hip/hip-config.cmake:150 (include)
  /nix/store/4rw9jlln3kc55l8ifd4zai0amz10596w-cmake-3.29.2/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /nix/store/j8p62zk5qxig0l1zkvbd6zg742l20bcv-rocm-merged/lib/cmake/rocrand/rocrand-config.cmake:90 (find_dependency)
  cmake/public/LoadHIP.cmake:37 (find_package)
  cmake/public/LoadHIP.cmake:155 (find_package_and_print_version)
  cmake/Dependencies.cmake:1258 (include)
  CMakeLists.txt:754 (include)


-- hip::amdhip64 is SHARED_LIBRARY
-- /nix/store/q6afjcz9h6ybcrai8w4z4k6ld7yqi9nd-gcc-wrapper-13.2.0/bin/g++: CLANGRT compiler options not supported.
rocrand VERSION: 2.10.17
hiprand VERSION: 2.10.16
rocblas VERSION: 3.1.0
hipblas VERSION: 1.1.0
CMake Error at cmake/public/LoadHIP.cmake:37 (find_package):
  By not providing "Findhipblaslt.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "hipblaslt", but CMake did not find one.

  Could not find a package configuration file provided by "hipblaslt" with
  any of the following names:

    hipblasltConfig.cmake
    hipblaslt-config.cmake

  Add the installation prefix of "hipblaslt" to CMAKE_PREFIX_PATH or set
  "hipblaslt_DIR" to a directory containing one of the above files.  If
  "hipblaslt" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  cmake/public/LoadHIP.cmake:160 (find_package_and_print_version)
  cmake/Dependencies.cmake:1258 (include)
  CMakeLists.txt:754 (include)


-- Configuring incomplete, errors occurred!
/nix/store/61h5fgmxl3biljwbhxvr55qkxsp44yla-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/75qww2b2lvx52wpf7b4gg6n41dsjc9yg-python3.11-torch-2.3.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/l3n9ix06ggq57fcqwxk3slarj2rwcsix-python3.11-ctranslate2-4.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n00g4j5f2hn41ss2m5mb5j332vha0vri-python3.11-sentence-transformers-2.7.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/srz70ly77fc9jwlr0q04y49ns6hdsc3w-open-webui-0.3.12.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fhrvxzs9v2471q6010kdil56rjpbpka1-unit-open-webui.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/02ms9k0jawrrzvkhbv8j3h1md1rzmk35-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1ws19n53wqp3f75zzm621dyh94d2k2r4-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h154raysj3dk1rnnq7508zjnwdy83rl5-nixos-system-Mythra-24.05.3999.c42fcfbdfeae.drv' failed to build


Additional context

I also have nixpkgs.config.rocmSupport = true;

Notify maintainers

@shivaraj-bh

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.46, NixOS, 24.05 (Uakari), 24.05.3999.c42fcfbdfeae`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"home-manager-24.05.tar.gz, nixos-24.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    driver: amdgpu v: kernel
  Device-2: AMD Raphael driver: amdgpu v: kernel
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: gpu: amdgpu resolution: 1: 1920x1080~165Hz
    2: 1920x1080~60Hz
  API: EGL Message: EGL data requires eglinfo. Check --recommends.

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions