Skip to content

ripgrep fails to download in an aarch64 linux container due to requesting a non-existent musl-based build #589

Closed

Description

@irth

Hi, I run opencode in a Debian based container (on macOS, thru Docker Desktop).

opencode tries to download ripgrep, but assumes a musl build is available (hardcoded for Linux @ https://github.com/sst/opencode/blob/e99bdcefac44db9251ac08b515a6b1f5af42610c/packages/opencode/src/file/ripgrep.ts#L90 )

this is, however, not true - there's no aarch64 musl build, only GNU libc (which, I assume, should work on Debian if opencode knew it should download it

ERROR 2025-07-01T22:37:56 +160ms service=default url=https://github.com/BurntSushi/ripgrep/releases/download/14.1.1/ripgrep-14.1.1-aarch64-unknown-linux-musl.tar.gz status=404 name=RipgrepDownloadFailedError message=RipgrepDownloadFailedError fatal
Error: Unexpected error, check log file at  for more details
ERROR 2025-07-01T22:37:56 +1ms service=default e=RipgrepDownloadFailedError rejection

Activity

  1. changed the title [-]ripgrep fails to download in an aarch64 linux container due to requesting a non-existent musl build[/-] [+]ripgrep fails to download in an aarch64 linux container due to requesting a non-existent musl-based build[/+] on Jul 1, 2025
  2. thdxr commented on Jul 2, 2025

    @thdxr
    Member

    can you check in v0.1.174

  3. self-assigned this
    on Jul 2, 2025
  4. irth commented on Jul 2, 2025

    @irth
    Author

    yup, this fixed it. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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