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

gocryptfs depends on Linux because macfuse is closed source, but I can install macfuse? #191546

Closed
4 tasks done
OJFord opened this issue Sep 22, 2024 · 2 comments
Closed
4 tasks done
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@OJFord
Copy link
Contributor

OJFord commented Sep 22, 2024

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

N/A

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)?

Install gocryptfs on a Mac to use it

What happened (include all command output)?

gocryptfs: Linux is required for this software.
libfuse: Linux is required for this software.
Error: gocryptfs: Unsatisfied requirements failed this build.

What did you expect to happen?

that it would install, because having brew install macfused, macfuse is installed

the formula has:

depends_on "libfuse"
depends_on :linux # on macOS, requires closed-source macFUSE

but I don't see why that should make it refuse to install, gocryptfs itself is open source, and anyway macfuse is installed through brew! If it being closed source is the problem, why is that allowed, just not anything which actually wants to use it?

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

`brew install gocryptfs`
@OJFord OJFord added the bug Reproducible Homebrew/homebrew-core bug label Sep 22, 2024
@SMillerDev
Copy link
Member

Anything in Homebrew/core must be open source to be included and can only depend on formula in Homebrew/core. Macfuse is a cask, so it is installable, just nothing in Homebrew/core can depend on it.

Just like no formula depend on Google Chrome etc

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2024
@OJFord
Copy link
Contributor Author

OJFord commented Sep 23, 2024

Ok... but then 'requires closed-source macFUSE' is not the correct reason right, it's 'requires a cask'?

And that's surely not a reason to disallow its install, it's just an installation note? Hey btw you need macfuse which happens to be closed source but you can install it as it's a cask?

Or are you saying gocryptfs should be itself a cask on macOS so that it can depend on the cask macfuse?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

2 participants