Open
Description
Hopefully this is an easy fix. I had not interacted with brew for several months. This morning I tried an update / upgrade cycle, and got the following error:
$ brew upgrade
Error: Calling needs :cxx11 is disabled! There is no replacement.
Please report this to the caskformula/caskformula tap:
/usr/local/Homebrew/Library/Taps/caskformula/homebrew-caskformula/Formula/inkscape.rb:49
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/caskformula/homebrew-caskformula/issues
Similar errors show up with other brew commands (e.g. brew missing).
I have no idea if this is a brew issue or an inkscape issue. Hopefully the solution is to flip a switch re-enabling cxx11 but I have no idea how to do that.
$ brew --version
Homebrew 1.9.3-34-gede58e8
Homebrew/homebrew-core (git revision 4851f; last commit 2019-01-27)
Homebrew/homebrew-cask (git revision 5e2ad; last commit 2019-01-27)
OS X 10.14.2
Activity
nelishiba commentedon Jan 28, 2019
Could you execute the following command?
The error message will disappear, and you can
brew upgrade
.crisluengo commentedon Jan 28, 2019
I tried installing Inkscape through Homebrew, and got the above error message.
brew untap ...; brew doctor
did not solve the problem.I have updated Homebrew to the latest version, and am on macOS High Sierra (10.13.6), with Xcode up to date.
lilchurro commentedon Jan 28, 2019
FWIW, that process did resolve the error message for me.
steve-the-bayesian commentedon Jan 28, 2019
diek commentedon Jan 31, 2019
$ brew untap caskformula/caskformula
$ brew doctor
worked perfectly for me, resolved the error
keyunjie96 commentedon Feb 2, 2019
Same here.
OSX 10.14.2 (18C54)
pmalekn commentedon Feb 3, 2019
This didn't solve the problem for me:
melMass commentedon Feb 3, 2019
Removing the tap or formula isn't really an answer, how do we replace the old
needs: cxx11
&ENV.cxx11
for formula maintainers?kradydal commentedon Feb 4, 2019
I can't uninstall inkscape
pmalekn commentedon Feb 4, 2019
For me commenting out the offending line
from
/usr/local/Homebrew/Library/Taps/hybridgroup/homebrew-tools/opencv.rb
worked but I'm not sure how's that for a reliable solution.wwwvalpe commentedon Feb 5, 2019
After doing
then
$brew tap caskformula/caskformula
and I'm back to the same problem:
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskformula/homebrew-caskformula/Formula/inkscape.rb Calling needs :cxx11 is disabled! There is no replacement. Please report this to the caskformula/caskformula tap: /usr/local/Homebrew/Library/Taps/caskformula/homebrew-caskformula/Formula/inkscape.rb:49
need :cxx11
issue was just fixed in opencv.rb, probably has to be done in similar way now for inkscape.rbUpdate:
I don't know if it’s smart, forgive a newbie, but after suggestion here I was doing the following I could get inscape.
I have commented out need :cxx11 in the inkscape.rb, by doing a fork on github. Now it worked for me
wecurse commentedon Feb 5, 2019
@melMass Came here for the same reason.
For me, it was a custom alembic formula that depended on needs: cxx11
The
needs: cxx11
is actually no longer needed to useENV.cxx11
if you are using a custom formula just delete it, else ask the maintainer.Cheers
melMass commentedon Feb 5, 2019
Thanks @wecurse yes it does work by just removing the first.
18 remaining items