Installation: fatal error: ffi.h: No such file or directory

Bug #1503095 reported by Eric K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Eric K

Bug Description

When installing Congress stand-alone, the following error occurs on executing

pip install -r requirements.txt

---------------
    creating build/temp.linux-x86_64-2.7/c
    x86_64-linux-gnu-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
    c/_cffi_backend.c:13:17: fatal error: ffi.h: No such file or directory
     #include <ffi.h>
                     ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
---------------
Env Notes: Python 2.7.6; PIP: 7.1.2; Setuptools 18.3.2

Revision history for this message
Eric K (ekcs) wrote :

Amend the installation instructions to ask people to run the following before running pip install:

$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Changed in congress:
assignee: nobody → Eric K (ekcs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/231313

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (master)

Fix proposed to branch: master
Review: https://review.openstack.org/231315

Changed in congress:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/liberty)

Reviewed: https://review.openstack.org/231313
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=8e8ffd0f1b5ea92a5b7e29d562e584ef639863fe
Submitter: Jenkins
Branch: stable/liberty

commit 8e8ffd0f1b5ea92a5b7e29d562e584ef639863fe
Author: Eric K <email address hidden>
Date: Mon Oct 5 22:12:36 2015 -0700

    Amended install instructions in README.rst

    Purpose: helps users avoid several installation errors
    Changes:
    - added instruction to install requirements using pip
    - added instruction to install required packages build-essential,
    libssl-dev, libffi-dev

    DocImpact
    Closes-Bug: #1503094
    Closes-Bug: #1503095

    Change-Id: I484eda2e16edb2039add38c92720eb15d9274fd1

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/231315
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=46ca40dc220549eb7ee742fe5a410694b082ce12
Submitter: Jenkins
Branch: master

commit 46ca40dc220549eb7ee742fe5a410694b082ce12
Author: Eric K <email address hidden>
Date: Mon Oct 5 22:41:05 2015 -0700

    Amended install instructions in README.rst

    Purpose: helps users avoid several installation errors
    Changes:
    - added instruction to install requirements using pip
    - added instruction to install required packages build-essential,
    libssl-dev, libffi-dev

    DocImpact
    Closes-Bug: #1503094
    Closes-Bug: #1503095

    Change-Id: Iebdb25f259095be6e7e237c8a683f657ffeab92a

Changed in congress:
status: In Progress → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
status: Fix Committed → Fix Released
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress 2.0.0

This issue was fixed in the openstack/congress 2.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.