Skip to content

Instantly share code, notes, and snippets.

@rutsky
Created April 19, 2016 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rutsky/75a9873bbf3150f7e94f6790cdb691ab to your computer and use it in GitHub Desktop.
Save rutsky/75a9873bbf3150f7e94f6790cdb691ab to your computer and use it in GitHub Desktop.
Install Buildbot master[docs] without enchant native library
$ sudo docker run -ti --rm -v $PWD/buildbot:/buildbot python:2.7 /bin/bash
root@7d76ec1e95ad:/# pip install -e /buildbot/master/[docs]
Obtaining file:///buildbot/master
Collecting Twisted>=14.0.1 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading Twisted-16.1.1.tar.bz2 (2.9MB)
100% |████████████████████████████████| 2.9MB 367kB/s
Collecting Jinja2>=2.1 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
100% |████████████████████████████████| 266kB 2.4MB/s
Collecting zope.interface>=4.1.1 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading zope.interface-4.1.3.tar.gz (141kB)
100% |████████████████████████████████| 143kB 950kB/s
Collecting future (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading future-0.15.2.tar.gz (1.6MB)
100% |████████████████████████████████| 1.6MB 608kB/s
Collecting sqlalchemy>=0.8.0 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading SQLAlchemy-1.0.12.tar.gz (4.7MB)
100% |████████████████████████████████| 4.8MB 221kB/s
Collecting sqlalchemy-migrate>=0.9 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading sqlalchemy_migrate-0.10.0-py2-none-any.whl (108kB)
100% |████████████████████████████████| 112kB 1.2MB/s
Collecting python-dateutil>=1.5 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading python_dateutil-2.5.2-py2.py3-none-any.whl (201kB)
100% |████████████████████████████████| 204kB 1.5MB/s
Collecting txaio>=2.2.2 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading txaio-2.3.1-py2.py3-none-any.whl
Collecting autobahn>=0.10.2 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading autobahn-0.13.1.tar.gz (168kB)
100% |████████████████████████████████| 174kB 2.6MB/s
Collecting sphinx==1.3.3 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading Sphinx-1.3.3-py2.py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 629kB/s
Collecting sphinxcontrib-blockdiag (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading sphinxcontrib_blockdiag-1.5.5-py2.py3-none-any.whl
Collecting sphinxcontrib-spelling (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading sphinxcontrib-spelling-2.1.2.tar.gz
Collecting pyenchant (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading pyenchant-1.6.6-py2.py3-none-any.whl (60kB)
100% |████████████████████████████████| 61kB 1.4MB/s
Collecting docutils>=0.8 (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading docutils-0.12.tar.gz (1.6MB)
100% |████████████████████████████████| 1.6MB 622kB/s
Collecting ramlfications (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading ramlfications-0.1.9-py2.py3-none-any.whl (49kB)
100% |████████████████████████████████| 51kB 2.7MB/s
Collecting sphinx-jinja (from buildbot===0.9.0b8-67-g9f3e79a)
Downloading sphinx_jinja-0.2.1-py2-none-any.whl
Collecting MarkupSafe (from Jinja2>=2.1->buildbot===0.9.0b8-67-g9f3e79a)
Downloading MarkupSafe-0.23.tar.gz
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/site-packages (from zope.interface>=4.1.1->buildbot===0.9.0b8-67-g9f3e79a)
Collecting pbr<2.0,>=1.3 (from sqlalchemy-migrate>=0.9->buildbot===0.9.0b8-67-g9f3e79a)
Downloading pbr-1.9.1-py2.py3-none-any.whl (96kB)
100% |████████████████████████████████| 102kB 1.3MB/s
Collecting six>=1.7.0 (from sqlalchemy-migrate>=0.9->buildbot===0.9.0b8-67-g9f3e79a)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting sqlparse (from sqlalchemy-migrate>=0.9->buildbot===0.9.0b8-67-g9f3e79a)
Downloading sqlparse-0.1.19.tar.gz (58kB)
100% |████████████████████████████████| 61kB 923kB/s
Collecting decorator (from sqlalchemy-migrate>=0.9->buildbot===0.9.0b8-67-g9f3e79a)
Downloading decorator-4.0.9-py2.py3-none-any.whl
Collecting Tempita>=0.4 (from sqlalchemy-migrate>=0.9->buildbot===0.9.0b8-67-g9f3e79a)
Downloading Tempita-0.5.2.tar.gz
Collecting babel!=2.0,>=1.3 (from sphinx==1.3.3->buildbot===0.9.0b8-67-g9f3e79a)
Downloading Babel-2.3.3-py2.py3-none-any.whl (7.1MB)
100% |████████████████████████████████| 7.1MB 184kB/s
Collecting snowballstemmer>=1.1 (from sphinx==1.3.3->buildbot===0.9.0b8-67-g9f3e79a)
Downloading snowballstemmer-1.2.1-py2.py3-none-any.whl (64kB)
100% |████████████████████████████████| 71kB 2.5MB/s
Collecting sphinx-rtd-theme<2.0,>=0.1 (from sphinx==1.3.3->buildbot===0.9.0b8-67-g9f3e79a)
Downloading sphinx_rtd_theme-0.1.9-py2-none-any.whl (693kB)
100% |████████████████████████████████| 696kB 794kB/s
Collecting Pygments>=2.0 (from sphinx==1.3.3->buildbot===0.9.0b8-67-g9f3e79a)
Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB)
100% |████████████████████████████████| 757kB 785kB/s
Collecting alabaster<0.8,>=0.7 (from sphinx==1.3.3->buildbot===0.9.0b8-67-g9f3e79a)
Downloading alabaster-0.7.7-py2.py3-none-any.whl
Collecting blockdiag>=1.5.0 (from sphinxcontrib-blockdiag->buildbot===0.9.0b8-67-g9f3e79a)
Downloading blockdiag-1.5.3-py2.py3-none-any.whl (2.7MB)
100% |████████████████████████████████| 2.7MB 250kB/s
Collecting click (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading click-6.6.tar.gz (283kB)
100% |████████████████████████████████| 286kB 1.0MB/s
Collecting markdown2 (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading markdown2-2.3.1.zip (147kB)
100% |████████████████████████████████| 153kB 620kB/s
Collecting termcolor (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading termcolor-1.1.0.tar.gz
Collecting attrs (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading attrs-15.2.0-py2.py3-none-any.whl
Collecting xmltodict (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading xmltodict-0.10.1.tar.gz
Collecting jsonref (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading jsonref-0.1.tar.gz
Collecting pyyaml (from ramlfications->buildbot===0.9.0b8-67-g9f3e79a)
Downloading PyYAML-3.11.tar.gz (248kB)
100% |████████████████████████████████| 256kB 1.3MB/s
Collecting pytz>=0a (from babel!=2.0,>=1.3->sphinx==1.3.3->buildbot===0.9.0b8-67-g9f3e79a)
Downloading pytz-2016.3-py2.py3-none-any.whl (479kB)
100% |████████████████████████████████| 481kB 1.0MB/s
Collecting Pillow (from blockdiag>=1.5.0->sphinxcontrib-blockdiag->buildbot===0.9.0b8-67-g9f3e79a)
Downloading Pillow-3.2.0.tar.gz (10.3MB)
100% |████████████████████████████████| 10.3MB 137kB/s
Collecting funcparserlib (from blockdiag>=1.5.0->sphinxcontrib-blockdiag->buildbot===0.9.0b8-67-g9f3e79a)
Downloading funcparserlib-0.3.6.tar.gz
Collecting webcolors (from blockdiag>=1.5.0->sphinxcontrib-blockdiag->buildbot===0.9.0b8-67-g9f3e79a)
Downloading webcolors-1.5.tar.gz
Building wheels for collected packages: Twisted, zope.interface, future, sqlalchemy, autobahn, sphinxcontrib-spelling, docutils, MarkupSafe, sqlparse, Tempita, click, markdown2, termcolor, xmltodict, jsonref, pyyaml, Pillow, funcparserlib, webcolors
Running setup.py bdist_wheel for Twisted ... done
Stored in directory: /root/.cache/pip/wheels/fb/bb/b7/e97e0490497b29e351f23b6ab1581fe23b8179e0131653d93b
Running setup.py bdist_wheel for zope.interface ... done
Stored in directory: /root/.cache/pip/wheels/c9/15/5b/3a7e3c7c3b67b5ee002c0ebe8ac1f46ec3c0379c5037c6ab71
Running setup.py bdist_wheel for future ... done
Stored in directory: /root/.cache/pip/wheels/d9/04/36/6bd807b5148e7c929d8f0991cc943a81f3287030a1b352e3fc
Running setup.py bdist_wheel for sqlalchemy ... done
Stored in directory: /root/.cache/pip/wheels/ac/7f/71/77897285b1a0d19e2251d87cbc8f6f215b2d0be05ef36a3a5f
Running setup.py bdist_wheel for autobahn ... done
Stored in directory: /root/.cache/pip/wheels/01/89/50/e6fa4a1cd692c1dfa426486c70419b4922f920160b33cae113
Running setup.py bdist_wheel for sphinxcontrib-spelling ... done
Stored in directory: /root/.cache/pip/wheels/12/d1/20/60d34d59f18ec17f0d2bf295fd04f93422ae3fe487ac2f3e8b
Running setup.py bdist_wheel for docutils ... done
Stored in directory: /root/.cache/pip/wheels/d5/32/4f/1347e8ac67071e8150a5dc69354a51a04ac065d0b48334f608
Running setup.py bdist_wheel for MarkupSafe ... done
Stored in directory: /root/.cache/pip/wheels/94/a7/79/f79a998b64c1281cb99fa9bbd33cfc9b8b5775f438218d17a7
Running setup.py bdist_wheel for sqlparse ... done
Stored in directory: /root/.cache/pip/wheels/7b/d4/72/6011bb100dd5fc213164e4bbee13d4e03261dd54ce6a5de6b8
Running setup.py bdist_wheel for Tempita ... done
Stored in directory: /root/.cache/pip/wheels/2f/70/ff/ffaf15f2ae7e8ccee9a6024295c3100a72a497fbaa0ae7890f
Running setup.py bdist_wheel for click ... done
Stored in directory: /root/.cache/pip/wheels/85/34/73/74fc76049d890d131db55346df1c8821b4d42468a993b2315e
Running setup.py bdist_wheel for markdown2 ... done
Stored in directory: /root/.cache/pip/wheels/5b/d2/99/da289ca5df07049044a7365b55803dca83714a92ae757086ab
Running setup.py bdist_wheel for termcolor ... done
Stored in directory: /root/.cache/pip/wheels/ad/7b/3a/b213d6375a91076f20681a1d97550d04b8a7a371f0316a79f1
Running setup.py bdist_wheel for xmltodict ... done
Stored in directory: /root/.cache/pip/wheels/06/23/c0/b5e91910dc6261d118f437bc4c487972e3b00147e09372f8bc
Running setup.py bdist_wheel for jsonref ... done
Stored in directory: /root/.cache/pip/wheels/d0/a0/08/95a91236fdd7254d79954fd2ce035c6c33f63ee66e98578680
Running setup.py bdist_wheel for pyyaml ... done
Stored in directory: /root/.cache/pip/wheels/fa/db/f6/dee55793d344f1706dc4a5a693298f0115241d1085cc212364
Running setup.py bdist_wheel for Pillow ... done
Stored in directory: /root/.cache/pip/wheels/bc/7e/44/ff18d3be67549e6336f50ace425e05269579fd33140dfe17c7
Running setup.py bdist_wheel for funcparserlib ... done
Stored in directory: /root/.cache/pip/wheels/1d/4f/13/694848fa3a4ca3d7080c606603dc8f92d26d55c8c0abb1fe9d
Running setup.py bdist_wheel for webcolors ... done
Stored in directory: /root/.cache/pip/wheels/0a/9b/89/83fb075ab22d93e6525de4a6b29fa42e2a49f070a19e0dcd3a
Successfully built Twisted zope.interface future sqlalchemy autobahn sphinxcontrib-spelling docutils MarkupSafe sqlparse Tempita click markdown2 termcolor xmltodict jsonref pyyaml Pillow funcparserlib webcolors
Installing collected packages: zope.interface, Twisted, MarkupSafe, Jinja2, future, sqlalchemy, pbr, six, sqlparse, decorator, Tempita, sqlalchemy-migrate, python-dateutil, txaio, autobahn, pytz, babel, snowballstemmer, sphinx-rtd-theme, Pygments, docutils, alabaster, sphinx, Pillow, funcparserlib, webcolors, blockdiag, sphinxcontrib-blockdiag, sphinxcontrib-spelling, pyenchant, click, markdown2, termcolor, attrs, xmltodict, jsonref, pyyaml, ramlfications, sphinx-jinja, buildbot
Running setup.py develop for buildbot
Successfully installed Jinja2-2.8 MarkupSafe-0.23 Pillow-3.2.0 Pygments-2.1.3 Tempita-0.5.2 Twisted-16.1.1 alabaster-0.7.7 attrs-15.2.0 autobahn-0.13.1 babel-2.3.3 blockdiag-1.5.3 buildbot click-6.6 decorator-4.0.9 docutils-0.12 funcparserlib-0.3.6 future-0.15.2 jsonref-0.1 markdown2-2.3.1 pbr-1.9.1 pyenchant-1.6.6 python-dateutil-2.5.2 pytz-2016.3 pyyaml-3.11 ramlfications-0.1.9 six-1.10.0 snowballstemmer-1.2.1 sphinx-1.3.3 sphinx-jinja-0.2.1 sphinx-rtd-theme-0.1.9 sphinxcontrib-blockdiag-1.5.5 sphinxcontrib-spelling-2.1.2 sqlalchemy-1.0.12 sqlalchemy-migrate-0.10.0 sqlparse-0.1.19 termcolor-1.1.0 txaio-2.3.1 webcolors-1.5 xmltodict-0.10.1 zope.interface-4.1.3
root@7d76ec1e95ad:/#
root@7d76ec1e95ad:/#
root@7d76ec1e95ad:/# make -C /buildbot/master/docs/ html
make: Entering directory '/buildbot/master/docs'
sphinx-build -b html -d _build/doctrees -q -W . _build/html
enchant module import failed:
The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI.
Spell checking disabled.
Build finished. The HTML pages are in _build/html.
make: Leaving directory '/buildbot/master/docs'
root@7d76ec1e95ad:/# echo $?
0
root@7d76ec1e95ad:/# ls -l /buildbot/master/docs/_build/html/
total 3356
drwxrwxr-x 2 1000 1000 4096 Apr 19 04:00 _images
drwxrwxr-x 6 1000 1000 4096 Feb 23 01:53 _sources
drwxrwxr-x 2 1000 1000 4096 Feb 23 01:53 _static
-rw-rw-r-- 1 1000 1000 12780 Apr 19 20:10 bb-cfg.html
-rw-rw-r-- 1 1000 1000 7320 Apr 19 20:10 bb-chsrc.html
-rw-rw-r-- 1 1000 1000 7256 Apr 19 20:10 bb-cmdline.html
-rw-rw-r-- 1 1000 1000 4324 Apr 19 20:10 bb-event.html
-rw-rw-r-- 1 1000 1000 5345 Apr 19 20:10 bb-reporter.html
-rw-rw-r-- 1 1000 1000 18874 Apr 19 20:10 bb-rpath.html
-rw-rw-r-- 1 1000 1000 8968 Apr 19 20:10 bb-rtype.html
-rw-rw-r-- 1 1000 1000 8210 Apr 19 20:10 bb-sched.html
-rw-rw-r-- 1 1000 1000 19930 Apr 19 20:10 bb-step.html
drwxrwxr-x 2 1000 1000 4096 Apr 19 04:00 developer
-rw-rw-r-- 1 1000 1000 2858801 Feb 23 01:53 full.html
-rw-rw-r-- 1 1000 1000 215015 Apr 19 20:10 genindex.html
-rw-rw-r-- 1 1000 1000 9021 Apr 19 20:10 index.html
-rw-rw-r-- 1 1000 1000 5861 Apr 19 20:10 indices.html
drwxrwxr-x 3 1000 1000 4096 Feb 23 22:34 manual
-rw-rw-r-- 1 1000 1000 10329 Apr 19 20:10 objects.inv
-rw-rw-r-- 1 1000 1000 17895 Apr 19 20:10 py-modindex.html
drwxrwxr-x 2 1000 1000 4096 Feb 23 01:53 relnotes
-rw-rw-r-- 1 1000 1000 3936 Apr 19 20:10 search.html
-rw-r--r-- 1 root root 159618 Apr 19 20:10 searchindex.js
drwxrwxr-x 2 1000 1000 4096 Feb 23 01:53 tutorial
root@7d76ec1e95ad:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment