Skip to content

docker-compose up -d failed #2

Description

@PhilippeRigaux

Made git clone, config and then: (Mac Arm)

MacBook-Air:litellm-claude-code pri$ docker-compose up -d
[+] Running 1/1
 ! litellm Warning pull access denied for litellm-claude-local, repository does not exist or may require 'docker login'                                             1.1s 
[+] Running 0/1
[+] Running 0/1llm  Building                                                                                                                                        0.1s 
[+] Building 52.7s (6/15)                                                                                                                           docker:desktop-linux 
 => [litellm internal] load build definition from Dockerfile                                                                                                        0.0s
 => => transferring dockerfile: 2.02kB                                                                                                                              0.0s
 => [litellm internal] load metadata for ghcr.io/cabinlab/claude-code-sdk-docker:python                                                                             1.0s 
 => [litellm internal] load .dockerignore                                                                                                                           0.0s
 => => transferring context: 2B                                                                                                                                     0.0s
 => CACHED [litellm  1/11] FROM ghcr.io/cabinlab/claude-code-sdk-docker:python@sha256:2b9277a297f4ffbe306b726020fdd936e4bbfe9c71e21474487a2e19ef18666e              0.0s
 => => resolve ghcr.io/cabinlab/claude-code-sdk-docker:python@sha256:2b9277a297f4ffbe306b726020fdd936e4bbfe9c71e21474487a2e19ef18666e                               0.0s
 => [litellm internal] load build context                                                                                                                           0.0s
 => => transferring context: 430B                                                                                                                                   0.0s
 => ERROR [litellm  2/11] RUN pip install --no-cache-dir     litellm[proxy]>=1.40.0     prisma     aiofiles                                                        51.7s 
------                                                                                                                                                                   
 > [litellm  2/11] RUN pip install --no-cache-dir     litellm[proxy]>=1.40.0     prisma     aiofiles:                                                                    
50.50   error: subprocess-exited-with-error                                                                                                                              
50.50                                                                                                                                                                    
50.50   × Building wheel for fastuuid (pyproject.toml) did not run successfully.                                                                                         
50.50   │ exit code: 1
50.50   ╰─> [45 lines of output]
50.50       Running `maturin pep517 build-wheel -i /opt/venv/bin/python3 --compatibility off`
50.50       Python reports SOABI: cpython-311-aarch64-linux-gnu
50.50       Computed rustc target triple: aarch64-unknown-linux-gnu
50.50       Installation directory: /root/.cache/puccinialin
50.50       Rustup already downloaded
50.50       Installing rust to /root/.cache/puccinialin/rustup
50.50       warn: It looks like you have an existing rustup settings file at:
50.50       warn: /root/.rustup/settings.toml
50.50       warn: Rustup will install the default toolchain as specified in the settings file,
50.50       warn: instead of the one inferred from the default host triple.
50.50       info: profile set to 'minimal'
50.50       info: default host triple is aarch64-unknown-linux-gnu
50.50       warn: Updating existing toolchain, profile choice will be ignored
50.50       info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu'
50.50       info: default toolchain set to 'stable-aarch64-unknown-linux-gnu'
50.50       Checking if cargo is installed
50.50       cargo 1.89.0 (c24e10642 2025-06-23)
50.50       📦 Including license file `LICENSE`
50.50       🔗 Found pyo3 bindings
50.50       🐍 Found CPython 3.11 at /opt/venv/bin/python3
50.50          Compiling target-lexicon v0.12.16
50.50          Compiling proc-macro2 v1.0.93
50.50          Compiling unicode-ident v1.0.15
50.50          Compiling once_cell v1.20.2
50.50          Compiling libc v0.2.169
50.50          Compiling version_check v0.9.5
50.50          Compiling typenum v1.17.0
50.50          Compiling cfg-if v1.0.0
50.50          Compiling byteorder v1.5.0
50.50          Compiling autocfg v1.4.0
50.50          Compiling heck v0.5.0
50.50       error: linker `cc` not found
50.50         |
50.50         = note: No such file or directory (os error 2)
50.50       
50.50       error: could not compile `proc-macro2` (build script) due to 1 previous error
50.50       warning: build failed, waiting for other jobs to finish...
50.50       error: could not compile `libc` (build script) due to 1 previous error
50.50       error: could not compile `target-lexicon` (build script) due to 1 previous error
50.50       error: could not compile `typenum` (build script) due to 1 previous error
50.50       💥 maturin failed
50.50         Caused by: Failed to build a native library through cargo
50.50         Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" PYO3_PYTHON="/opt/venv/bin/python3" PYTHON_SYS_EXECUTABLE="/opt/venv/bin/python3" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-8f4dxbke/fastuuid_e4eae419a7724267a154e9aba2c03fd9/Cargo.toml" "--release" "--lib"`
50.50       Rust not found, installing into a temporary directory
50.50       Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/opt/venv/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1
50.50       [end of output]
50.50   
50.50   note: This error originates from a subprocess, and is likely not a problem with pip.
50.50   ERROR: Failed building wheel for fastuuid
[+] Running 0/1uld not build wheels for fastuuid, which is required to install pyproject.toml-based projects
 ⠏ Service litellm  Building                                                                                                                                       52.9s 
failed to solve: process "/bin/sh -c pip install --no-cache-dir     litellm[proxy]>=1.40.0     prisma     aiofiles" did not complete successfully: exit code: 1
MacBook-Air:litellm-claude-code pri$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions