Skip to content

Instantly share code, notes, and snippets.

@tmm1
Created October 23, 2011 03:07
Show Gist options
  • Save tmm1/1306811 to your computer and use it in GitHub Desktop.
Save tmm1/1306811 to your computer and use it in GitHub Desktop.
brew2deb graphite package
tmm1@aux1:~/brew2deb/packages/graphite$ ls
formula.rb graphite-web init.d-carbon init.d-graphite init.d-statsd patches statsd.rb
tmm1@aux1:~/brew2deb/packages/graphite$ ../../bin/brew2deb
==> Cloning https://github.com/tmm1/graphite.git
Cloning into /home/tmm1/brew2deb/packages/graphite/src/graphite.git...
remote: Counting objects: 10564, done.
remote: Compressing objects: 100% (3731/3731), done.
remote: Total 10564 (delta 7061), reused 10137 (delta 6634)
Receiving objects: 100% (10564/10564), 15.56 MiB | 23.65 MiB/s, done.
Resolving deltas: 100% (7061/7061), done.
==> Checking out sha f224e02
==> Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.4.tar.gz
######################################################################## 100.0%
==> Extracing source
==> Downloading patches
==> Patching
patching file carbon/setup.cfg
patching file carbon/setup.py
Hunk #1 succeeded at 27 with fuzz 2.
patching file carbon/conf/carbon.conf.example
patching file carbon/lib/carbon/conf.py
Hunk #1 succeeded at 28 with fuzz 2 (offset 1 line).
patching file carbon/lib/carbon/conf.py
Hunk #1 succeeded at 459 (offset 15 lines).
patching file setup.cfg
patching file setup.py
Hunk #2 succeeded at 22 with fuzz 1.
patching file setup.py
Hunk #1 succeeded at 51 with fuzz 2 (offset -5 lines).
patching file webapp/graphite/settings.py
Hunk #1 succeeded at 33 (offset -2 lines).
patching file webapp/graphite/settings.py
Hunk #1 succeeded at 94 (offset 8 lines).
==> Compiling source
==> Installing binaries
New python executable in /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/python
A globally installed setuptools was found (in /usr/lib/python2.5/site-packages)
Use the --no-site-packages option to use distribute in the virtualenv.
Installing distribute....................................................................................................................................................................................done.
Installing pip...............done.
Downloading/unpacking http://cairographics.org/releases/pycairo-1.6.4.tar.gz (from -r requirements.txt (line 35))
Downloading pycairo-1.6.4.tar.gz (491Kb): 491Kb downloaded
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fcairographics.org%2Freleases%2Fpycairo-1.6.4.tar.gz
Running setup.py egg_info for package from http://cairographics.org/releases/pycairo-1.6.4.tar.gz
cairo >= 1.6.4 detected
Unpacking ./whisper
Running setup.py egg_info for package from file:///home/tmm1/brew2deb/packages/graphite/tmp-build/graphite.git/whisper
Downloading/unpacking Django==1.3 (from -r requirements.txt (line 29))
Downloading Django-1.3.tar.gz (6.5Mb): 6.5Mb downloaded
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FD%2FDjango%2FDjango-1.3.tar.gz
Running setup.py egg_info for package Django
Downloading/unpacking Twisted==11.0.0 (from -r requirements.txt (line 30))
Downloading Twisted-11.0.0.tar.bz2 (2.7Mb): 2.7Mb downloaded
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FT%2FTwisted%2FTwisted-11.0.0.tar.bz2
Running setup.py egg_info for package Twisted
Downloading/unpacking python-memcached==1.47 (from -r requirements.txt (line 31))
Downloading python-memcached-1.47.tar.gz
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpython-memcached%2Fpython-memcached-1.47.tar.gz
Running setup.py egg_info for package python-memcached
Downloading/unpacking txAMQP==0.4 (from -r requirements.txt (line 32))
Downloading txAMQP-0.4.tar.gz
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Ft%2FtxAMQP%2FtxAMQP-0.4.tar.gz
Running setup.py egg_info for package txAMQP
Downloading/unpacking simplejson==2.1.6 (from -r requirements.txt (line 33))
Downloading simplejson-2.1.6.tar.gz (52Kb): 52Kb downloaded
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fs%2Fsimplejson%2Fsimplejson-2.1.6.tar.gz
Running setup.py egg_info for package simplejson
Downloading/unpacking django-tagging==0.3.1 (from -r requirements.txt (line 34))
Downloading django-tagging-0.3.1.tar.gz
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fdjango-tagging%2Fdjango-tagging-0.3.1.tar.gz
Running setup.py egg_info for package django-tagging
Downloading/unpacking zope.interface (from Twisted==11.0.0->-r requirements.txt (line 30))
Downloading zope.interface-3.8.0.tar.gz (111Kb): 111Kb downloaded
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fz%2Fzope.interface%2Fzope.interface-3.8.0.tar.gz
Running setup.py egg_info for package zope.interface
Requirement already satisfied (use --upgrade to upgrade): distribute in /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages/distribute-0.6.19-py2.5.egg (from zope.interface->Twisted==11.0.0->-r requirements.txt (line 30))
Installing collected packages: Django, Twisted, python-memcached, txAMQP, simplejson, django-tagging, pycairo, whisper, zope.interface
Running setup.py install for Django
changing mode of build/scripts-2.5/django-admin.py from 644 to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/django-admin.py to 755
Running setup.py install for Twisted
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c conftest.c -o conftest.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c conftest.c -o conftest.o
building 'twisted.runner.portmap' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c twisted/runner/portmap.c -o build/temp.linux-x86_64-2.5/twisted/runner/portmap.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/twisted/runner/portmap.o -o build/lib.linux-x86_64-2.5/twisted/runner/portmap.so
building 'twisted.test.raiser' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c twisted/test/raiser.c -o build/temp.linux-x86_64-2.5/twisted/test/raiser.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/twisted/test/raiser.o -o build/lib.linux-x86_64-2.5/twisted/test/raiser.so
building 'twisted.python._epoll' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c twisted/python/_epoll.c -o build/temp.linux-x86_64-2.5/twisted/python/_epoll.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/twisted/python/_epoll.o -o build/lib.linux-x86_64-2.5/twisted/python/_epoll.so
building 'twisted.python._initgroups' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c twisted/python/_initgroups.c -o build/temp.linux-x86_64-2.5/twisted/python/_initgroups.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/twisted/python/_initgroups.o -o build/lib.linux-x86_64-2.5/twisted/python/_initgroups.so
building 'twisted.internet._sigchld' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c twisted/internet/_sigchld.c -o build/temp.linux-x86_64-2.5/twisted/internet/_sigchld.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/twisted/internet/_sigchld.o -o build/lib.linux-x86_64-2.5/twisted/internet/_sigchld.so
changing mode of build/scripts-2.5/tap2deb from 644 to 755
changing mode of build/scripts-2.5/mktap from 644 to 755
changing mode of build/scripts-2.5/tap2rpm from 644 to 755
changing mode of build/scripts-2.5/tapconvert from 644 to 755
changing mode of build/scripts-2.5/manhole from 644 to 755
changing mode of build/scripts-2.5/twistd from 644 to 755
changing mode of build/scripts-2.5/trial from 644 to 755
changing mode of build/scripts-2.5/pyhtmlizer from 644 to 755
changing mode of build/scripts-2.5/mailmail from 644 to 755
changing mode of build/scripts-2.5/cftp from 644 to 755
changing mode of build/scripts-2.5/conch from 644 to 755
changing mode of build/scripts-2.5/ckeygen from 644 to 755
changing mode of build/scripts-2.5/tkconch from 644 to 755
changing mode of build/scripts-2.5/lore from 644 to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/tap2deb to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/mktap to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/cftp to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/tap2rpm to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/conch to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/lore to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/tapconvert to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/ckeygen to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/manhole to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/tkconch to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/twistd to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/mailmail to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/trial to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/pyhtmlizer to 755
Running setup.py install for python-memcached
Running setup.py install for txAMQP
Running setup.py install for simplejson
building 'simplejson._speedups' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c simplejson/_speedups.c -o build/temp.linux-x86_64-2.5/simplejson/_speedups.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/simplejson/_speedups.o -o build/lib.linux-x86_64-2.5/simplejson/_speedups.so
Running setup.py install for django-tagging
Running setup.py install for pycairo
cairo >= 1.6.4 detected
building 'cairo._cairo' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/cairomodule.c -o build/temp.linux-x86_64-2.5/cairo/cairomodule.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/pycairo-context.c -o build/temp.linux-x86_64-2.5/cairo/pycairo-context.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/pycairo-font.c -o build/temp.linux-x86_64-2.5/cairo/pycairo-font.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/pycairo-matrix.c -o build/temp.linux-x86_64-2.5/cairo/pycairo-matrix.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/pycairo-path.c -o build/temp.linux-x86_64-2.5/cairo/pycairo-path.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/pycairo-pattern.c -o build/temp.linux-x86_64-2.5/cairo/pycairo-pattern.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/python2.5 -c cairo/pycairo-surface.c -o build/temp.linux-x86_64-2.5/cairo/pycairo-surface.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/cairo/cairomodule.o build/temp.linux-x86_64-2.5/cairo/pycairo-context.o build/temp.linux-x86_64-2.5/cairo/pycairo-font.o build/temp.linux-x86_64-2.5/cairo/pycairo-matrix.o build/temp.linux-x86_64-2.5/cairo/pycairo-path.o build/temp.linux-x86_64-2.5/cairo/pycairo-pattern.o build/temp.linux-x86_64-2.5/cairo/pycairo-surface.o -lcairo -o build/lib.linux-x86_64-2.5/cairo/_cairo.so
Running setup.py install for whisper
changing mode of build/scripts-2.5/whisper-create.py from 644 to 755
changing mode of build/scripts-2.5/whisper-resize.py from 644 to 755
changing mode of build/scripts-2.5/whisper-update.py from 644 to 755
changing mode of build/scripts-2.5/whisper-fetch.py from 644 to 755
changing mode of build/scripts-2.5/whisper-info.py from 644 to 755
changing mode of build/scripts-2.5/rrd2whisper.py from 644 to 755
changing mode of build/scripts-2.5/whisper-set-aggregation-method.py from 644 to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/whisper-create.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/whisper-resize.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/whisper-update.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/whisper-fetch.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/whisper-info.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/rrd2whisper.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/whisper-set-aggregation-method.py to 755
Running setup.py install for zope.interface
building 'zope.interface._zope_interface_coptimizations' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.linux-x86_64-2.5/src/zope/interface/_zope_interface_coptimizations.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.5/src/zope/interface/_zope_interface_coptimizations.o -o build/lib.linux-x86_64-2.5/zope/interface/_zope_interface_coptimizations.so
Skipping installation of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages/zope/__init__.py (namespace package)
Installing /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages/zope.interface-3.8.0-py2.5-nspkg.pth
Successfully installed Django Twisted python-memcached txAMQP simplejson django-tagging pycairo whisper zope.interface
Cleaning up...
Downloading/unpacking gunicorn
Downloading gunicorn-0.13.4.tar.gz (283Kb): 283Kb downloaded
Storing download in cache at /home/tmm1/brew2deb/packages/graphite/src/pip-download-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fg%2Fgunicorn%2Fgunicorn-0.13.4.tar.gz
Running setup.py egg_info for package gunicorn
warning: no files found matching '*' under directory 'debian'
Installing collected packages: gunicorn
Running setup.py install for gunicorn
warning: no files found matching '*' under directory 'debian'
Installing gunicorn_paster script to /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin
Installing gunicorn script to /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin
Installing gunicorn_django script to /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin
Successfully installed gunicorn
Cleaning up...
Unpacking ./carbon
Running setup.py egg_info for package from file:///home/tmm1/brew2deb/packages/graphite/tmp-build/graphite.git/carbon
package init file 'lib/twisted/plugins/__init__.py' not found (or not a regular file)
warning: no previously-included files found matching 'conf/*.conf'
Requirement already satisfied (use --upgrade to upgrade): twisted in /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages (from carbon==0.9.9)
Requirement already satisfied (use --upgrade to upgrade): txamqp in /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages (from carbon==0.9.9)
Requirement already satisfied (use --upgrade to upgrade): zope.interface in /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages (from twisted->carbon==0.9.9)
Requirement already satisfied (use --upgrade to upgrade): distribute in /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/lib/python2.5/site-packages/distribute-0.6.19-py2.5.egg (from zope.interface->twisted->carbon==0.9.9)
Installing collected packages: carbon
Running setup.py install for carbon
package init file 'lib/twisted/plugins/__init__.py' not found (or not a regular file)
changing mode of build/scripts-2.5/carbon-relay.py from 644 to 755
changing mode of build/scripts-2.5/validate-storage-schemas.py from 644 to 755
changing mode of build/scripts-2.5/carbon-cache.py from 644 to 755
changing mode of build/scripts-2.5/carbon-aggregator.py from 644 to 755
changing mode of build/scripts-2.5/carbon-client.py from 644 to 755
warning: no previously-included files found matching 'conf/*.conf'
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/carbon-relay.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/validate-storage-schemas.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/carbon-cache.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/carbon-aggregator.py to 755
changing mode of /home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite/bin/carbon-client.py to 755
Successfully installed carbon
Cleaning up...
==> python setup.py install --prefix=/home/tmm1/brew2deb/packages/graphite/tmp-install/usr/share/graphite --install-lib=/home/tmm1/brew2deb/packages/graphite/tmp-install/u
==> Packaging into a .deb
Created /home/tmm1/brew2deb/packages/graphite/pkg/graphite_0.9.9+github3-f224e02_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment