Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.97k stars 11.34k forks source link

brew doctor error #21002

Closed yishenggudou closed 11 years ago

yishenggudou commented 11 years ago

I can't run brew doctor

Error: uninitialized constant MacOS::CLT::STANDALONE_PKG_PATH
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/macos.rb:44:in `dev_tools_path'
/usr/local/Library/Homebrew/os/mac/xcode.rb:153:in `installed?'
/usr/local/Library/Homebrew/cmd/doctor.rb:267:in `check_cc'
/usr/local/Library/Homebrew/cmd/doctor.rb:1098:in `send'
/usr/local/Library/Homebrew/cmd/doctor.rb:1098:in `doctor'
/usr/local/Library/Homebrew/cmd/doctor.rb:1097:in `each'
/usr/local/Library/Homebrew/cmd/doctor.rb:1097:in `doctor'
/usr/local/Library/brew.rb:95:in `send'
/usr/local/Library/brew.rb:95
adamv commented 11 years ago

Does brew --config work?

yishenggudou commented 11 years ago
timgers-MacBook-Air:letvlog timger$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: f35724c20ac55d38004fd325420ae1d7800334f3
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.4-x86_64
Xcode: 4.6.1
Error: uninitialized constant MacOS::CLT::STANDALONE_PKG_PATH
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/macos.rb:44:in `dev_tools_path'
/usr/local/Library/Homebrew/os/mac/xcode.rb:153:in `installed?'
/usr/local/Library/Homebrew/cmd/--config.rb:45:in `clt'
/usr/local/Library/Homebrew/cmd/--config.rb:141:in `dump_verbose_config'
/usr/local/Library/Homebrew/cmd/--config.rb:8:in `__config'
/usr/local/Library/brew.rb:95:in `send'
/usr/local/Library/brew.rb:95
mistydemeo commented 11 years ago

Something may be wrong in your Homebrew git clone. Do this:

cd /usr/local
git status

If it tells you about uncommitted changes or untracked files, do the following:

git reset --hard origin/master
git clean -df

Be warned that that will clean out all local changes you've made to Homebrew, so back up any custom formulae you've created (if there are any).

yishenggudou commented 11 years ago
timgers-MacBook-Air:local timger$ git status
warning: unable to access 'Library/Formula/.gitignore': Permission denied
# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#   modified:   Library/Aliases/fishfish
#   deleted:    Library/Aliases/ree
#   modified:   Library/Contributions/brew_bash_completion.sh
#   modified:   Library/Contributions/brew_zsh_completion.zsh
#   modified:   Library/Contributions/cmd/brew-aspell-dictionaries
#   modified:   Library/Contributions/cmd/brew-graph
#   modified:   Library/Contributions/cmd/brew-linkapps.rb
#   modified:   Library/Contributions/cmd/brew-ls-taps.rb
#   modified:   Library/Contributions/cmd/brew-pull.rb
#   modified:   Library/Contributions/cmd/brew-server
#   modified:   Library/Contributions/cmd/brew-test-bot.rb
#   modified:   Library/Contributions/cmd/brew-unpack.rb
#   modified:   Library/Contributions/manpages/brew.1.md
#   modified:   Library/Formula/aamath.rb
#   modified:   Library/Formula/abcde.rb
#   modified:   Library/Formula/abcm2ps.rb
#   modified:   Library/Formula/abcmidi.rb
#   modified:   Library/Formula/ace.rb
#   modified:   Library/Formula/ack.rb
#   modified:   Library/Formula/adobe-air-sdk.rb
#   modified:   Library/Formula/agedu.rb
#   modified:   Library/Formula/alac.rb
#   modified:   Library/Formula/android-sdk.rb
#   modified:   Library/Formula/antiword.rb
#   modified:   Library/Formula/anttweakbar.rb
#   modified:   Library/Formula/apktool.rb
#   modified:   Library/Formula/aplus.rb
#   modified:   Library/Formula/apollo.rb
#   modified:   Library/Formula/app-engine-java-sdk.rb
#   modified:   Library/Formula/appledoc.rb
#   modified:   Library/Formula/apt-dater.rb
#   modified:   Library/Formula/arabica.rb
#   modified:   Library/Formula/arangodb.rb
#   modified:   Library/Formula/aria2.rb
#   modified:   Library/Formula/aspell.rb
#   modified:   Library/Formula/assimp.rb
#   modified:   Library/Formula/astyle.rb
#   modified:   Library/Formula/asymptote.rb
#   modified:   Library/Formula/autoenv.rb
#   modified:   Library/Formula/autojump.rb
#   modified:   Library/Formula/automake.rb
#   modified:   Library/Formula/autopano-sift-c.rb
#   modified:   Library/Formula/avian.rb
#   modified:   Library/Formula/avidemux.rb
#   modified:   Library/Formula/avra.rb
#   modified:   Library/Formula/axel.rb
#   modified:   Library/Formula/bagit.rb
#   modified:   Library/Formula/base64.rb
#   modified:   Library/Formula/basex.rb
#   modified:   Library/Formula/bazaar.rb
#   modified:   Library/Formula/beecrypt.rb
#   modified:   Library/Formula/berkeley-db.rb
#   modified:   Library/Formula/bibutils.rb
#   modified:   Library/Formula/bind.rb
#   modified:   Library/Formula/blitz.rb
#   modified:   Library/Formula/bogofilter.rb
#   modified:   Library/Formula/boost.rb
#   modified:   Library/Formula/boost149.rb
#   modified:   Library/Formula/botan.rb
#   modified:   Library/Formula/bpm-tools.rb
#   modified:   Library/Formula/bsdconv.rb
#   modified:   Library/Formula/bsdsfv.rb
#   modified:   Library/Formula/bsponmpi.rb
#   modified:   Library/Formula/bulk_extractor.rb
#   modified:   Library/Formula/bup.rb
#   modified:   Library/Formula/byobu.rb
#   modified:   Library/Formula/c-ares.rb
#   modified:   Library/Formula/cabal-install.rb
#   modified:   Library/Formula/cairo.rb
#   modified:   Library/Formula/cairomm.rb
#   modified:   Library/Formula/camlp5.rb
#   modified:   Library/Formula/cantera.rb
#   modified:   Library/Formula/cassandra.rb
#   modified:   Library/Formula/caudec.rb
#   modified:   Library/Formula/cbmbasic.rb
#   modified:   Library/Formula/ccache.rb
#   modified:   Library/Formula/ccextractor.rb
#   modified:   Library/Formula/cclive.rb
#   modified:   Library/Formula/ccrypt.rb
#   modified:   Library/Formula/cdo.rb
#   modified:   Library/Formula/cfengine.rb
#   modified:   Library/Formula/cfitsio.rb
#   modified:   Library/Formula/cgal.rb
#   modified:   Library/Formula/chcase.rb
#   modified:   Library/Formula/check.rb
#   modified:   Library/Formula/checkstyle.rb
#   modified:   Library/Formula/cherokee.rb
#   modified:   Library/Formula/chicken.rb
#   modified:   Library/Formula/chkrootkit.rb
#   modified:   Library/Formula/chruby.rb
#   modified:   Library/Formula/cimg.rb
#   modified:   Library/Formula/clasp.rb
#   modified:   Library/Formula/cloc.rb
#   modified:   Library/Formula/clojure.rb
#   modified:   Library/Formula/cloog.rb
#   modified:   Library/Formula/closure-compiler.rb
#   modified:   Library/Formula/clpbar.rb
#   modified:   Library/Formula/cmake.rb
#   modified:   Library/Formula/cmu-pocketsphinx.rb
#   modified:   Library/Formula/cmu-sphinxbase.rb
#   modified:   Library/Formula/cntlm.rb
#   modified:   Library/Formula/collada-dom.rb
#   modified:   Library/Formula/collectd.rb
#   modified:   Library/Formula/concurrencykit.rb
#   modified:   Library/Formula/couchdb.rb
#   modified:   Library/Formula/cpanminus.rb
#   modified:   Library/Formula/cppcheck.rb
#   modified:   Library/Formula/cpputest.rb
#   modified:   Library/Formula/cracklib.rb
#   modified:   Library/Formula/crash.rb
#   modified:   Library/Formula/crosstool-ng.rb
#   modified:   Library/Formula/crush-tools.rb
#   modified:   Library/Formula/cscope.rb
#   modified:   Library/Formula/css-crush.rb
#   modified:   Library/Formula/ctemplate.rb
#   modified:   Library/Formula/ctl.rb
#   modified:   Library/Formula/cvs2svn.rb
#   modified:   Library/Formula/cyassl.rb
#   modified:   Library/Formula/dar.rb
#   modified:   Library/Formula/dart.rb
#   modified:   Library/Formula/dasm.rb
#   modified:   Library/Formula/ddclient.rb
#   modified:   Library/Formula/denominator.rb
#   modified:   Library/Formula/denyhosts.rb
#   modified:   Library/Formula/dfu-programmer.rb
#   modified:   Library/Formula/diffuse.rb
#   modified:   Library/Formula/direnv.rb
#   modified:   Library/Formula/disco.rb
#   modified:   Library/Formula/discodex.rb
#   modified:   Library/Formula/distcc.rb
#   modified:   Library/Formula/djview4.rb
#   modified:   Library/Formula/djvulibre.rb
#   modified:   Library/Formula/dmd.rb
#   modified:   Library/Formula/dnscrypt-proxy.rb
#   modified:   Library/Formula/dnsmasq.rb
#   modified:   Library/Formula/docbook.rb
#   modified:   Library/Formula/dotwrp.rb
#   modified:   Library/Formula/dovecot.rb
#   modified:   Library/Formula/doxygen.rb
#   modified:   Library/Formula/drizzle.rb
#   modified:   Library/Formula/drush.rb
#   modified:   Library/Formula/duplicity.rb
#   modified:   Library/Formula/duply.rb
#   modified:   Library/Formula/dylibbundler.rb
#   modified:   Library/Formula/dynamips.rb
#   modified:   Library/Formula/ecl.rb
#   modified:   Library/Formula/editorconfig.rb
#   modified:   Library/Formula/eet.rb
#   modified:   Library/Formula/eina.rb
#   modified:   Library/Formula/elasticsearch.rb
#   modified:   Library/Formula/elixir.rb
#   modified:   Library/Formula/emacs.rb
#   modified:   Library/Formula/embryo.rb
#   modified:   Library/Formula/enchant.rb
#   modified:   Library/Formula/engine_pkcs11.rb
#   modified:   Library/Formula/enscript.rb
#   modified:   Library/Formula/epsilon.rb
#   modified:   Library/Formula/epubcheck.rb
#   modified:   Library/Formula/erlang.rb
#   modified:   Library/Formula/exif.rb
#   modified:   Library/Formula/exiftool.rb
#   modified:   Library/Formula/exim.rb
#   modified:   Library/Formula/exodriver.rb
#   modified:   Library/Formula/ext2fuse.rb
#   modified:   Library/Formula/fail2ban.rb
#   modified:   Library/Formula/fantom.rb
#   modified:   Library/Formula/fatsort.rb
#   modified:   Library/Formula/fdk-aac.rb
#   modified:   Library/Formula/feh.rb
#   modified:   Library/Formula/fftw.rb
#   modified:   Library/Formula/finch.rb
#   modified:   Library/Formula/findbugs.rb
#   modified:   Library/Formula/flac.rb
#   modified:   Library/Formula/flactag.rb
#   modified:   Library/Formula/fluid-synth.rb
#   modified:   Library/Formula/fontconfig.rb
#   modified:   Library/Formula/fontforge.rb
#   modified:   Library/Formula/fossil.rb
#   modified:   Library/Formula/fox.rb
#   modified:   Library/Formula/fping.rb
#   modified:   Library/Formula/freeglut.rb
#   modified:   Library/Formula/fsh.rb
#   modified:   Library/Formula/ftimes.rb
#   modified:   Library/Formula/ftjam.rb
#   modified:   Library/Formula/fuse4x-kext.rb
#   modified:   Library/Formula/gaul.rb
#   modified:   Library/Formula/gcutil.rb
#   modified:   Library/Formula/gd.rb
#   modified:   Library/Formula/gdal.rb
#   modified:   Library/Formula/gearman.rb
#   modified:   Library/Formula/geocouch.rb
#   modified:   Library/Formula/geoip.rb
#   modified:   Library/Formula/geomview.rb
#   modified:   Library/Formula/geoserver.rb
#   modified:   Library/Formula/getmail.rb
#   modified:   Library/Formula/gettext.rb
#   modified:   Library/Formula/gfortran.rb
#   modified:   Library/Formula/ghc.rb
#   modified:   Library/Formula/ghostscript.rb
#   modified:   Library/Formula/gistit.rb
#   modified:   Library/Formula/git-cola.rb
#   modified:   Library/Formula/git-extras.rb
#   modified:   Library/Formula/git-flow-avh.rb
#   modified:   Library/Formula/git-flow.rb
#   modified:   Library/Formula/git-ftp.rb
#   modified:   Library/Formula/git-multipush.rb
#   modified:   Library/Formula/git-now.rb
#   modified:   Library/Formula/git-tracker.rb
#   modified:   Library/Formula/git.rb
#   modified:   Library/Formula/glade.rb
#   modified:   Library/Formula/glassfish.rb
#   modified:   Library/Formula/glfw.rb
#   modified:   Library/Formula/glib.rb
#   modified:   Library/Formula/glm.rb
#   modified:   Library/Formula/gmp.rb
#   modified:   Library/Formula/gnome-doc-utils.rb
#   modified:   Library/Formula/gnu-getopt.rb
#   modified:   Library/Formula/gnu-prolog.rb
#   modified:   Library/Formula/gnu-sed.rb
#   modified:   Library/Formula/gnu-smalltalk.rb
#   modified:   Library/Formula/gnupg2.rb
#   modified:   Library/Formula/gnuplot.rb
#   deleted:    Library/Formula/gnutls2.rb
#   modified:   Library/Formula/go-app-engine-32.rb
#   modified:   Library/Formula/go-app-engine-64.rb
#   modified:   Library/Formula/go.rb
#   modified:   Library/Formula/goaccess.rb
#   modified:   Library/Formula/gobby.rb
#   modified:   Library/Formula/google-app-engine.rb
#   modified:   Library/Formula/gpac.rb
#   modified:   Library/Formula/gpg-agent.rb
#   modified:   Library/Formula/gphoto2.rb
#   modified:   Library/Formula/gplcver.rb
#   modified:   Library/Formula/gpsim.rb
#   modified:   Library/Formula/gptfdisk.rb
#   modified:   Library/Formula/gputils.rb
#   modified:   Library/Formula/grails.rb
#   modified:   Library/Formula/graphviz.rb
#   modified:   Library/Formula/grass.rb
#   modified:   Library/Formula/grc.rb
#   modified:   Library/Formula/grib-api.rb
#   modified:   Library/Formula/groonga-normalizer-mysql.rb
#   modified:   Library/Formula/groonga.rb
#   modified:   Library/Formula/groovy.rb
#   modified:   Library/Formula/gsmartcontrol.rb
#   modified:   Library/Formula/gsoap.rb
#   modified:   Library/Formula/gti.rb
#   modified:   Library/Formula/gtk+.rb
#   modified:   Library/Formula/gtk+3.rb
#   modified:   Library/Formula/gtk-doc.rb
#   modified:   Library/Formula/gtk-gnutella.rb
#   modified:   Library/Formula/gtkmm.rb
#   modified:   Library/Formula/gtkmm3.rb
#   modified:   Library/Formula/gtmess.rb
#   modified:   Library/Formula/haproxy.rb
#   modified:   Library/Formula/harfbuzz.rb
#   modified:   Library/Formula/haskell-platform.rb
#   modified:   Library/Formula/hatari.rb
#   modified:   Library/Formula/hbase.rb
#   modified:   Library/Formula/hdf5.rb
#   modified:   Library/Formula/help2man.rb
#   modified:   Library/Formula/heroku-toolbelt.rb
#   modified:   Library/Formula/hg-flow.rb
#   modified:   Library/Formula/highlight.rb
#   modified:   Library/Formula/ht.rb
#   modified:   Library/Formula/html-xml-utils.rb
#   modified:   Library/Formula/htpdate.rb
#   modified:   Library/Formula/hub.rb
#   modified:   Library/Formula/iat.rb
#   modified:   Library/Formula/ical-buddy.rb
#   modified:   Library/Formula/ice.rb
#   modified:   Library/Formula/idnits.rb
#   modified:   Library/Formula/imagemagick.rb
#   modified:   Library/Formula/imapfilter.rb
#   modified:   Library/Formula/inkscape.rb
#   modified:   Library/Formula/inspircd.rb
#   modified:   Library/Formula/io.rb
#   modified:   Library/Formula/ios-webkit-debug-proxy.rb
#   modified:   Library/Formula/iozone.rb
#   modified:   Library/Formula/ipe.rb
#   modified:   Library/Formula/ipmiutil.rb
#   modified:   Library/Formula/ipopt.rb
#   modified:   Library/Formula/ipv6calc.rb
#   modified:   Library/Formula/ircd-hybrid.rb
#   modified:   Library/Formula/ispc.rb
#   modified:   Library/Formula/jags.rb
#   modified:   Library/Formula/jailkit.rb
#   modified:   Library/Formula/jbig2dec.rb
#   modified:   Library/Formula/jboss-forge.rb
#   modified:   Library/Formula/jemalloc.rb
#   modified:   Library/Formula/jenkins.rb
#   modified:   Library/Formula/jp2a.rb
#   modified:   Library/Formula/jpeg-turbo.rb
#   modified:   Library/Formula/jq.rb
#   modified:   Library/Formula/jshon.rb
#   modified:   Library/Formula/jslint4java.rb
#   modified:   Library/Formula/json-c.rb
#   modified:   Library/Formula/jstalk.rb
#   modified:   Library/Formula/justniffer.rb
#   modified:   Library/Formula/kbtin.rb
#   modified:   Library/Formula/konoha.rb
#   modified:   Library/Formula/ktoblzcheck.rb
#   modified:   Library/Formula/languagetool.rb
#   modified:   Library/Formula/lasi.rb
#   modified:   Library/Formula/lastfmlib.rb
#   modified:   Library/Formula/latex-mk.rb
#   modified:   Library/Formula/latex2html.rb
#   modified:   Library/Formula/lcdf-typetools.rb
#   modified:   Library/Formula/ldns.rb
#   modified:   Library/Formula/leafnode.rb
#   modified:   Library/Formula/ledger.rb
#   modified:   Library/Formula/leiningen.rb
#   modified:   Library/Formula/lesspipe.rb
#   modified:   Library/Formula/lesstif.rb
#   modified:   Library/Formula/leveldb.rb
#   modified:   Library/Formula/lftp.rb
#   modified:   Library/Formula/libcaca.rb
#   modified:   Library/Formula/libdnet.rb
#   modified:   Library/Formula/libechonest.rb
#   modified:   Library/Formula/libexif.rb
#   modified:   Library/Formula/libgaiagraphics.rb
#   modified:   Library/Formula/libgphoto2.rb
#   modified:   Library/Formula/libhid.rb
#   modified:   Library/Formula/libical.rb
#   modified:   Library/Formula/libidn.rb
#   modified:   Library/Formula/libiptcdata.rb
#   modified:   Library/Formula/libkml.rb
#   modified:   Library/Formula/liblo.rb
#   modified:   Library/Formula/liblunar.rb
#   modified:   Library/Formula/libmagic.rb
#   modified:   Library/Formula/libmikmod.rb
#   modified:   Library/Formula/libming.rb
#   modified:   Library/Formula/libmp3splt.rb
#   modified:   Library/Formula/libmtp.rb
#   modified:   Library/Formula/libmxml.rb
#   modified:   Library/Formula/libnet.rb
#   modified:   Library/Formula/liboauth.rb
#   modified:   Library/Formula/libodbc++.rb
#   modified:   Library/Formula/libofx.rb
#   modified:   Library/Formula/libp11.rb
#   modified:   Library/Formula/libplist.rb
#   modified:   Library/Formula/libpng.rb
#   modified:   Library/Formula/libpst.rb
#   modified:   Library/Formula/libpurple.rb
#   modified:   Library/Formula/libqalculate.rb
#   modified:   Library/Formula/libqglviewer.rb
#   modified:   Library/Formula/libquvi.rb
#   modified:   Library/Formula/librasterlite.rb
#   modified:   Library/Formula/librsvg.rb
#   modified:   Library/Formula/libslax.rb
#   modified:   Library/Formula/libspatialite.rb
#   modified:   Library/Formula/libstfl.rb
#   modified:   Library/Formula/libstxxl.rb
#   modified:   Library/Formula/libswiften.rb
#   modified:   Library/Formula/libtrace.rb
#   modified:   Library/Formula/libusb-compat.rb
#   modified:   Library/Formula/libusbx.rb
#   modified:   Library/Formula/libusrsctp.rb
#   modified:   Library/Formula/libuv.rb
#   modified:   Library/Formula/libvbucket.rb
#   modified:   Library/Formula/libvirt.rb
#   modified:   Library/Formula/libvo-aacenc.rb
#   modified:   Library/Formula/libwbxml.rb
#   modified:   Library/Formula/libwebsockets.rb
#   modified:   Library/Formula/libwpg.rb
#   modified:   Library/Formula/libwps.rb
#   modified:   Library/Formula/libxml2.rb
#   modified:   Library/Formula/libxmp.rb
#   modified:   Library/Formula/libyaml.rb
#   modified:   Library/Formula/libyubikey.rb
#   modified:   Library/Formula/libzdb.rb
#   modified:   Library/Formula/lifelines.rb
#   modified:   Library/Formula/lilypond.rb
#   modified:   Library/Formula/little-cms.rb
#   modified:   Library/Formula/little-cms2.rb
#   modified:   Library/Formula/llvm.rb
#   modified:   Library/Formula/log4c.rb
#   modified:   Library/Formula/log4cplus.rb
#   modified:   Library/Formula/log4cpp.rb
#   modified:   Library/Formula/logentries.rb
#   modified:   Library/Formula/lorem.rb
#   modified:   Library/Formula/lpc21isp.rb
#   modified:   Library/Formula/lua.rb
#   modified:   Library/Formula/luajit.rb
#   modified:   Library/Formula/luarocks.rb
#   modified:   Library/Formula/luciddb.rb
#   modified:   Library/Formula/lv2.rb
#   modified:   Library/Formula/lzlib.rb
#   modified:   Library/Formula/macvim.rb
#   modified:   Library/Formula/makepp.rb
#   modified:   Library/Formula/mapnik.rb
#   modified:   Library/Formula/mapserver.rb
#   modified:   Library/Formula/mariadb.rb
#   modified:   Library/Formula/mcrypt.rb
#   modified:   Library/Formula/md5deep.rb
#   modified:   Library/Formula/media-info.rb
#   modified:   Library/Formula/mediatomb.rb
#   modified:   Library/Formula/mercurial.rb
#   modified:   Library/Formula/mess.rb
#   modified:   Library/Formula/metaproxy.rb
#   modified:   Library/Formula/minicom.rb
#   modified:   Library/Formula/minidjvu.rb
#   modified:   Library/Formula/miniupnpc.rb
#   modified:   Library/Formula/mkclean.rb
#   modified:   Library/Formula/mon.rb
#   modified:   Library/Formula/monetdb.rb
#   modified:   Library/Formula/mongodb.rb
#   modified:   Library/Formula/monit.rb
#   modified:   Library/Formula/mp3fs.rb
#   modified:   Library/Formula/mp3gain.rb
#   modified:   Library/Formula/mp3splt.rb
#   modified:   Library/Formula/mp4v2.rb
#   modified:   Library/Formula/mpc.rb
#   modified:   Library/Formula/mpd.rb
#   modified:   Library/Formula/mpg123.rb
#   modified:   Library/Formula/mpg321.rb
#   modified:   Library/Formula/mpgtx.rb
#   modified:   Library/Formula/mpich2.rb
#   modified:   Library/Formula/mpio.rb
#   modified:   Library/Formula/mr.rb
#   modified:   Library/Formula/msgpack.rb
#   modified:   Library/Formula/msmtp.rb
#   modified:   Library/Formula/mspdebug.rb
#   modified:   Library/Formula/multimarkdown.rb
#   modified:   Library/Formula/muparser.rb
#   modified:   Library/Formula/mupdf.rb
#   modified:   Library/Formula/mutt.rb
#   modified:   Library/Formula/mysql-cluster.rb
#   modified:   Library/Formula/mysql-connector-odbc.rb
#   modified:   Library/Formula/mysql.rb
#   modified:   Library/Formula/neo4j.rb
#   modified:   Library/Formula/neon.rb
#   modified:   Library/Formula/net-snmp.rb
#   modified:   Library/Formula/netcdf.rb
#   modified:   Library/Formula/newick-utils.rb
#   modified:   Library/Formula/newlisp.rb
#   modified:   Library/Formula/nexus.rb
#   modified:   Library/Formula/nginx.rb
#   modified:   Library/Formula/ngspice.rb
#   modified:   Library/Formula/nimrod.rb
#   modified:   Library/Formula/ninja.rb
#   modified:   Library/Formula/node.rb
#   modified:   Library/Formula/notmuch.rb
#   modified:   Library/Formula/nrpe.rb
#   modified:   Library/Formula/nss.rb
#   modified:   Library/Formula/ntfs-3g.rb
#   modified:   Library/Formula/nu.rb
#   modified:   Library/Formula/nzbget.rb
#   modified:   Library/Formula/ode.rb
#   modified:   Library/Formula/omniorb.rb
#   modified:   Library/Formula/open-babel.rb
#   modified:   Library/Formula/open-cobol.rb
#   modified:   Library/Formula/open-mpi.rb
#   modified:   Library/Formula/opencc.rb
#   modified:   Library/Formula/opencolorio.rb
#   modified:   Library/Formula/openconnect.rb
#   modified:   Library/Formula/opensc.rb
#   modified:   Library/Formula/openslp.rb
#   modified:   Library/Formula/openvpn.rb
#   modified:   Library/Formula/orc.rb
#   modified:   Library/Formula/orfeo.rb
#   modified:   Library/Formula/oscats.rb
#   modified:   Library/Formula/osslsigncode.rb
#   modified:   Library/Formula/owfs.rb
#   modified:   Library/Formula/paperkey.rb
#   modified:   Library/Formula/parallel.rb
#   modified:   Library/Formula/parrot.rb
#   modified:   Library/Formula/patchutils.rb
#   modified:   Library/Formula/pcre.rb
#   modified:   Library/Formula/pdfgrep.rb
#   modified:   Library/Formula/percona-server.rb
#   modified:   Library/Formula/perforce.rb
#   modified:   Library/Formula/pgplot.rb
#   modified:   Library/Formula/pgpool-ii.rb
#   modified:   Library/Formula/phantomjs.rb
#   modified:   Library/Formula/pianobar.rb
#   modified:   Library/Formula/pil.rb
#   modified:   Library/Formula/pixz.rb
#   modified:   Library/Formula/plenv.rb
#   modified:   Library/Formula/plowshare.rb
#   modified:   Library/Formula/plplot.rb
#   modified:   Library/Formula/pngcrush.rb
#   modified:   Library/Formula/poppler.rb
#   modified:   Library/Formula/portmidi.rb
#   modified:   Library/Formula/postgis.rb
#   modified:   Library/Formula/postgres-xc.rb
#   modified:   Library/Formula/postgresql.rb
#   modified:   Library/Formula/povray.rb
#   deleted:    Library/Formula/ppl.rb
#   modified:   Library/Formula/prips.rb
#   modified:   Library/Formula/psftools.rb
#   modified:   Library/Formula/psgrep.rb
#   modified:   Library/Formula/pstoedit.rb
#   modified:   Library/Formula/ptex.rb
#   modified:   Library/Formula/pth.rb
#   modified:   Library/Formula/pure.rb
#   modified:   Library/Formula/pxz.rb
#   modified:   Library/Formula/py2cairo.rb
#   modified:   Library/Formula/pyexiv2.rb
#   modified:   Library/Formula/pygobject.rb
#   modified:   Library/Formula/pygtk.rb
#   modified:   Library/Formula/pygtkglext.rb
#   modified:   Library/Formula/pygtksourceview.rb
#   modified:   Library/Formula/pypy.rb
#   modified:   Library/Formula/pyqt.rb
#   modified:   Library/Formula/pyqwt.rb
#   modified:   Library/Formula/pyside-tools.rb
#   modified:   Library/Formula/pyside.rb
#   modified:   Library/Formula/python.rb
#   modified:   Library/Formula/python3.rb
#   modified:   Library/Formula/qd.rb
#   modified:   Library/Formula/qemu.rb
#   modified:   Library/Formula/qjson.rb
#   modified:   Library/Formula/qpdf.rb
#   modified:   Library/Formula/qprint.rb
#   modified:   Library/Formula/qrupdate.rb
#   modified:   Library/Formula/qscintilla2.rb
#   modified:   Library/Formula/qstat.rb
#   modified:   Library/Formula/qt.rb
#   modified:   Library/Formula/qt5.rb
#   modified:   Library/Formula/quantlib.rb
#   modified:   Library/Formula/qwt.rb
#   modified:   Library/Formula/r.rb
#   modified:   Library/Formula/rabbitmq-c.rb
#   modified:   Library/Formula/rabbitmq.rb
#   modified:   Library/Formula/rakudo-star.rb
#   modified:   Library/Formula/rbenv-bundler.rb
#   modified:   Library/Formula/rdiff-backup.rb
#   modified:   Library/Formula/recoverjpeg.rb
#   modified:   Library/Formula/redis.rb
#   modified:   Library/Formula/rename.rb
#   modified:   Library/Formula/rethinkdb.rb
#   modified:   Library/Formula/rhash.rb
#   modified:   Library/Formula/riemann.rb
#   modified:   Library/Formula/rock.rb
#   modified:   Library/Formula/root.rb
#   modified:   Library/Formula/rrdtool.rb
#   modified:   Library/Formula/rubber.rb
#   modified:   Library/Formula/ruby-build.rb
#   deleted:    Library/Formula/ruby-enterprise-edition.rb
#   modified:   Library/Formula/ruby.rb
#   modified:   Library/Formula/runit.rb
#   modified:   Library/Formula/rust.rb
#   modified:   Library/Formula/s3fs.rb
#   modified:   Library/Formula/salt.rb
#   modified:   Library/Formula/sane-backends.rb
#   modified:   Library/Formula/saxon.rb
#   modified:   Library/Formula/sbcl.rb
#   modified:   Library/Formula/sbt.rb
#   modified:   Library/Formula/scala.rb
#   modified:   Library/Formula/scale2x.rb
#   deleted:    Library/Formula/scalpel.rb
#   modified:   Library/Formula/scantailor.rb
#   modified:   Library/Formula/scm-manager.rb
#   modified:   Library/Formula/scons.rb
#   modified:   Library/Formula/sdcv.rb
#   modified:   Library/Formula/sec.rb
#   modified:   Library/Formula/selenium-server-standalone.rb
#   modified:   Library/Formula/sendemail.rb
#   modified:   Library/Formula/ser2net.rb
#   modified:   Library/Formula/serf.rb
#   modified:   Library/Formula/sflowtool.rb
#   modified:   Library/Formula/shiboken.rb
#   modified:   Library/Formula/shocco.rb
#   modified:   Library/Formula/sickbeard.rb
#   modified:   Library/Formula/sip.rb
#   modified:   Library/Formula/sipp.rb
#   modified:   Library/Formula/sisc-scheme.rb
#   modified:   Library/Formula/sispmctl.rb
#   modified:   Library/Formula/sl.rb
#   modified:   Library/Formula/sleuthkit.rb
#   modified:   Library/Formula/slicot.rb
#   modified:   Library/Formula/slrn.rb
#   modified:   Library/Formula/soci.rb
#   modified:   Library/Formula/solr.rb
#   modified:   Library/Formula/sonar-runner.rb
#   modified:   Library/Formula/sonar.rb
#   modified:   Library/Formula/spatialite-tools.rb
#   modified:   Library/Formula/spdylay.rb
#   modified:   Library/Formula/sphinx.rb
#   modified:   Library/Formula/spidermonkey.rb
#   modified:   Library/Formula/spin.rb
#   modified:   Library/Formula/spring-roo.rb
#   modified:   Library/Formula/sqlite.rb
#   modified:   Library/Formula/sqliteman.rb
#   modified:   Library/Formula/sqsh.rb
#   modified:   Library/Formula/squashfs.rb
#   modified:   Library/Formula/squid.rb
#   modified:   Library/Formula/srecord.rb
#   modified:   Library/Formula/sslscan.rb
#   modified:   Library/Formula/ssreflect.rb
#   modified:   Library/Formula/stress.rb
#   modified:   Library/Formula/subversion.rb
#   modified:   Library/Formula/svtplay-dl.rb
#   modified:   Library/Formula/swatchbooker.rb
#   modified:   Library/Formula/swi-prolog.rb
#   modified:   Library/Formula/swig.rb
#   modified:   Library/Formula/ta-lib.rb
#   modified:   Library/Formula/tcptraceroute.rb
#   modified:   Library/Formula/teem.rb
#   modified:   Library/Formula/tesseract.rb
#   modified:   Library/Formula/texmacs.rb
#   modified:   Library/Formula/thrift.rb
#   modified:   Library/Formula/tidyp.rb
#   modified:   Library/Formula/timedog.rb
#   modified:   Library/Formula/timidity.rb
#   modified:   Library/Formula/tmap.rb
#   modified:   Library/Formula/tmux.rb
#   modified:   Library/Formula/tn5250.rb
#   modified:   Library/Formula/tnef.rb
#   modified:   Library/Formula/tomcat.rb
#   modified:   Library/Formula/torsocks.rb
#   modified:   Library/Formula/trash.rb
#   modified:   Library/Formula/treeline.rb
#   modified:   Library/Formula/tsung.rb
#   modified:   Library/Formula/ttytter.rb
#   modified:   Library/Formula/tuntap.rb
#   modified:   Library/Formula/tup.rb
#   modified:   Library/Formula/twemcache.rb
#   modified:   Library/Formula/uade.rb
#   modified:   Library/Formula/udis86.rb
#   modified:   Library/Formula/ufraw.rb
#   modified:   Library/Formula/ume.rb
#   modified:   Library/Formula/unac.rb
#   modified:   Library/Formula/unfs3.rb
#   modified:   Library/Formula/upx.rb
#   modified:   Library/Formula/uriparser.rb
#   modified:   Library/Formula/urweb.rb
#   modified:   Library/Formula/uwsgi.rb
#   modified:   Library/Formula/v8.rb
#   modified:   Library/Formula/valkyrie.rb
#   modified:   Library/Formula/vcsh.rb
#   modified:   Library/Formula/vifm.rb
#   modified:   Library/Formula/vim.rb
#   modified:   Library/Formula/vimpager.rb
#   modified:   Library/Formula/vpnc.rb
#   modified:   Library/Formula/watch.rb
#   modified:   Library/Formula/weechat.rb
#   modified:   Library/Formula/whatmask.rb
#   modified:   Library/Formula/wine.rb
#   modified:   Library/Formula/winexe.rb
#   modified:   Library/Formula/wireshark.rb
#   modified:   Library/Formula/wordnet.rb
#   modified:   Library/Formula/wps2odt.rb
#   modified:   Library/Formula/wrk.rb
#   modified:   Library/Formula/wry.rb
#   modified:   Library/Formula/wxmac.rb
#   modified:   Library/Formula/x264.rb
#   modified:   Library/Formula/x3270.rb
#   modified:   Library/Formula/xapian.rb
#   modified:   Library/Formula/xctool.rb
#   modified:   Library/Formula/xlslib.rb
#   modified:   Library/Formula/xmlsh.rb
#   modified:   Library/Formula/xmlstarlet.rb
#   modified:   Library/Formula/xmp.rb
#   modified:   Library/Formula/xorriso.rb
#   modified:   Library/Formula/xplanet.rb
#   modified:   Library/Formula/xrootd.rb
#   modified:   Library/Formula/yamdi.rb
#   modified:   Library/Formula/yarp.rb
#   modified:   Library/Formula/yasm.rb
#   modified:   Library/Formula/yaws.rb
#   modified:   Library/Formula/yaz.rb
#   modified:   Library/Formula/yazpp.rb
#   modified:   Library/Formula/yeti.rb
#   modified:   Library/Formula/ykclient.rb
#   modified:   Library/Formula/ykpers.rb
#   modified:   Library/Formula/yle-dl.rb
#   modified:   Library/Formula/youtube-dl.rb
#   deleted:    Library/Formula/yubikey-personalization.rb
#   modified:   Library/Formula/z.rb
#   modified:   Library/Formula/zabbix.rb
#   modified:   Library/Formula/zeromq.rb
#   modified:   Library/Formula/znc.rb
#   modified:   Library/Formula/zookeeper.rb
#   modified:   Library/Formula/zsh-completions.rb
#   modified:   Library/Formula/zsh.rb
#   modified:   Library/Formula/zshdb.rb
#   modified:   Library/Formula/zssh.rb
#   modified:   Library/Homebrew/bottles.rb
#   modified:   Library/Homebrew/build.rb
#   modified:   Library/Homebrew/build_options.rb
#   modified:   Library/Homebrew/caveats.rb
#   modified:   Library/Homebrew/cleaner.rb
#   modified:   Library/Homebrew/cmd/--env.rb
#   modified:   Library/Homebrew/cmd/audit.rb
#   modified:   Library/Homebrew/cmd/bottle.rb
#   modified:   Library/Homebrew/cmd/cleanup.rb
#   modified:   Library/Homebrew/cmd/create.rb
#   modified:   Library/Homebrew/cmd/deps.rb
#   modified:   Library/Homebrew/cmd/doctor.rb
#   modified:   Library/Homebrew/cmd/info.rb
#   modified:   Library/Homebrew/cmd/install.rb
#   modified:   Library/Homebrew/cmd/irb.rb
#   modified:   Library/Homebrew/cmd/link.rb
#   modified:   Library/Homebrew/cmd/list.rb
#   modified:   Library/Homebrew/cmd/log.rb
#   modified:   Library/Homebrew/cmd/options.rb
#   modified:   Library/Homebrew/cmd/outdated.rb
#   modified:   Library/Homebrew/cmd/pin.rb
#   modified:   Library/Homebrew/cmd/search.rb
#   modified:   Library/Homebrew/cmd/test.rb
#   modified:   Library/Homebrew/cmd/unpin.rb
#   modified:   Library/Homebrew/cmd/update.rb
#   modified:   Library/Homebrew/cmd/upgrade.rb
#   modified:   Library/Homebrew/cmd/uses.rb
#   modified:   Library/Homebrew/cmd/versions.rb
#   modified:   Library/Homebrew/compilers.rb
#   modified:   Library/Homebrew/dependency.rb
#   modified:   Library/Homebrew/dependency_collector.rb
#   modified:   Library/Homebrew/download_strategy.rb
#   modified:   Library/Homebrew/exceptions.rb
#   modified:   Library/Homebrew/extend/ARGV.rb
#   modified:   Library/Homebrew/extend/ENV.rb
#   modified:   Library/Homebrew/extend/pathname.rb
#   modified:   Library/Homebrew/formula.rb
#   modified:   Library/Homebrew/formula_installer.rb
#   modified:   Library/Homebrew/formula_specialties.rb
#   modified:   Library/Homebrew/formula_support.rb
#   modified:   Library/Homebrew/global.rb
#   modified:   Library/Homebrew/hardware.rb
#   modified:   Library/Homebrew/keg.rb
#   modified:   Library/Homebrew/keg_fix_install_names.rb
#   modified:   Library/Homebrew/macos.rb
#   modified:   Library/Homebrew/options.rb
#   modified:   Library/Homebrew/patches.rb
#   modified:   Library/Homebrew/requirement.rb
#   modified:   Library/Homebrew/requirements.rb
#   deleted:    Library/Homebrew/requirements/conflict_requirement.rb
#   modified:   Library/Homebrew/requirements/language_module_dependency.rb
#   modified:   Library/Homebrew/requirements/mpi_dependency.rb
#   modified:   Library/Homebrew/superenv.rb
#   modified:   Library/Homebrew/tab.rb
#   modified:   Library/Homebrew/test/test_ENV.rb
#   modified:   Library/Homebrew/test/test_build_options.rb
#   modified:   Library/Homebrew/test/test_compiler_selector.rb
#   modified:   Library/Homebrew/test/test_dependency_collector.rb
#   modified:   Library/Homebrew/test/test_dependency_expansion.rb
#   modified:   Library/Homebrew/test/test_download_strategies.rb
#   modified:   Library/Homebrew/test/test_formula.rb
#   modified:   Library/Homebrew/test/test_formula_spec_selection.rb
#   modified:   Library/Homebrew/test/test_formula_validation.rb
#   modified:   Library/Homebrew/test/test_hardware.rb
#   modified:   Library/Homebrew/test/test_json.rb
#   modified:   Library/Homebrew/test/test_language_module_dependency.rb
#   modified:   Library/Homebrew/test/test_mach.rb
#   modified:   Library/Homebrew/test/test_options.rb
#   modified:   Library/Homebrew/test/test_requirement.rb
#   modified:   Library/Homebrew/test/test_software_spec.rb
#   modified:   Library/Homebrew/test/test_utils.rb
#   modified:   Library/Homebrew/test/test_version_subclasses.rb
#   modified:   Library/Homebrew/test/test_versions.rb
#   modified:   Library/Homebrew/test/testing_env.rb
#   modified:   Library/Homebrew/utils.rb
#   deleted:    Library/Homebrew/vendor/LICENSE
#   deleted:    Library/Homebrew/vendor/multi_json.rb
#   deleted:    Library/Homebrew/vendor/multi_json/version.rb
#   modified:   Library/Homebrew/version.rb
#   modified:   Library/brew.rb
#   modified:   README.md
#   modified:   share/man/man1/brew.1
#
no changes added to commit (use "git add" and/or "git commit -a")
timgers-MacBook-Air:local timger$ git reset --hard origin/master
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/json_common.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/json_gem.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/json_pure.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/nsjsonserialization.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/oj.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/ok_json.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/adapters/yajl.rb: Permission denied
warning: unable to unlink Library/Homebrew/vendor/multi_json/vendor/okjson.rb: Permission denied
error: unable to unlink old 'Library/ENV/4.3/cc' (Permission denied)
error: unable to unlink old 'Library/ENV/4.3/xcrun' (Permission denied)
error: unable to create symlink Library/ENV/pkgconfig/10.9 (Permission denied)
error: unable to unlink old 'Library/Homebrew/os/linux/hardware.rb' (Permission denied)
error: unable to unlink old 'Library/Homebrew/os/mac/hardware.rb' (Permission denied)
error: unable to unlink old 'Library/Homebrew/os/mac/version.rb' (Permission denied)
error: unable to unlink old 'Library/Homebrew/os/mac/xcode.rb' (Permission denied)
error: unable to unlink old 'Library/Homebrew/os/mac/xquartz.rb' (Permission denied)
error: unable to unlink old 'Library/Homebrew/superenv/macsystem.rb' (Permission denied)
fatal: Could not reset index file to revision 'origin/master'.
timgers-MacBook-Air:local timger$ git clean -df
warning: unable to access 'Library/Formula/.gitignore': Permission denied
Removing Library/Contributions/cmd/brew-cleanup-installed
Removing Library/Contributions/cmd/brew-profile.rb
Removing Library/Contributions/cmd/brew-tap-readme.rb
Removing Library/Contributions/cmd/brew-test-bot.xml.erb
Removing Library/Formula/acpica.rb
Removing Library/Formula/alembic.rb
Removing Library/Formula/apt-cacher-ng.rb
Removing Library/Formula/aubio.rb
Removing Library/Formula/beansdb.rb
Removing Library/Formula/bigloo.rb
Removing Library/Formula/blitzwave.rb
Removing Library/Formula/boost-bcp.rb
Removing Library/Formula/briss.rb
Removing Library/Formula/cctools-headers.rb
Removing Library/Formula/ccze.rb
Removing Library/Formula/cdk.rb
Removing Library/Formula/couchpotatoserver.rb
Removing Library/Formula/dex2jar.rb
Removing Library/Formula/docbook-xsl.rb
Removing Library/Formula/dub.rb
Removing Library/Formula/dvorak7min.rb
Removing Library/Formula/dyld-headers.rb
Removing Library/Formula/exenv.rb
Removing Library/Formula/ficy.rb
Removing Library/Formula/frag_find.rb
Removing Library/Formula/ghi.rb
Removing Library/Formula/hardlink.rb
Removing Library/Formula/hubflow.rb
Removing Library/Formula/ip_relay.rb
Removing Library/Formula/ld64.rb
Removing Library/Formula/libbind.rb
Removing Library/Formula/libgetdata.rb
Removing Library/Formula/libmowgli.rb
Removing Library/Formula/libunwind-headers.rb
Removing Library/Formula/lrdf.rb
Removing Library/Formula/luvit.rb
Removing Library/Formula/matlab2tikz.rb
Removing Library/Formula/mplayershell.rb
Removing Library/Formula/newt.rb
Removing Library/Formula/opendetex.rb
Removing Library/Formula/osm2pgsql.rb
Removing Library/Formula/pdnsrec.rb
Removing Library/Formula/perl-build.rb
Removing Library/Formula/pgbadger.rb
Removing Library/Formula/pgtune.rb
Removing Library/Formula/proxychains-ng.rb
Removing Library/Formula/pyenv.rb
Removing Library/Formula/rbenv-aliases.rb
Removing Library/Formula/rolldice.rb
Removing Library/Formula/ruby-install.rb
Removing Library/Formula/terminal-notifier.rb
Removing Library/Formula/tomee-webprofile.rb
Removing Library/Formula/ucspi-tcp.rb
Removing Library/Formula/unittest-cpp.rb
Removing Library/Formula/vera++.rb
Removing Library/Formula/visionmedia-watch.rb
Removing Library/Formula/zsh-syntax-highlighting.rb
Removing Library/Homebrew/extend/enumerable.rb
Removing Library/Homebrew/extend/module.rb
Removing Library/Homebrew/formulary.rb
Removing Library/Homebrew/python_helper.rb
Removing Library/Homebrew/requirements/fortran_dependency.rb
Removing Library/Homebrew/requirements/ld64_dependency.rb
Removing Library/Homebrew/requirements/macos_requirement.rb
Removing Library/Homebrew/requirements/python_dependency.rb
Removing Library/Homebrew/test/test_bottle_tag.rb
Removing Library/Homebrew/test/test_mpi_dependency.rb
Removing Library/Homebrew/utils/
Removing Library/Homebrew/vendor/okjson.rb
timgers-MacBook-Air:local timger$ brew doctor
/usr/local/Library/Homebrew/global.rb:1:in `require': no such file to load -- extend/module (LoadError)
    from /usr/local/Library/Homebrew/global.rb:1
    from /usr/local/Library/brew.rb:17:in `require'
    from /usr/local/Library/brew.rb:17
timgers-MacBook-Air:local timger$ 
mistydemeo commented 11 years ago

warning: unable to access 'Library/Formula/.gitignore': Permission denied

It looks like you have permissions set incorrectly. You should:

sudo chown -R $USER:admin /usr/local

After that, rerun the git commands I gave you.

yishenggudou commented 11 years ago

thank's

mistydemeo commented 11 years ago

You're welcome! Everything working okay now?

mrmagooey commented 11 years ago

Can confirm this also fixed the issue for me, thank you!

doublesharp commented 11 years ago

Ditto for me after restoring from Time Machine.

thorsten commented 11 years ago

Yes, seems to happen after restoring from Time Machine! Had the same issue!

Relequestual commented 11 years ago

Also confirmed a git reset fixed the problem. +1. Thanks.

k3z commented 10 years ago

+1 same think with rethindb formula