==> default: Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->pwntools)
==> default: Installing collected packages: pwntools, paramiko, mako, pyelftools, capstone, ropgadget, pyserial, psutil, cryptography, MarkupSafe, idna, setuptools, enum34, ipaddress, cffi
==> default: Running setup.py install for pwntools
==> default:
==> default: Installing unhex script to /usr/local/bin
==> default: Installing elfpatch script to /usr/local/bin
==> default: Installing constgrep script to /usr/local/bin
==> default: Installing cyclic script to /usr/local/bin
==> default: Installing hex script to /usr/local/bin
==> default: Installing disasm script to /usr/local/bin
==> default: Installing elfdiff script to /usr/local/bin
==> default: Installing shellcraft script to /usr/local/bin
==> default: Installing phd script to /usr/local/bin
==> default: Installing asm script to /usr/local/bin
==> default: Running setup.py install for mako
==> default:
==> default: warning: no files found matching '.xml' under directory 'examples'
==> default: warning: no files found matching '.mako' under directory 'examples'
==> default: warning: no files found matching 'distribute_setup.py'
==> default: warning: no files found matching 'ez_setup.py'
==> default: no previously-included directories found matching 'doc/build/output'
==> default: Installing mako-render script to /usr/local/bin
==> default: Running setup.py install for pyelftools
==> default: changing mode of build/scripts-2.7/readelf.py from 644 to 755
==> default:
==> default: changing mode of /usr/local/bin/readelf.py to 755
==> default: Running setup.py install for capstone
==> default:
==> default: Running setup.py install for ropgadget
==> default: changing mode of build/scripts-2.7/ROPgadget from 644 to 755
==> default:
==> default: changing mode of /usr/local/bin/ROPgadget to 755
==> default: Running setup.py install for pyserial
==> default: changing mode of build/scripts-2.7/miniterm.py from 644 to 755
==> default:
==> default: changing mode of /usr/local/bin/miniterm.py to 755
==> default: Running setup.py install for psutil
==> default: building 'psutil._psutil_linux' extension
==> default: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_VERSION=410 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
==> default: x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so
==> default: building 'psutil._psutil_posix' extension
==> default: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
==> default: x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.linux-x86_64-2.7/psutil/psutil_posix.so
==> default:
==> default: warning: no previously-included files matching '' found under directory 'docs/_build'
==> default: Found existing installation: cryptography 0.6.1
==> default: Not uninstalling cryptography at /usr/lib/python2.7/dist-packages, owned by OS
==> default: Running setup.py install for cryptography
==> default: c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
==> default: #include <ffi.h>
==> default: ^
==> default: compilation terminated.
==> default: Traceback (most recent call last):
==> default: File "", line 1, in
==> default: File "/tmp/pip-build-PitJhb/cryptography/setup.py", line 335, in
==> default: *_keywords_with_side_effects(sys.argv)
==> default: File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
==> default: _setup_distribution = dist = klass(attrs)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 262, in init
==> default: self.fetch_build_eggs(attrs['setup_requires'])
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
==> default: replace_conflicting=True,
==> default: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 631, in resolve
==> default: dist = best[req.key] = env.best_match(req, ws, installer)
==> default: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 874, in best_match
==> default: return self.obtain(req, installer)
==> default: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 886, in obtain
==> default: return installer(requirement)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
==> default: return cmd.easy_install(req)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
==> default: return self.install_item(spec, dist.location, tmpdir, deps)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
==> default: dists = self.install_eggs(spec, download, tmpdir)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
==> default: return self.build_and_install(setup_script, setup_base)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
==> default: self.run_setup(setup_script, setup_base, args)
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
==> default: raise DistutilsError("Setup script exited with %s" % (v.args[0],))
==> default: distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
==> default: Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-PitJhb/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-rsWw1a-record/install-record.txt --single-version-externally-managed --compile:
==> default: c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
==> default:
==> default: #include <ffi.h>
==> default:
==> default: ^
==> default:
==> default: compilation terminated.
==> default:
==> default: Traceback (most recent call last):
==> default:
==> default: File "", line 1, in
==> default:
==> default: File "/tmp/pip-build-PitJhb/cryptography/setup.py", line 335, in
==> default:
==> default: **keywords_with_side_effects(sys.argv)
==> default:
==> default: File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
==> default:
==> default: _setup_distribution = dist = klass(attrs)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 262, in init
==> default:
==> default: self.fetch_build_eggs(attrs['setup_requires'])
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
==> default:
==> default: replace_conflicting=True,
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 631, in resolve
==> default:
==> default: dist = best[req.key] = env.best_match(req, ws, installer)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 874, in best_match
==> default:
==> default: return self.obtain(req, installer)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 886, in obtain
==> default:
==> default: return installer(requirement)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 338, in fetch_build_egg
==> default:
==> default: return cmd.easy_install(req)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 636, in easy_install
==> default:
==> default: return self.install_item(spec, dist.location, tmpdir, deps)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 666, in install_item
==> default:
==> default: dists = self.install_eggs(spec, download, tmpdir)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 856, in install_eggs
==> default:
==> default: return self.build_and_install(setup_script, setup_base)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1078, in build_and_install
==> default:
==> default: self.run_setup(setup_script, setup_base, args)
==> default:
==> default: File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1066, in run_setup
==> default:
==> default: raise DistutilsError("Setup script exited with %s" % (v.args[0],))
==> default:
==> default: distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
==> default:
==> default: ----------------------------------------
==> default: Can't roll back cryptography; was not uninstalled
==> default: Cleaning up...
==> default: Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-PitJhb/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-rsWw1a-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-PitJhb/cryptography
==> default: Storing debug log for failure in /root/.pip/pip.log
...