10

How can I fix the problem below ?

$ brew update && brew upgrade
Already up-to-date.
Error: Calling needs :cxx11 is disabled! There is no replacement.
Please report this to the weikengchen/caskformula tap:
  /usr/local/Homebrew/Library/Taps/weikengchen/homebrew-caskformula/Formula/inkscape.rb:31

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/weikengchen/homebrew-caskformula/issues
Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
DevonDahon
  • 7,460
  • 6
  • 69
  • 114

2 Answers2

10

Both the taps caskformula/caskformula and weikengchen/caskformula (possibly others?) seem to cause this problem. To list your current taps, run

brew tap

Now untap the suspicious repository:

brew untap caskformula/caskformula # This worked for me

Run brew doctor to check for issues after removing caskformula. If there are issues, follow the recommendations.

Finally update repositories and upgrade software:

brew update

brew upgrade

Some more info in this issue on github:

https://github.com/caskformula/homebrew-caskformula/issues/74

jonasfh
  • 4,151
  • 2
  • 21
  • 37
8

This finally fixed my problem:

brew untap weikengchen/caskformula
brew update && brew upgrade
DevonDahon
  • 7,460
  • 6
  • 69
  • 114
  • Which Inkscape version does this yield? – Moini Feb 06 '19 at 13:20
  • 2
    I deleted `/usr/local/Homebrew/Library/Taps/caskformula/homebrew-caskformula/Formula/inkscape.rb`, which at least seems to let med run update and upgrade – Greger Feb 12 '19 at 13:45