Skip to content

Instantly share code, notes, and snippets.

@echosa
Created July 30, 2012 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save echosa/3208484 to your computer and use it in GitHub Desktop.
Save echosa/3208484 to your computer and use it in GitHub Desktop.
Mac OS X Homebrew doctor error on par2tbb.rb formula
$ brew --config
HOMEBREW_VERSION: 0.9.2
HEAD: 2814e3a9fa88acf262062a26af15d87dc9f572d6
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: 2.7.2 @ /opt/X11
System Ruby: 1.8.7-358
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/me/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
$ brew doctor
Error: /usr/local/Library/Formula/par2tbb.rb:11: syntax error, unexpected tSTRING_BEG, expecting kEND
:because "par2tbb and par2 install the same binaries."
^
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/usr/local/Library/Homebrew/formula.rb:390:in `require'
/usr/local/Library/Homebrew/formula.rb:390:in `factory'
/usr/local/Library/Homebrew/formula.rb:311:in `each'
/usr/local/Library/Homebrew/formula.rb:309:in `each'
/usr/local/Library/Homebrew/formula.rb:305:in `map'
/usr/local/Library/Homebrew/formula.rb:301:in `all'
/usr/local/Library/Homebrew/cmd/doctor.rb:718:in `check_for_linked_kegonly_brews'
/usr/local/Library/Homebrew/cmd/doctor.rb:937:in `send'
/usr/local/Library/Homebrew/cmd/doctor.rb:937:in `doctor'
/usr/local/Library/Homebrew/cmd/doctor.rb:936:in `each'
/usr/local/Library/Homebrew/cmd/doctor.rb:936:in `doctor'
/usr/local/bin/brew:80:in `send'
/usr/local/bin/brew:80
@marcellodesales
Copy link

Did you get this working?

mdesales:bin mdesales$ brew doctor
Error: /usr/local/homebrew/Library/Formula/par2tbb.rb:11: syntax error, unexpected tSTRING_BEG, expecting kEND
:because "par2tbb and par2 install the same binaries."
^
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/usr/local/homebrew/Library/Homebrew/formula.rb:390:in require' /usr/local/homebrew/Library/Homebrew/formula.rb:390:infactory'
/usr/local/homebrew/Library/Homebrew/formula.rb:311:in each' /usr/local/homebrew/Library/Homebrew/formula.rb:309:ineach'
/usr/local/homebrew/Library/Homebrew/formula.rb:305:in map' /usr/local/homebrew/Library/Homebrew/formula.rb:301:inall'
/usr/local/homebrew/Library/Homebrew/cmd/doctor.rb:718:in check_for_linked_kegonly_brews' /usr/local/homebrew/Library/Homebrew/cmd/doctor.rb:937:insend'
/usr/local/homebrew/Library/Homebrew/cmd/doctor.rb:937:in doctor' /usr/local/homebrew/Library/Homebrew/cmd/doctor.rb:936:ineach'
/usr/local/homebrew/Library/Homebrew/cmd/doctor.rb:936:in doctor' /usr/local/bin/brew:80:insend'
/usr/local/bin/brew:80
01637a-mdesales:bin mdesales$ brew --config
HOMEBREW_VERSION: 0.9.2
HEAD: a436c86c330d1b6bcc3d1ed7b4de6788aee6ed76
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/homebrew/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.7.4-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: 2.6.4 @ /usr/X11
System Ruby: 1.8.7-357
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

@echosa
Copy link
Author

echosa commented Jul 30, 2012

The homebrew guys fixed the issue. Just update brew and you'll be good to go.

@marcellodesales
Copy link

Awesome! Just did it!!! Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment