--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Hi
I am on Ubuntu 12.04 64-bit. I used http://llvm.org/apt/ to install 3.4 version as described in the link. It did install clang-format-3.4 in /usr/bin/clang-format3.4.
I verified what files got installed along with this package by dpkg -L clang-format3.4 and the result is as follows
$ dpkg -L clang-format-3.4
/.
/usr
/usr/lib
/usr/lib/llvm-3.4
/usr/lib/llvm-3.4/bin
/usr/lib/llvm-3.4/bin/clang-format
/usr/bin
/usr/bin/clang-format-diff-3.4
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/clang-format-diff-3.4.1.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/clang-format-3.4
/usr/share/doc
/usr/share/doc/clang-format-3.4
/usr/share/doc/clang-format-3.4/changelog.Debian.gz
/usr/share/doc/clang-format-3.4/copyright
/usr/share/vim
/usr/share/vim/addons
/usr/share/vim/addons/syntax
/usr/share/vim/addons/syntax/clang-format-3.4.py
/usr/share/emacs
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/clang-format-3.4
/usr/share/emacs/site-lisp/clang-format-3.4/clang-format.el
/usr/bin/clang-format-3.4
$ git cl format
Could not find clang-format-diff at /usr/lib/clang-format/clang-format-diff.py.
On Thu, Aug 8, 2013 at 12:08 AM, <sidha...@chromium.org> wrote:
git cl format fails for me with this error message:Could not find clang-format-diff at /usr/lib/clang-format/clang-format-diff.py
I tried installing clang-format-3.4 but it didn't seem to help. Any suggestions?We currently rely on having the clang-format package to install /usr/lib/clang-format/clang-format-diff.py, apparently this file is missing from your system after installing the package.Can you tell us which system you're on exactly, and how you did install clang-format-3.4? Which files were installed exactly and where?Longer term, it would be nicer to have clang-format and clang-format-diff.py be part of depot_tools/, or at least have update_depot_tools download a well-known fixed binary/script from stable repository.