Skip to content

Installation failure (Homebrew, Crystal 1.8.1) #31

@benjamineskola

Description

@benjamineskola
$ brew install geolessel/homebrew-repo/trello-cli
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#=#=#
==> Fetching geolessel/repo/trello-cli
==> Downloading https://github.com/geolessel/trello-cli/archive/v0.3.0.tar.gz
Already downloaded: /Users/ben/Library/Caches/Homebrew/downloads/2b727c2610b6a674f06340c6cd06de54e31cb7c1849654a2a6a8a8b3cd67e0c6--trello-cli-0.3.0.tar.gz
==> Installing trello-cli from geolessel/repo
==> make
Last 15 lines from /Users/ben/Library/Logs/Homebrew/trello-cli/01.make:
Writing shard.lock
crystal build --release --stats --progress --time src/trello.cr -o bin/trello
Parse:                             00:00:00.000267709 (   0.77MB)
Showing last frame. Use --error-trace for full trace.

In src/app.cr:2:1

 2 | require "logger"
     ^
Error: can't find file 'logger'

If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?
make: *** [make] Error 1el)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/geolessel/homebrew-repo/issues

$ crystal --version
Crystal 1.8.1 (2023-04-20)

LLVM: 15.0.7
Default target: aarch64-apple-darwin22.4.0
$

If I clone the repo and run make manually it works fine, so I'm not sure what's up with the homebrew formula — perhaps something weird with paths?

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