-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
midnight-commander: latest formula uses broken version 4.8.27 #97718
Comments
If this is the version that MC deems stable I don't think we can do much about it. |
Would it be too difficult to extend the formula to allow the installation of stable releases and not only the latest release ? The MC repo has a couple of stable branches. I'm currently using branch: 4.8.1-stable built from sources and that solves the problem for me. I can give it a try, I just need a pointer to the docs on how to make multiple versions of a formula available. |
Ok, sounds like a tap would be more appropriate for this purpose. I guess we can close this issue then. Thanks for looking into it. |
Hi @SMillerDev, I'm a bit stuck creating my tap for the stable version. I've created the following tap: pgpbpadilla/pgpb
And I'm able to get the information about my custom formula:
However, installing it fails with an error:
I don't understand why Am I missing some step before I can install the formula from my tap? |
It's almost certainly because:
you left the bottle block in the formula: https://github.com/pgpbpadilla/homebrew-pgpb/blob/4b6cd606d8261adbf8453ea1ff7631a5e29e9b36/Formula/midnight-commander-stable.rb#L14-L22 Since there are no |
Hi there, I'm one the maintainers of mc. I'm afraid that you are confused about our current release versioning. The current stable version is The These old releases are not considered stable nowadays, these days we are just continuing with Please don't use and/or package old stable branches. They are less stable than the current code, are insecure and probably don't even build properly at all. Z. |
@zyv thanks for dropping by. Yes, we don't plan to package the older versions of |
Ok, that makes sense, I was just guessing based on the branch names 😅 In any case, I believe the bug is still present when I build MC from sources: #4356 |
That did it! 😀 ... my tap now works! I am now able to install v4.8.1.7 with brew tap pgpbpadilla/pgpb
brew info pgpbpadilla/pgpb/midnight-commander
brew install pgpbpadilla/pgpb/midnight-commander Thank you all @SMillerDev @gromgit @zyv |
The current formula uses a version of MC which has the bug described in: https://midnight-commander.org/ticket/4356
However, that's not a bug in the formula but in MC itself.
I'm not an expert on Homebrew formulas but I've seen other formulas that have multiple versions available via
brew search
, e.g.The following stable branch of MC does not have the bug:
4.8.1-stable
Having the ability to install the stable versions would be awesome :)
Verification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
See: https://midnight-commander.org/ticket/4356
What happened (include all command output)?
See: https://midnight-commander.org/ticket/4356
What did you expect to happen?
See: https://midnight-commander.org/ticket/4356
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: