パンツでビルドことはじめ - パンツをインストールする

# [パンツ](https://github.com/pantsbuild/pants)とは?

https://github.com/pantsbuild/pants

[パンツ](https://github.com/pantsbuild/pants)とは、様々な言語で構成されるソフトウェアのビルドシステムです。多様な言語を用いたプロジェクトがある環境に向けて作られたもののようです。

# パンツを入れる

いまのところ、brew で入れられたりはしないので、コードを落として起きてインストールする必要があります。

```
$ git clone git@github.com:pantsbuild/pants.git
Cloning into 'pants'...
remote: Counting objects: 28041, done.
remote: Total 28041 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (28041/28041), 45.90 MiB | 1.37 MiB/s, done.
Resolving deltas: 100% (17468/17468), done.
Checking connectivity... done.

$ cd pants/
$ ls
3rdparty                CONTRIBUTING.md         README.md               migrations              pantsbuild_migration.py rbt-update              tests
BUILD                   CONTRIBUTORS.md         build-support           pants                   rbt                     src
BUILD.tools             LICENSE                 examples                pants.ini               rbt-create              testprojects
```

clone するとこんな構成のディレクトリが出てきます。

この中で、`pants`がコマンドラインから叩く実行可能ファイルになります。

最初はもろもろの準備のため、引数を付けずにパンツを実行します。

```
$ ./pants 
Building pants.pex to /Users/hogehoge/somewhere/repopants/pants.pex...
Bootstrapping pants_deps with requirements:
  /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt
  /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt
Using /usr/bin/python2.7
~/somewhere/repo/pants/build-support ~/somewhere/repo/pants
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1716k  100 1716k    0     0   853k      0  0:00:02  0:00:02 --:--:--  854k
x virtualenv-1.11.4/
x virtualenv-1.11.4/AUTHORS.txt
x virtualenv-1.11.4/bin/
x virtualenv-1.11.4/bin/rebuild-script.py
x virtualenv-1.11.4/docs/
x virtualenv-1.11.4/docs/conf.py
x virtualenv-1.11.4/docs/index.rst
x virtualenv-1.11.4/docs/make.bat
x virtualenv-1.11.4/docs/Makefile
x virtualenv-1.11.4/docs/news.rst
x virtualenv-1.11.4/docs/virtualenv.rst
x virtualenv-1.11.4/LICENSE.txt
x virtualenv-1.11.4/MANIFEST.in
x virtualenv-1.11.4/PKG-INFO
x virtualenv-1.11.4/README.rst
x virtualenv-1.11.4/scripts/
x virtualenv-1.11.4/scripts/virtualenv
x virtualenv-1.11.4/setup.cfg
x virtualenv-1.11.4/setup.py
x virtualenv-1.11.4/virtualenv.egg-info/
x virtualenv-1.11.4/virtualenv.egg-info/dependency_links.txt
x virtualenv-1.11.4/virtualenv.egg-info/entry_points.txt
x virtualenv-1.11.4/virtualenv.egg-info/not-zip-safe
x virtualenv-1.11.4/virtualenv.egg-info/PKG-INFO
x virtualenv-1.11.4/virtualenv.egg-info/SOURCES.txt
x virtualenv-1.11.4/virtualenv.egg-info/top_level.txt
x virtualenv-1.11.4/virtualenv.py
x virtualenv-1.11.4/virtualenv_embedded/
x virtualenv-1.11.4/virtualenv_embedded/activate.bat
x virtualenv-1.11.4/virtualenv_embedded/activate.csh
x virtualenv-1.11.4/virtualenv_embedded/activate.fish
x virtualenv-1.11.4/virtualenv_embedded/activate.ps1
x virtualenv-1.11.4/virtualenv_embedded/activate.sh
x virtualenv-1.11.4/virtualenv_embedded/activate_this.py
x virtualenv-1.11.4/virtualenv_embedded/deactivate.bat
x virtualenv-1.11.4/virtualenv_embedded/distutils-init.py
x virtualenv-1.11.4/virtualenv_embedded/distutils.cfg
x virtualenv-1.11.4/virtualenv_embedded/site.py
x virtualenv-1.11.4/virtualenv_support/
x virtualenv-1.11.4/virtualenv_support/__init__.py
x virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl
x virtualenv-1.11.4/virtualenv_support/setuptools-2.2-py2.py3-none-any.whl
~/somewhere/repo/pants
New python executable in /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin/python
Installing setuptools, pip...done.
Downloading/unpacking ansicolors==1.0.2 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 1))
  Downloading ansicolors-1.0.2.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/ansicolors/setup.py) egg_info for package ansicolors
    
Downloading/unpacking antlr-python-runtime==3.1.3 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 3))
  antlr-python-runtime an externally hosted file and may be unreliable
  antlr-python-runtime is potentially insecure and unverifiable.
  Downloading antlr_python_runtime-3.1.3.tar.gz (76kB): 76kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/antlr-python-runtime/setup.py) egg_info for package antlr-python-runtime
    
Downloading/unpacking argparse==1.2.1 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 7))
  Downloading argparse-1.2.1.tar.gz (69kB): 69kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/argparse/setup.py) egg_info for package argparse
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
Downloading/unpacking Markdown==2.1.1 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 8))
  Downloading Markdown-2.1.1.tar.gz (242kB): 242kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/Markdown/setup.py) egg_info for package Markdown
    
Downloading/unpacking mock==1.0.1 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 9))
  Downloading mock-1.0.1.tar.gz (818kB): 818kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/mock/setup.py) egg_info for package mock
    
    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.js' under directory 'docs'
Downloading/unpacking mox==0.5.3 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 10))
  Downloading mox-0.5.3.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/mox/setup.py) egg_info for package mox
    
Downloading/unpacking pex>=0.7.0,<0.8 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 11))
  Downloading pex-0.7.0-py2.py3-none-any.whl (64kB): 64kB downloaded
Downloading/unpacking psutil==1.1.3 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 12))
  Downloading psutil-1.1.3.tar.gz (165kB): 165kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/psutil/setup.py) egg_info for package psutil
    
Downloading/unpacking Pygments==1.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 13))
  Downloading Pygments-1.4.tar.gz (3.5MB): 3.5MB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/Pygments/setup.py) egg_info for package Pygments
    
Downloading/unpacking pystache==0.5.3 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 14))
  Downloading pystache-0.5.3.tar.gz (74kB): 74kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/pystache/setup.py) egg_info for package pystache
    pystache: using: version '2.2' of <module 'setuptools' from '/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/setuptools/__init__.pyc'>
    
Downloading/unpacking pytest==2.5.2 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 15))
  Downloading pytest-2.5.2.tar.gz (608kB): 608kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/pytest/setup.py) egg_info for package pytest
    
Downloading/unpacking pytest-cov==1.6 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 16))
  Downloading pytest-cov-1.6.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/pytest-cov/setup.py) egg_info for package pytest-cov
    
Downloading/unpacking python-daemon==1.5.5 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 17))
  Downloading python-daemon-1.5.5.tar.gz (41kB): 41kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/python-daemon/setup.py) egg_info for package python-daemon
    
    warning: no files found matching 'TODO'
Downloading/unpacking requests>=2.3.0,<2.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 18))
  Downloading requests-2.3.0-py2.py3-none-any.whl (452kB): 452kB downloaded
Downloading/unpacking setuptools==5.4.1 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 19))
  Downloading setuptools-5.4.1-py2.py3-none-any.whl (528kB): 528kB downloaded
Downloading/unpacking thrift==0.9.1 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 20))
  Downloading thrift-0.9.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/thrift/setup.py) egg_info for package thrift
    
Downloading/unpacking wheel==0.23.0 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 21))
  Downloading wheel-0.23.0-py2.py3-none-any.whl (61kB): 61kB downloaded
Downloading/unpacking py>=1.4.20 (from pytest==2.5.2->-r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 15))
  Downloading py-1.4.24.tar.gz (190kB): 190kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/py/setup.py) egg_info for package py
    
Downloading/unpacking cov-core>=1.6 (from pytest-cov==1.6->-r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 16))
  Downloading cov-core-1.14.0.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/cov-core/setup.py) egg_info for package cov-core
    
Downloading/unpacking lockfile>=0.7 (from python-daemon==1.5.5->-r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 17))
  Downloading lockfile-0.9.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/lockfile/setup.py) egg_info for package lockfile
    
Downloading/unpacking coverage>=3.6 (from cov-core>=1.6->pytest-cov==1.6->-r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/requirements.txt (line 16))
  Downloading coverage-3.7.1.tar.gz (284kB): 284kB downloaded
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/coverage/setup.py) egg_info for package coverage
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installing collected packages: ansicolors, antlr-python-runtime, argparse, Markdown, mock, mox, pex, psutil, Pygments, pystache, pytest, pytest-cov, python-daemon, requests, setuptools, thrift, wheel, py, cov-core, lockfile, coverage
  Running setup.py install for ansicolors
    
  Running setup.py install for antlr-python-runtime
    
  Running setup.py install for argparse
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.orig' found anywhere in distribution
    warning: no previously-included files matching '*.rej' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching 'env24'
    no previously-included directories found matching 'env25'
    no previously-included directories found matching 'env26'
    no previously-included directories found matching 'env27'
  Running setup.py install for Markdown
    changing mode of build/scripts-2.7/markdown_py from 644 to 755
    Converting docs/command_line.md -> build/docs/command_line.html
    Converting docs/index.md -> build/docs/index.html
    Converting docs/install.md -> build/docs/install.html
    Converting docs/release-2.0.1.md -> build/docs/release-2.0.1.html
    Converting docs/release-2.0.2.md -> build/docs/release-2.0.2.html
    Converting docs/release-2.0.md -> build/docs/release-2.0.html
    Converting docs/release-2.1.0.md -> build/docs/release-2.1.0.html
    Converting docs/release-2.1.1.md -> build/docs/release-2.1.1.html
    Converting docs/test_suite.md -> build/docs/test_suite.html
    Converting docs/using_as_module.md -> build/docs/using_as_module.html
    Converting docs/writing_extensions.md -> build/docs/writing_extensions.html
    Converting docs/extensions/abbreviations.md -> build/docs/extensions/abbreviations.html
    Converting docs/extensions/attr_list.md -> build/docs/extensions/attr_list.html
    Converting docs/extensions/code_hilite.md -> build/docs/extensions/code_hilite.html
    Converting docs/extensions/definition_lists.md -> build/docs/extensions/definition_lists.html
    Converting docs/extensions/extra.md -> build/docs/extensions/extra.html
    Converting docs/extensions/fenced_code_blocks.md -> build/docs/extensions/fenced_code_blocks.html
    Converting docs/extensions/footnotes.md -> build/docs/extensions/footnotes.html
    Converting docs/extensions/header_id.md -> build/docs/extensions/header_id.html
    Converting docs/extensions/html_tidy.md -> build/docs/extensions/html_tidy.html
    Converting docs/extensions/index.md -> build/docs/extensions/index.html
    Converting docs/extensions/meta_data.md -> build/docs/extensions/meta_data.html
    Converting docs/extensions/nl2br.md -> build/docs/extensions/nl2br.html
    Converting docs/extensions/rss.md -> build/docs/extensions/rss.html
    Converting docs/extensions/smart_strong.md -> build/docs/extensions/smart_strong.html
    Converting docs/extensions/tables.md -> build/docs/extensions/tables.html
    Converting docs/extensions/toc.md -> build/docs/extensions/toc.html
    Converting docs/extensions/wikilinks.md -> build/docs/extensions/wikilinks.html
    
    changing mode of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin/markdown_py to 755
  Running setup.py install for mock
    
    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.js' under directory 'docs'
  Running setup.py install for mox
    
  Running setup.py install for psutil
    building '_psutil_osx' extension
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-10.9-intel-2.7/psutil/_psutil_osx.o
    psutil/_psutil_osx.c:125:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:167:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        ret = proc_pidpath(pid, &buf, sizeof(buf));
              ~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:209:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:227:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:247:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:267:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:302:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        err = task_for_pid(mach_task_self(), pid, &task);
              ~~~~~~~~~~~~                   ^~~
    psutil/_psutil_osx.c:346:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
                err = proc_regionfilename(pid, address, buf, sizeof(buf));
                      ~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:477:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:777:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        num = getfsstat(fs, len, MNT_NOWAIT);
              ~~~~~~~~~     ^~~
    psutil/_psutil_osx.c:874:31: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        if (psutil_get_kinfo_proc(pid, &kp) == -1) {
            ~~~~~~~~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:910:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        err = task_for_pid(mach_task_self(), pid, &task);
              ~~~~~~~~~~~~                   ^~~
    psutil/_psutil_osx.c:1019:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        pidinfo_result = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, NULL, 0);
                         ~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1031:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        pidinfo_result = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, fds_pointer,
                         ~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1047:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
                nb = proc_pidfdinfo(pid,
                     ~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1151:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        pidinfo_result = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, NULL, 0);
                         ~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1161:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        pidinfo_result = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, fds_pointer,
                         ~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1179:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
                nb = proc_pidfdinfo(pid, fdp_pointer->proc_fd, PROC_PIDFDSOCKETINFO,
                     ~~~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1346:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        pidinfo_result = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, NULL, 0);
                         ~~~~~~~~~~~~ ^~~
    psutil/_psutil_osx.c:1355:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        pidinfo_result = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, fds_pointer,
                         ~~~~~~~~~~~~ ^~~
    20 warnings generated.
    psutil/_psutil_osx.c:337:48: warning: format specifies type 'unsigned long' but the argument has type 'vm_address_t' (aka 'unsigned int') [-Wformat]
                sprintf(addr_str, "%016lx-%016lx", address, address + size);
                                   ~~~~~~          ^~~~~~~
                                   %016x
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
      __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                           ^
    psutil/_psutil_osx.c:337:57: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                sprintf(addr_str, "%016lx-%016lx", address, address + size);
                                          ~~~~~~            ^~~~~~~~~~~~~~
                                          %016x
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
      __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                           ^
    2 warnings generated.
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_common.c -o build/temp.macosx-10.9-intel-2.7/psutil/_psutil_common.o
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/arch/osx/process_info.c -o build/temp.macosx-10.9-intel-2.7/psutil/arch/osx/process_info.o
    psutil/arch/osx/process_info.c:39:21: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
        kill_ret = kill(pid , 0);
                   ~~~~ ^~~
    psutil/arch/osx/process_info.c:175:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        mib[2] = pid;
               ~ ^~~
    psutil/arch/osx/process_info.c:192:11: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        len = strlen(arg_ptr);
            ~ ^~~~~~~~~~~~~~~
    3 warnings generated.
    cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/psutil/_psutil_osx.o build/temp.macosx-10.9-intel-2.7/psutil/_psutil_common.o build/temp.macosx-10.9-intel-2.7/psutil/arch/osx/process_info.o -o build/lib.macosx-10.9-intel-2.7/_psutil_osx.so -framework CoreFoundation -framework IOKit
    building '_psutil_posix' extension
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.macosx-10.9-intel-2.7/psutil/_psutil_posix.o
    psutil/_psutil_posix.c:29:42: warning: implicit conversion loses integer precision: 'long' to 'id_t' (aka 'unsigned int') [-Wshorten-64-to-32]
        priority = getpriority(PRIO_PROCESS, pid);
                   ~~~~~~~~~~~               ^~~
    psutil/_psutil_posix.c:48:40: warning: implicit conversion loses integer precision: 'long' to 'id_t' (aka 'unsigned int') [-Wshorten-64-to-32]
        retval = setpriority(PRIO_PROCESS, pid, priority);
                 ~~~~~~~~~~~               ^~~
    2 warnings generated.
    cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/psutil/_psutil_posix.o -o build/lib.macosx-10.9-intel-2.7/_psutil_posix.so
    
  Running setup.py install for Pygments
    
    Installing pygmentize script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
  Running setup.py install for pystache
    pystache: using: version '2.2' of <module 'setuptools' from '/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/setuptools/__init__.pyc'>
    
    Installing pystache script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
    Installing pystache-test script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
  Running setup.py install for pytest
    
    Installing py.test script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
    Installing py.test-2.7 script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
  Running setup.py install for pytest-cov
    
  Running setup.py install for python-daemon
    
    warning: no files found matching 'TODO'
  Found existing installation: setuptools 2.2
    Uninstalling setuptools:
      Successfully uninstalled setuptools
  Running setup.py install for thrift
    building 'thrift.protocol.fastbinary' extension
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/protocol/fastbinary.c -o build/temp.macosx-10.9-intel-2.7/src/protocol/fastbinary.o
    src/protocol/fastbinary.c:227:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->element_type)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:226:24: warning: implicit conversion loses integer precision: 'long' to 'TType' (aka 'enum TType') [-Wshorten-64-to-32]
      dest->element_type = PyInt_AsLong(PyTuple_GET_ITEM(typeargs, 0));
                         ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:244:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->ktag)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:249:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->vtag)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:243:16: warning: implicit conversion loses integer precision: 'long' to 'TType' (aka 'enum TType') [-Wshorten-64-to-32]
      dest->ktag = PyInt_AsLong(PyTuple_GET_ITEM(typeargs, 0));
                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:248:16: warning: implicit conversion loses integer precision: 'long' to 'TType' (aka 'enum TType') [-Wshorten-64-to-32]
      dest->vtag = PyInt_AsLong(PyTuple_GET_ITEM(typeargs, 2));
                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:287:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->type)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:281:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
      dest->tag = PyInt_AsLong(PyTuple_GET_ITEM(spec_tuple, 0));
                ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:286:16: warning: implicit conversion loses integer precision: 'long' to 'TType' (aka 'enum TType') [-Wshorten-64-to-32]
      dest->type = PyInt_AsLong(PyTuple_GET_ITEM(spec_tuple, 1));
                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:489:22: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int32_t' (aka 'int') [-Wshorten-64-to-32]
        writeI32(output, len);
        ~~~~~~~~         ^~~
    src/protocol/fastbinary.c:740:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(got)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:787:15: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (etype == -1) {
            ~~~~~ ^  ~~
    src/protocol/fastbinary.c:809:15: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (ktype == -1) {
            ~~~~~ ^  ~~
    src/protocol/fastbinary.c:814:15: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (vtype == -1) {
            ~~~~~ ^  ~~
    src/protocol/fastbinary.c:836:16: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
          if (type == -1) {
              ~~~~ ^  ~~
    src/protocol/fastbinary.c:888:14: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (type == -1) {
            ~~~~ ^  ~~
    src/protocol/fastbinary.c:875:22: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
      int spec_seq_len = PyTuple_Size(spec_seq);
          ~~~~~~~~~~~~   ^~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:1008:33: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        if (!readBytes(input, &buf, len)) {
             ~~~~~~~~~              ^~~
    18 warnings generated.
    src/protocol/fastbinary.c:227:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->element_type)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:244:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->ktag)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:249:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->vtag)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:287:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(dest->type)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:740:7: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
      if (INT_CONV_ERROR_OCCURRED(got)) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/protocol/fastbinary.c:124:43: note: expanded from macro 'INT_CONV_ERROR_OCCURRED'
    #define INT_CONV_ERROR_OCCURRED(v) ( ((v) == -1) && PyErr_Occurred() )
                                          ~~~ ^  ~~
    src/protocol/fastbinary.c:787:15: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (etype == -1) {
            ~~~~~ ^  ~~
    src/protocol/fastbinary.c:809:15: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (ktype == -1) {
            ~~~~~ ^  ~~
    src/protocol/fastbinary.c:814:15: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (vtype == -1) {
            ~~~~~ ^  ~~
    src/protocol/fastbinary.c:836:16: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
          if (type == -1) {
              ~~~~ ^  ~~
    src/protocol/fastbinary.c:888:14: warning: comparison of constant -1 with expression of type 'TType' (aka 'enum TType') is always false [-Wtautological-constant-out-of-range-compare]
        if (type == -1) {
            ~~~~ ^  ~~
    10 warnings generated.
    cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/protocol/fastbinary.o -o build/lib.macosx-10.9-intel-2.7/thrift/protocol/fastbinary.so
    /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin/python -O /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpp9hCoS.py
    removing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpp9hCoS.py
    
  Running setup.py install for py
    
  Running setup.py install for cov-core
    
    
    Wrote pth file for subprocess measurement to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/init_cov_core.pth
  Running setup.py install for lockfile
    
  Running setup.py install for coverage
    building 'coverage.tracer' extension
    cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c coverage/tracer.c -o build/temp.macosx-10.9-intel-2.7/coverage/tracer.o
    cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/coverage/tracer.o -o build/lib.macosx-10.9-intel-2.7/coverage/tracer.so
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    Installing coverage2 script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
    Installing coverage-2.7 script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
    Installing coverage script to /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/bin
Successfully installed ansicolors antlr-python-runtime argparse Markdown mock mox pex psutil Pygments pystache pytest pytest-cov python-daemon requests setuptools thrift wheel py cov-core lockfile coverage
Cleaning up...
Downloading/unpacking twitter.common.collections>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 7))
  Downloading twitter.common.collections-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.collections/setup.py) egg_info for package twitter.common.collections
    
Downloading/unpacking twitter.common.config>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 8))
  Downloading twitter.common.config-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.config/setup.py) egg_info for package twitter.common.config
    
Downloading/unpacking twitter.common.confluence>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 9))
  Downloading twitter.common.confluence-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.confluence/setup.py) egg_info for package twitter.common.confluence
    
Downloading/unpacking twitter.common.decorators>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 10))
  Downloading twitter.common.decorators-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.decorators/setup.py) egg_info for package twitter.common.decorators
    
Downloading/unpacking twitter.common.dirutil>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 11))
  Downloading twitter.common.dirutil-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.dirutil/setup.py) egg_info for package twitter.common.dirutil
    
Downloading/unpacking twitter.common.lang>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 12))
  Downloading twitter.common.lang-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.lang/setup.py) egg_info for package twitter.common.lang
    
Downloading/unpacking twitter.common.log>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 13))
  Downloading twitter.common.log-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.log/setup.py) egg_info for package twitter.common.log
    
Downloading/unpacking twitter.common.options>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 14))
  Downloading twitter.common.options-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.options/setup.py) egg_info for package twitter.common.options
    
Downloading/unpacking twitter.common.process>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 15))
  Downloading twitter.common.process-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.process/setup.py) egg_info for package twitter.common.process
    
Downloading/unpacking twitter.common.string>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 16))
  Downloading twitter.common.string-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.string/setup.py) egg_info for package twitter.common.string
    
Downloading/unpacking twitter.common.threading>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 17))
  Downloading twitter.common.threading-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.threading/setup.py) egg_info for package twitter.common.threading
    
Downloading/unpacking twitter.common.util>=0.3.1,<0.4 (from -r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 18))
  Downloading twitter.common.util-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.util/setup.py) egg_info for package twitter.common.util
    
Downloading/unpacking twitter.common.contextutil==0.3.1 (from twitter.common.util>=0.3.1,<0.4->-r /Users/hogehoge/somewhere/repo/pants/3rdparty/python/twitter/commons/requirements.txt (line 18))
  Downloading twitter.common.contextutil-0.3.1.tar.gz
  Running setup.py (path:/Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/build/twitter.common.contextutil/setup.py) egg_info for package twitter.common.contextutil
    
Installing collected packages: twitter.common.collections, twitter.common.config, twitter.common.confluence, twitter.common.decorators, twitter.common.dirutil, twitter.common.lang, twitter.common.log, twitter.common.options, twitter.common.process, twitter.common.string, twitter.common.threading, twitter.common.util, twitter.common.contextutil
  Running setup.py install for twitter.common.collections
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.collections-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.config
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.config-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.confluence
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.confluence-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.decorators
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.decorators-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.dirutil
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.dirutil-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.lang
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.lang-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.log
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.log-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.options
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.options-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.process
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.process-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.string
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.string-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.threading
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.threading-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.util
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.util-0.3.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.contextutil
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/hogehoge/somewhere/repo/pants/build-support/pants_deps.venv/lib/python2.7/site-packages/twitter.common.contextutil-0.3.1-py2.7-nspkg.pth
Successfully installed twitter.common.collections twitter.common.config twitter.common.confluence twitter.common.decorators twitter.common.dirutil twitter.common.lang twitter.common.log twitter.common.options twitter.common.process twitter.common.string twitter.common.threading twitter.common.util twitter.common.contextutil
Cleaning up...
    fetching https://pypi.python.org/packages/source/s/setuptools/setuptools-5.4.1.zip#md5=96bd961ab481c78825a5be8546f42a66
    installing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpFWvDQ5/setuptools-5.4.1
    installed /Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.6.8/setuptools-5.4.1-py2.6.egg
    fetching https://pypi.python.org/packages/source/w/wheel/wheel-0.23.0.tar.gz#md5=273374d28127b821d61cdfe56e7c35dd
    installing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpJKOeP7/wheel-0.23.0
    installed /Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.6.8/wheel-0.23.0-py2.6.egg
    fetching https://pypi.python.org/packages/source/s/setuptools/setuptools-5.4.1.zip#md5=96bd961ab481c78825a5be8546f42a66
    installing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpSIDE9N/setuptools-5.4.1
    installed /Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.7.6/setuptools-5.4.1-py2.7.egg
    fetching https://pypi.python.org/packages/source/w/wheel/wheel-0.23.0.tar.gz#md5=273374d28127b821d61cdfe56e7c35dd
    installing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmp80J_1R/wheel-0.23.0
    installed /Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.7.6/wheel-0.23.0-py2.7.egg
    fetching https://pypi.python.org/packages/source/s/setuptools/setuptools-5.4.1.zip#md5=96bd961ab481c78825a5be8546f42a66
    installing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpXSEHqA/setuptools-5.4.1
    installed /Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.7.5/setuptools-5.4.1-py2.7.egg
    fetching https://pypi.python.org/packages/source/w/wheel/wheel-0.23.0.tar.gz#md5=273374d28127b821d61cdfe56e7c35dd
    installing /var/folders/6j/rhjkpzhd1xlc4bt35xf0x3500000gn/T/tmpn7thQ8/wheel-0.23.0
    installed /Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.7.5/wheel-0.23.0-py2.7.egg
Selected PythonInterpreter(u'/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6', PythonIdentity('CPython', 2, 6, 8), {(u'wheel', u'0.23.0'): u'/Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.6.8/wheel-0.23.0-py2.6.egg', (u'setuptools', u'5.4.1'): u'/Users/hogehoge/somewhere/repo/pants/.pants.d/python/interpreters/CPython-2.6.8/setuptools-5.4.1-py2.6.egg'})
Build operating on top level addresses: set([BuildFileAddress(/Users/hogehoge/somewhere/repo/pants/src/python/pants/bin/BUILD, pants)])
Building PythonBinary PythonBinary(BuildFileAddress(/Users/hogehoge/somewhere/repo/pants/src/python/pants/bin/BUILD, pants)):
Wrote /Users/hogehoge/somewhere/repo/pants/dist/pants.pex
/Users/hogehoge/somewhere/repo/pants/dist/pants.pex -> /Users/hogehoge/somewhere/repo/pants/pants.pex
Pants 0.0.23 https://pypi.python.org/pypi/pantsbuild.pants/0.0.23

Usage:
  ./pants goal [option ...] [goal ...] [target...]  Attempt the specified goals.
  ./pants goal help                                 Get help.
  ./pants goal help [goal]                          Get help for the specified goal.
  ./pants goal goals                                List all installed goals.

  [target] accepts two special forms:
    dir:  to include all targets in the specified directory.
    dir:: to include all targets found recursively under the directory.

Friendly docs:
  http://pantsbuild.github.io/

Global options:
  -h, --help              Show this help message.
  -t CONN_TIMEOUT, --timeout=CONN_TIMEOUT
                          Number of seconds to wait for http connections.
  -x, --time              Times tasks and goals and outputs a report.
  -e, --explain           Explain the execution of goals.
  -k, --kill-nailguns     Kill nailguns before exiting
  -d LOGDIR, --logdir=LOGDIR
                          [none] Write logs to files under this directory.
  -l LOG_LEVEL, --level=LOG_LEVEL
                          [info] Set the logging level [debug, info, warn].
  -q, --quiet             Squelches all console output apart from errors.
  -i INTERPRETER, --interpreter=INTERPRETER
                          Constrain what Python interpreters to use.  Uses
                          Requirement format from pkg_resources, e.g.
                          'CPython>=2.6,<3' or 'PyPy'. By default, no
                          constraints are used.  Multiple constraints may be
                          added.  They will be ORed together.
  --no-colors             Do not colorize log messages.
  --no-lock               Don't attempt to grab the global lock. This lock
                          prevents two concurrent pants instances from stomping
                          on each others data, so only use this if you know what
                          you're doing.
  --read-from-artifact-cache, --no-read-from-artifact-cache
                          Read build artifacts from cache, if available.
  --exclude-target-regexp=TARGET_EXCLUDES
                          Regex pattern to exclude from the target list (useful
                          in conjunction with ::). Multiple patterns may be
                          specified by setting this flag multiple times.
  --write-to-artifact-cache, --no-write-to-artifact-cache
                          Write build artifacts to cache, if possible.
  --print-exception-stacktrace
                          Print to console the full exception stack trace if
                          encountered.
```

必要な物がインストールされ、使い方が出てきます。
これで、パンツを使う準備が出来ました。