--
You received this message because you are subscribed to the Google Groups "OpenXC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openxc+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/openxc.
To view this discussion on the web visit https://groups.google.com/d/msgid/openxc/79c54396-8b08-4f5c-b8c2-643a0909923f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/openxc/9581557d-44ec-4846-93ef-ec18603d0b45%40googlegroups.com.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/fabric/main.py", line 594, in main
docstring, callables, default = load_fabfile(fabfile)
File "/usr/lib/python2.7/dist-packages/fabric/main.py", line 156, in load_fabfile
imported = importer(os.path.splitext(fabfile)[0])
File "/vagrant/fabfile.py", line 7, in <module>
from prettyprint import pp
ImportError: No module named prettyprint
I've followed the link above to the fix but the code in my script/bootstrap/arm.sh file is:
LIBLTO_SYMLINK="$GCC_INNER_DIR/lib/gcc/arm-none-eabi/4.8.4/liblto_plugin.so"
if ! test -e $LIBLTO_SYMLINK; then
# If running Vagrant in Windows, these dependency files are access via
# network share through Vagrant/Virtualbox, and symlinks are not
# supported. These files will be missing, so we have to copy where they
# are supposed to be symlinking to the properly named files.
cp "$LIBLTO_SYMLINK.0.0.0" $LIBLTO_SYMLINK
cp "$LIBLTO_SYMLINK.0.0.0" $LIBLTO_SYMLINK.0
fi
Can you explain what needs to be done to resolve this issue? Thanks.
Kyle
On Tuesday, August 12, 2014 at 10:14:52 PM UTC-4, Chris wrote:
Figured it out! https://github.com/openxc/vi-firmware/issues/259
Next person should have a much better time.
On Thursday, August 7, 2014 10:47:54 AM UTC-4, Steve S wrote:
ChrisWhen I enter find . -name liblto_plugin.so the command just returns to the prompt with no output.When I ls the two directories where your liblto_plugin.so was found I get the following results:
vag...@vagrant-ubuntu-trusty-64:/vagrant$ ls ./dependencies/gcc-arm-embedded/l
ib/gcc/arm-none-eabi/4.8.3
armv6-m cc1 crtend.o include libgcov.a plugin
armv7-ar cc1plus crti.o include-fixed liblto_plugin.so.0.0.0 thumb
armv7e-m collect2 crtn.o install-tools lto1
armv7-m crtbegin.o fpu libgcc.a lto-wrapper
vag...@vagrant-ubuntu-trusty-64:/vagrant$ ls ./dependencies/gcc-arm-embedded/g
cc-arm-none-eabi-4_8-2014q1/lib/gcc/arm-none-eabi/4.8.3
armv6-m cc1 crtend.o include libgcov.a plugin
armv7-ar cc1plus crti.o include-fixed liblto_plugin.so.0.0.0 thumb
armv7e-m collect2 crtn.o install-tools lto1
armv7-m crtbegin.o fpu libgcc.a lto-wrapper
File "/vagrant/fabfile.py", line 7, in <module>
from prettyprint import pp
ImportError: No module named prettyprint
% sudo pip install prettyprint
kyle-kellys-macbook:vi-firmware kal$ vagrant destroy
default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
kyle-kellys-macbook:vi-firmware kal$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/precise64' is up to date...
==> default: Setting the name of the VM: vi-firmware_default_1466531511771_64728
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.1.44
default: VirtualBox Version: 5.0
==> default: Mounting shared folders...
default: /vagrant => /Users/kal/Documents/MS EE/Summer 2016/Ford Research Internship/OpenXC/vi-firmware
==> default: Running provisioner: shell...
default: Running: inline script
==> default: ~/vi-firmware ~
==> default: Storing all downloaded dependencies in the "dependencies" folder
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following NEW packages will be installed:
==> default: libc6-i386
==> default: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 3,975 kB of archives.
==> default: After this operation, 9,692 kB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libc6-i386 amd64 2.15-0ubuntu10.15 [3,975 kB]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 3,975 kB in 2s (1,962 kB/s)
==> default: Selecting previously unselected package libc6-i386.
==> default: (Reading database ...
==> default: 66240 files and directories currently installed.)
==> default: Unpacking libc6-i386 (from .../libc6-i386_2.15-0ubuntu10.15_amd64.deb) ...
==> default: Setting up libc6-i386 (2.15-0ubuntu10.15) ...
==> default: Processing triggers for libc-bin ...
==> default: ldconfig deferred processing now taking place
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default: git-man liberror-perl
==> default: Suggested packages:
==> default: git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn
==> default: git-email git-gui gitk gitweb
==> default: The following NEW packages will be installed:
==> default: git git-man liberror-perl
==> default: 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 6,759 kB of archives.
==> default: After this operation, 15.2 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
==> default: Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main git-man all 1:1.7.9.5-1ubuntu0.3 [632 kB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main git amd64 1:1.7.9.5-1ubuntu0.3 [6,103 kB]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 6,759 kB in 4s (1,511 kB/s)
==> default: Selecting previously unselected package liberror-perl.
==> default: (Reading database ...
==> default: 66547 files and directories currently installed.)
==> default: Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
==> default: Selecting previously unselected package git-man.
==> default: Unpacking git-man (from .../git-man_1%3a1.7.9.5-1ubuntu0.3_all.deb) ...
==> default: Selecting previously unselected package git.
==> default: Unpacking git (from .../git_1%3a1.7.9.5-1ubuntu0.3_amd64.deb) ...
==> default: Processing triggers for man-db ...
==> default: Setting up liberror-perl (0.17-1) ...
==> default: Setting up git-man (1:1.7.9.5-1ubuntu0.3) ...
==> default: Setting up git (1:1.7.9.5-1ubuntu0.3) ...
==> default: Updating Git submodules...
==> default: Synchronizing submodule url for 'src/libs/AT-commander'
==> default: Synchronizing submodule url for 'src/libs/BSP'
==> default: Synchronizing submodule url for 'src/libs/CDL'
==> default: Synchronizing submodule url for 'src/libs/MLA'
==> default: Synchronizing submodule url for 'src/libs/STBTLE'
==> default: Synchronizing submodule url for 'src/libs/arduino.mk'
==> default: Synchronizing submodule url for 'src/libs/bitfield-c'
==> default: Synchronizing submodule url for 'src/libs/cJSON'
==> default: Synchronizing submodule url for 'src/libs/cmp'
==> default: Synchronizing submodule url for 'src/libs/emqueue'
==> default: Synchronizing submodule url for 'src/libs/http-parser'
==> default: Synchronizing submodule url for 'src/libs/isotp-c'
==> default: Synchronizing submodule url for 'src/libs/nanopb'
==> default: Synchronizing submodule url for 'src/libs/nxpUSBlib'
==> default: Synchronizing submodule url for 'src/libs/openxc-message-format'
==> default: Synchronizing submodule url for 'src/libs/uds-c'
==> default: Installing Python development headers...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default: libexpat1-dev libssl-dev libssl-doc python2.7-dev zlib1g-dev
==> default: The following NEW packages will be installed:
==> default: libexpat1-dev libssl-dev libssl-doc python-dev python2.7-dev zlib1g-dev
==> default: 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 32.5 MB of archives.
==> default: After this operation, 48.4 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1-dev amd64 2.0.1-7.2ubuntu1.4 [216 kB]
==> default: Get:2 http://archive.ubuntu.com/ubuntu/ precise/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3ubuntu4 [165 kB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5.36 [1,580 kB]
==> default: Get:4 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-doc all 1.0.1-4ubuntu5.36 [1,042 kB]
==> default: Get:5 http://archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.8 [29.5 MB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1,090 B]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 32.5 MB in 15s (2,109 kB/s)
==> default: Selecting previously unselected package libexpat1-dev.
==> default: (Reading database ...
==> default: 67196 files and directories currently installed.)
==> default: Unpacking libexpat1-dev (from .../libexpat1-dev_2.0.1-7.2ubuntu1.4_amd64.deb) ...
==> default: Selecting previously unselected package zlib1g-dev.
==> default: Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu4_amd64.deb) ...
==> default: Selecting previously unselected package libssl-dev.
==> default: Unpacking libssl-dev (from .../libssl-dev_1.0.1-4ubuntu5.36_amd64.deb) ...
==> default: Selecting previously unselected package libssl-doc.
==> default: Unpacking libssl-doc (from .../libssl-doc_1.0.1-4ubuntu5.36_all.deb) ...
==> default: Selecting previously unselected package python2.7-dev.
==> default: Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-0ubuntu3.8_amd64.deb) ...
==> default: Selecting previously unselected package python-dev.
==> default: Unpacking python-dev (from .../python-dev_2.7.3-0ubuntu2.2_amd64.deb) ...
==> default: Processing triggers for man-db ...
==> default: Setting up libexpat1-dev (2.0.1-7.2ubuntu1.4) ...
==> default: Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu4) ...
==> default: Setting up libssl-dev (1.0.1-4ubuntu5.36) ...
==> default: Setting up libssl-doc (1.0.1-4ubuntu5.36) ...
==> default: Setting up python2.7-dev (2.7.3-0ubuntu3.8) ...
==> default: Setting up python-dev (2.7.3-0ubuntu2.2) ...
==> default: Installing Pip...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following NEW packages will be installed:
==> default: python-setuptools
==> default: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
==> default: Need to get 441 kB of archives.
==> default: After this operation, 1,068 kB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 441 kB in 0s (659 kB/s)
==> default: Selecting previously unselected package python-setuptools.
==> default: (Reading database ...
==> default: 68791 files and directories currently installed.)
==> default: Unpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ...
==> default: Setting up python-setuptools (0.6.24-1ubuntu1) ...
==> default: Searching for pip
==> default: Reading http://pypi.python.org/simple/pip/
==> default: Best match: pip 8.1.2
==> default: Downloading https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz#md5=87083c0b9867963b29f7aba3613e8f4a
==> default: Processing pip-8.1.2.tar.gz
==> default: Running pip-8.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-H1a4wE/pip-8.1.2/egg-dist-tmp-8pWTwA
==> default: warning: no previously-included files found matching '.coveragerc'
==> default: warning: no previously-included files found matching '.mailmap'
==> default: warning: no previously-included files found matching '.travis.yml'
==> default: warning: no previously-included files found matching '.landscape.yml'
==> default: warning: no previously-included files found matching 'pip/_vendor/Makefile'
==> default: warning: no previously-included files found matching 'tox.ini'
==> default: warning: no previously-included files found matching 'dev-requirements.txt'
==> default: warning: no previously-included files found matching 'appveyor.yml'
==> default: no previously-included directories found matching '.github'
==> default: no previously-included directories found matching '.travis'
==> default: no previously-included directories found matching 'docs/_build'
==> default: no previously-included directories found matching 'contrib'
==> default: no previously-included directories found matching 'tasks'
==> default: no previously-included directories found matching 'tests'
==> default: Adding pip 8.1.2 to easy-install.pth file
==> default: Installing pip script to /usr/local/bin
==> default: Installing pip2.7 script to /usr/local/bin
==> default: Installing pip2 script to /usr/local/bin
==> default:
==> default: Installed /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg
==> default: Processing dependencies for pip
==> default: Finished processing dependencies for pip
==> default: The directory '/home/vagrant/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> default: The directory '/home/vagrant/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> default: Collecting openxc==0.13.0 (from -r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
==> default: SNIMissingWarning
==> default: /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
==> default: InsecurePlatformWarning
==> default: Downloading openxc-0.13.0.tar.gz (50kB)
==> default: Collecting pyusb==1.0.0a3 (from openxc==0.13.0->-r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: Downloading pyusb-1.0.0a3.tar.gz (40kB)
==> default: Collecting units>=0.5 (from openxc==0.13.0->-r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: Downloading units-0.06.tar.gz
==> default: Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from openxc==0.13.0->-r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: Collecting requests==2.4.1 (from openxc==0.13.0->-r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: Downloading requests-2.4.1-py2.py3-none-any.whl (458kB)
==> default: Collecting protobuf==2.6.1 (from openxc==0.13.0->-r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: Downloading protobuf-2.6.1.tar.gz (188kB)
==> default: Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from protobuf==2.6.1->openxc==0.13.0->-r /home/vagrant/vi-firmware/script/bootstrap/ci-requirements.txt (line 1))
==> default: Installing collected packages: pyusb, units, requests, protobuf, openxc
==> default: Running setup.py install for pyusb: started
==> default: Running setup.py install for pyusb: finished with status 'done'
==> default: Running setup.py install for units: started
==> default: Running setup.py install for units: finished with status 'done'
==> default: Running setup.py install for protobuf: started
==> default: Running setup.py install for protobuf: finished with status 'done'
==> default: Running setup.py install for openxc: started
==> default: Running setup.py install for openxc: finished with status 'done'
==> default: Successfully installed openxc-0.13.0 protobuf-2.6.1 pyusb-1.0.0a3 requests-2.4.1 units-0.6
==> default: /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
==> default: InsecurePlatformWarning
==> default: The directory '/home/vagrant/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> default: The directory '/home/vagrant/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
==> default: Collecting Fabric==1.9.0 (from -r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
==> default: SNIMissingWarning
==> default: /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
==> default: InsecurePlatformWarning
==> default: Downloading Fabric-1.9.0-py2-none-any.whl (92kB)
==> default: Collecting ecdsa==0.11 (from -r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 2))
==> default: Downloading ecdsa-0.11.tar.gz (45kB)
==> default: Collecting prettyprint==0.1.5 (from -r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 3))
==> default: Downloading prettyprint-0.1.5.tar.gz
==> default: Collecting paramiko>=1.10 (from Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading paramiko-2.0.0-py2.py3-none-any.whl (170kB)
==> default: Collecting pyasn1>=0.1.7 (from paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading pyasn1-0.1.9-py2.py3-none-any.whl
==> default: Collecting cryptography>=1.1 (from paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading cryptography-1.4.tar.gz (399kB)
==> default: Collecting idna>=2.0 (from cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading idna-2.1-py2.py3-none-any.whl (54kB)
==> default: Collecting six>=1.4.1 (from cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading six-1.10.0-py2.py3-none-any.whl
==> default: Collecting setuptools>=11.3 (from cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading setuptools-23.0.0-py2.py3-none-any.whl (435kB)
==> default: Collecting enum34 (from cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading enum34-1.1.6-py2-none-any.whl
==> default: Collecting ipaddress (from cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading ipaddress-1.0.16-py27-none-any.whl
==> default: Collecting cffi>=1.4.1 (from cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading cffi-1.7.0.tar.gz (400kB)
==> default: Collecting pycparser (from cffi>=1.4.1->cryptography>=1.1->paramiko>=1.10->Fabric==1.9.0->-r /home/vagrant/vi-firmware/script/bootstrap/pip-requirements.txt (line 1))
==> default: Downloading pycparser-2.14.tar.gz (223kB)
==> default: Installing collected packages: pyasn1, idna, six, setuptools, enum34, ipaddress, pycparser, cffi, cryptography, paramiko, Fabric, ecdsa, prettyprint
==> default: Found existing installation: pyasn1 0.0.11a0
==> default: Uninstalling pyasn1-0.0.11a0:
==> default: Successfully uninstalled pyasn1-0.0.11a0
==> default: Found existing installation: setuptools 0.6rc11
==> default: DEPRECATION: Uninstalling a distutils installed project (setuptools) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
==> default: Uninstalling setuptools-0.6rc11:
==> default: Successfully uninstalled setuptools-0.6rc11
==> default: Running setup.py install for pycparser: started
==> default: Running setup.py install for pycparser: finished with status 'done'
==> default: Running setup.py install for cffi: started
==> default: Running setup.py install for cffi: finished with status 'error'
==> default: Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fRKq4Q/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-N4_DN5-record/install-record.txt --single-version-externally-managed --compile:
==> default: running install
==> default: running build
==> default: running build_py
==> default: creating build
==> default: creating build/lib.linux-x86_64-2.7
==> default: creating build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/recompiler.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/lock.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/cparser.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/vengine_gen.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/ffiplatform.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/model.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/__init__.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/commontypes.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/api.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/verifier.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/_cffi_include.h -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/parse_c_type.h -> build/lib.linux-x86_64-2.7/cffi
==> default: copying cffi/_embedding.h -> build/lib.linux-x86_64-2.7/cffi
==> default: running build_ext
==> default: building '_cffi_backend' extension
==> default: creating build/temp.linux-x86_64-2.7
==> default: creating build/temp.linux-x86_64-2.7/c
==> default: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
==> default: c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
==> default: compilation terminated.
==> default: error: command 'gcc' failed with exit status 1
==> default:
==> default: ----------------------------------------
==> default: Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-fRKq4Q/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-N4_DN5-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-fRKq4Q/cffi/
==> default: /usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
==> default: InsecurePlatformWarning
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
I don't know how to proceed. Any advice would be appreciated.
Kyle
% vagrant ssh% sudo apt-get install libffi-dev% exit% vagrant up --provision