Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.77k stars 12.45k forks source link

Can't install ncdu with Homebrew on a fresh machine #13880

Closed revolter closed 7 years ago

revolter commented 7 years ago

Please always follow these steps:

Please note we may immediately close your issue without comment if you delete or do not fill out the issue checklist and provide ALL the requested information.

To help us debug your issue please explain:

I was trying to install ncdu using linuxbrew.

It crashed with the error configure: error: required header file not found.

Install required dependencies then complete the ncdu installation successfully.

Run brew install ncdu on a fresh machine.

I noticed that if I install neovim beforehand, ncdu installs correctly, so I thought that the spec doesn't list its required dependencies. A related issue can be found here.

New Formulae

To get a new formula into Homebrew please file a Pull Request.

JCount commented 7 years ago

@revolter As this is pertains to a Linuxbrew installation, please file your issue at Linuxbrew/homebrew-core/issues as they will best be able to assist you.

revolter commented 7 years ago

Aren't the spec files shared between the 2 projects?

MikeMcQuaid commented 7 years ago

We don't support Linux here.

revolter commented 7 years ago

But the Formula is here!

MikeMcQuaid commented 7 years ago

@revolter Yes but because you use Linuxbrew it's using this: https://github.com/Linuxbrew/homebrew-core/blob/master/Formula/ncdu.rb. This is Homebrew, we don't support Linux for Homebrew and Linuxbrew is a completely separate project run by different people.

revolter commented 7 years ago

They are identical, because Linuxbrew's homebrew-core is a fork. Also, I don't think the issue is only on Linux, it just happened for me to discover it o a Linux machine. Having installed a lot of packages in my main macOS system, I can't test this.

MikeMcQuaid commented 7 years ago

They are identical, because Linuxbrew's homebrew-core is a fork.

That's irrelevant to this discussion because we don't support Linux or Linuxbrew here. Additionally, the actual brew logic differs on Homebrew and Linuxbrew so the formula being identical still doesn't mean these issues are reproducible on macOS.

Also, I don't think the issue is only on Linux, it just happened for me to discover it o a Linux machine. Having installed a lot of packages in my main macOS system, I can't test this.

We are only interested in issues you have having on macOS. If you have a macOS system and can reproduce this issue and submit a brew gist-logs from there we will look at fixing it. We will not look at fixing issues on Linux because we do not support Linux, do not run Homebrew on Linux and never plan to do so.