Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe CLI on Linux: “Error: formulae require at least a URL” #128554

Closed
4 tasks done
aral opened this issue Apr 17, 2023 · 3 comments
Closed
4 tasks done

Stripe CLI on Linux: “Error: formulae require at least a URL” #128554

aral opened this issue Apr 17, 2023 · 3 comments
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age

Comments

@aral
Copy link

aral commented Apr 17, 2023

brew gist-logs <formula> link OR brew config AND brew doctor output

Error: formulae require at least a URL
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:285:in `determine_active_spec'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:216:in `initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:400:in `new'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:400:in `get_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:572:in `get_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:670:in `factory'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:322:in `resolve'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:180:in `resolve_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:100:in `load_formula_or_cask'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:57:in `block in to_formulae_and_casks'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:56:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:56:in `flat_map'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:56:in `to_formulae_and_casks'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/named_args.rb:186:in `to_resolved_formulae'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/gist-logs.rb:132:in `gist_logs'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:94:in `<main>'

Verification

  • My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

Trying to install Stripe CLI on Fedora Linux as per the instructions at:

https://stripe.com/docs/development/quickstart:

brew install stripe/stripe-cli/stripe

What happened (include all command output)?

Error: formulae require at least a URL
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:285:in `determine_active_spec'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:216:in `initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:400:in `new'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:400:in `get_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:572:in `get_formula'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formulary.rb:670:in `factory'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/parser.rb:645:in `block in formulae'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/parser.rb:641:in `map'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/parser.rb:641:in `formulae'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cli/parser.rb:317:in `parse'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:150:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:94:in `<main>'

What did you expect to happen?

For it to work.

Step-by-step reproduction instructions (by running brew commands)

brew install stripe/stripe-cli/stripe
@aral aral added the bug Reproducible Homebrew/homebrew-core bug label Apr 17, 2023
@SMillerDev
Copy link
Member

Hi Aral, love your work but we don't control stripe/stripe-cli/stripe. https://github.com/stripe/homebrew-stripe-cli does, so issues should be filed there.

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2023
@SMillerDev
Copy link
Member

Might be good for brew to check if the formula allows your platform first, since I bet this is a common occurrence with GoReleaser generated formula.

@aral
Copy link
Author

aral commented Apr 17, 2023

@SMillerDev Thanks, Sean, I’ll open an issue there.

I’m really trying to get brew working under Fedora Silverblue for me because I feel it could be the equivalent of Flatpak for CLI apps for an immutable system like that but there are a few niggles which I feel will make it harder for me to convince others to try it out. (One is with xz needing to be compiled from source which means you still need to jump into toolbox or distrobox to install via brew. If we could avoid that, brew could become the CLI package manager for Fedora. At least, that’s what I would push.) Anyway, a conversation for a different time/place, I guess :)

Update: Seems there was already a two-year-old issue on the subject: stripe/homebrew-stripe-cli#2

@github-actions github-actions bot added the outdated PR was locked due to age label May 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants