libsql / libsql/homebrew-sqld

`brew install sqld` installing Darwin instead of intended architecture.

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

sqld version

0.21.9

Steps to reproduce

On non ARM architecture run
brew tap libsql/sqld
brew install sqld

What is expected?

When running brew install sqld, the code accounts for the correct architecture, then downloads and installs sqld-x86_64-unknown-linux-gnu.tar.xz.

What is actually happening?

When running brew install sqld, the code does not account for the correct architecture, then downloads and fails to install sqld-x86_64-apple-darwin.tar.xz.

10 14 23

System info

WSL2 Ubuntu on Win 10

Additional comments

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Homebrew formula used by brew install sqld and inspect how it selects the archive for the host architecture. Reproduce the installation on non-ARM WSL2, then verify that it selects sqld-x86_64-unknown-linux-gnu.tar.xz and completes successfully instead of using the Darwin archive.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.