Homebrew not accepting valid options





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I've built a script to install a bunch of packages with homebrew. The script's available here.



When installing packages that has options, such as --with-default-names I get a warning like this:



warning: gnu-indent: this formula has no --with-default-names option so it will be ignored!


If I check the site, --with-default-names is a valid option.



If I run brew info gnu-indent I get the following output (nothing about --with-default-names).



gnu-indent: stable 2.2.12 (bottled)
C code prettifier
https://www.gnu.org/software/indent/
/usr/local/Cellar/gnu-indent/2.2.12 (47 files, 598.3KB) *
Poured from bottle on 2019-02-02 at 10:18:03
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnu-indent.rb
==> Dependencies
Required: gettext ✔
==> Caveats
GNU "indent" has been installed as "gindent".
If you need to use it as "indent", you can add a "gnubin" directory
to your PATH from your bashrc like:

PATH="/usr/local/opt/gnu-indent/libexec/gnubin:$PATH"
==> Analytics
install: 1,421 (30 days), 3,893 (90 days), 14,931 (365 days)
install_on_request: 1,325 (30 days), 3,584 (90 days), 13,848 (365 days)
build_error: 0 (30 days)


I've tried brew doctor (no warnings), uninstall Homebrew, and different syntaxes, without prevail. I've also used each command directly on the command line (outside the script), with the same results.
Note that I get error for all packages for which I use options.










share|improve this question

























  • If the formula does not list this option, what makes you think it's a valid option to pass?

    – slhck
    Feb 2 at 11:00











  • Check the link above. There the option is listed. It's also used in several guides on how to install GNU command line tools on macOS, such as this.

    – Max
    Feb 2 at 11:51











  • The option obviously does not exist anymore.

    – Daniel B
    Feb 2 at 19:52


















0















I've built a script to install a bunch of packages with homebrew. The script's available here.



When installing packages that has options, such as --with-default-names I get a warning like this:



warning: gnu-indent: this formula has no --with-default-names option so it will be ignored!


If I check the site, --with-default-names is a valid option.



If I run brew info gnu-indent I get the following output (nothing about --with-default-names).



gnu-indent: stable 2.2.12 (bottled)
C code prettifier
https://www.gnu.org/software/indent/
/usr/local/Cellar/gnu-indent/2.2.12 (47 files, 598.3KB) *
Poured from bottle on 2019-02-02 at 10:18:03
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnu-indent.rb
==> Dependencies
Required: gettext ✔
==> Caveats
GNU "indent" has been installed as "gindent".
If you need to use it as "indent", you can add a "gnubin" directory
to your PATH from your bashrc like:

PATH="/usr/local/opt/gnu-indent/libexec/gnubin:$PATH"
==> Analytics
install: 1,421 (30 days), 3,893 (90 days), 14,931 (365 days)
install_on_request: 1,325 (30 days), 3,584 (90 days), 13,848 (365 days)
build_error: 0 (30 days)


I've tried brew doctor (no warnings), uninstall Homebrew, and different syntaxes, without prevail. I've also used each command directly on the command line (outside the script), with the same results.
Note that I get error for all packages for which I use options.










share|improve this question

























  • If the formula does not list this option, what makes you think it's a valid option to pass?

    – slhck
    Feb 2 at 11:00











  • Check the link above. There the option is listed. It's also used in several guides on how to install GNU command line tools on macOS, such as this.

    – Max
    Feb 2 at 11:51











  • The option obviously does not exist anymore.

    – Daniel B
    Feb 2 at 19:52














0












0








0








I've built a script to install a bunch of packages with homebrew. The script's available here.



When installing packages that has options, such as --with-default-names I get a warning like this:



warning: gnu-indent: this formula has no --with-default-names option so it will be ignored!


If I check the site, --with-default-names is a valid option.



If I run brew info gnu-indent I get the following output (nothing about --with-default-names).



gnu-indent: stable 2.2.12 (bottled)
C code prettifier
https://www.gnu.org/software/indent/
/usr/local/Cellar/gnu-indent/2.2.12 (47 files, 598.3KB) *
Poured from bottle on 2019-02-02 at 10:18:03
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnu-indent.rb
==> Dependencies
Required: gettext ✔
==> Caveats
GNU "indent" has been installed as "gindent".
If you need to use it as "indent", you can add a "gnubin" directory
to your PATH from your bashrc like:

PATH="/usr/local/opt/gnu-indent/libexec/gnubin:$PATH"
==> Analytics
install: 1,421 (30 days), 3,893 (90 days), 14,931 (365 days)
install_on_request: 1,325 (30 days), 3,584 (90 days), 13,848 (365 days)
build_error: 0 (30 days)


I've tried brew doctor (no warnings), uninstall Homebrew, and different syntaxes, without prevail. I've also used each command directly on the command line (outside the script), with the same results.
Note that I get error for all packages for which I use options.










share|improve this question
















I've built a script to install a bunch of packages with homebrew. The script's available here.



When installing packages that has options, such as --with-default-names I get a warning like this:



warning: gnu-indent: this formula has no --with-default-names option so it will be ignored!


If I check the site, --with-default-names is a valid option.



If I run brew info gnu-indent I get the following output (nothing about --with-default-names).



gnu-indent: stable 2.2.12 (bottled)
C code prettifier
https://www.gnu.org/software/indent/
/usr/local/Cellar/gnu-indent/2.2.12 (47 files, 598.3KB) *
Poured from bottle on 2019-02-02 at 10:18:03
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnu-indent.rb
==> Dependencies
Required: gettext ✔
==> Caveats
GNU "indent" has been installed as "gindent".
If you need to use it as "indent", you can add a "gnubin" directory
to your PATH from your bashrc like:

PATH="/usr/local/opt/gnu-indent/libexec/gnubin:$PATH"
==> Analytics
install: 1,421 (30 days), 3,893 (90 days), 14,931 (365 days)
install_on_request: 1,325 (30 days), 3,584 (90 days), 13,848 (365 days)
build_error: 0 (30 days)


I've tried brew doctor (no warnings), uninstall Homebrew, and different syntaxes, without prevail. I've also used each command directly on the command line (outside the script), with the same results.
Note that I get error for all packages for which I use options.







macos homebrew






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 at 14:15







Max

















asked Feb 2 at 9:33









MaxMax

479




479













  • If the formula does not list this option, what makes you think it's a valid option to pass?

    – slhck
    Feb 2 at 11:00











  • Check the link above. There the option is listed. It's also used in several guides on how to install GNU command line tools on macOS, such as this.

    – Max
    Feb 2 at 11:51











  • The option obviously does not exist anymore.

    – Daniel B
    Feb 2 at 19:52



















  • If the formula does not list this option, what makes you think it's a valid option to pass?

    – slhck
    Feb 2 at 11:00











  • Check the link above. There the option is listed. It's also used in several guides on how to install GNU command line tools on macOS, such as this.

    – Max
    Feb 2 at 11:51











  • The option obviously does not exist anymore.

    – Daniel B
    Feb 2 at 19:52

















If the formula does not list this option, what makes you think it's a valid option to pass?

– slhck
Feb 2 at 11:00





If the formula does not list this option, what makes you think it's a valid option to pass?

– slhck
Feb 2 at 11:00













Check the link above. There the option is listed. It's also used in several guides on how to install GNU command line tools on macOS, such as this.

– Max
Feb 2 at 11:51





Check the link above. There the option is listed. It's also used in several guides on how to install GNU command line tools on macOS, such as this.

– Max
Feb 2 at 11:51













The option obviously does not exist anymore.

– Daniel B
Feb 2 at 19:52





The option obviously does not exist anymore.

– Daniel B
Feb 2 at 19:52










1 Answer
1






active

oldest

votes


















1














Options are going away for core formulae.



You could use brew edit to edit the formula to your liking. You might have to remove the bottle.






share|improve this answer
























  • Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

    – Max
    Feb 2 at 21:44











  • The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

    – Daniel B
    Feb 2 at 23:37











  • Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

    – Max
    Feb 3 at 8:12











  • A link to the affected commits in the beginning of January 2019, if anyone's interested.

    – Max
    Feb 3 at 8:18












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401274%2fhomebrew-not-accepting-valid-options%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Options are going away for core formulae.



You could use brew edit to edit the formula to your liking. You might have to remove the bottle.






share|improve this answer
























  • Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

    – Max
    Feb 2 at 21:44











  • The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

    – Daniel B
    Feb 2 at 23:37











  • Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

    – Max
    Feb 3 at 8:12











  • A link to the affected commits in the beginning of January 2019, if anyone's interested.

    – Max
    Feb 3 at 8:18
















1














Options are going away for core formulae.



You could use brew edit to edit the formula to your liking. You might have to remove the bottle.






share|improve this answer
























  • Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

    – Max
    Feb 2 at 21:44











  • The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

    – Daniel B
    Feb 2 at 23:37











  • Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

    – Max
    Feb 3 at 8:12











  • A link to the affected commits in the beginning of January 2019, if anyone's interested.

    – Max
    Feb 3 at 8:18














1












1








1







Options are going away for core formulae.



You could use brew edit to edit the formula to your liking. You might have to remove the bottle.






share|improve this answer













Options are going away for core formulae.



You could use brew edit to edit the formula to your liking. You might have to remove the bottle.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 2 at 20:01









Daniel BDaniel B

34.6k76587




34.6k76587













  • Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

    – Max
    Feb 2 at 21:44











  • The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

    – Daniel B
    Feb 2 at 23:37











  • Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

    – Max
    Feb 3 at 8:12











  • A link to the affected commits in the beginning of January 2019, if anyone's interested.

    – Max
    Feb 3 at 8:18



















  • Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

    – Max
    Feb 2 at 21:44











  • The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

    – Daniel B
    Feb 2 at 23:37











  • Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

    – Max
    Feb 3 at 8:12











  • A link to the affected commits in the beginning of January 2019, if anyone's interested.

    – Max
    Feb 3 at 8:18

















Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

– Max
Feb 2 at 21:44





Yes, that's seems to be the case. Confusing for me as I'm not very into how HomeBrew works, as the options are still among the most downloaded on the formulae.brew.sh site. The options must have been removed recently.

– Max
Feb 2 at 21:44













The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

– Daniel B
Feb 2 at 23:37





The option was removed on Jan 5, that’s why installs are still showing up in the 30-days statistic.

– Daniel B
Feb 2 at 23:37













Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

– Max
Feb 3 at 8:12





Ok, I've searched now and can see that the option --with-default-names has been removed by the same time. Now I've learnt some about HomeBrew at least.

– Max
Feb 3 at 8:12













A link to the affected commits in the beginning of January 2019, if anyone's interested.

– Max
Feb 3 at 8:18





A link to the affected commits in the beginning of January 2019, if anyone's interested.

– Max
Feb 3 at 8:18


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401274%2fhomebrew-not-accepting-valid-options%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...