keystone install from source doc missing libffi-devel (fedora)

Bug #1485687 reported by algerwang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
algerwang

Bug Description

In http://docs.openstack.org/developer/keystone/setup.html [Fedora 19+].

when I execute command "python tools/install_venv.py", appear error as follow:

building '_cffi_backend' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/c
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -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::ffi.h

    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-scQlSO/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-BRdoTg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-scQlSO/cffi
Command "tools/with_venv.sh pip install --upgrade -r /root/keystone/requirements.txt -r /root/keystone/test-requirements.txt" failed.

algerwang (wang-weijie)
Changed in keystone:
assignee: nobody → algerwang (wang-weijie)
algerwang (wang-weijie)
summary: - key install from source doc missing libffi-devel (fedora)
+ keystone install from source doc missing libffi-devel (fedora)
Dolph Mathews (dolph)
tags: added: docs low-hanging-fruit
Changed in keystone:
importance: Undecided → Low
tags: added: documentation
removed: docs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

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

Reviewed: https://review.openstack.org/213979
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=48560e4de5892a6541123aba5fa8d5acf2c16d13
Submitter: Jenkins
Branch: master

commit 48560e4de5892a6541123aba5fa8d5acf2c16d13
Author: algerwang <wang.weijie@99cloud.net>
Date: Tue Aug 18 10:38:07 2015 +0800

    Update 'doc/source/setup.rst'.

    Change Fedora's dependencies, Because it's error:
    missing libffi-devel, python-sqlite2 not required

    Change-Id: Iba9bc84e785f6508d86e7c7914abe2be041b6620
    Closes-Bug: #1485687

Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: liberty-3 → 8.0.0
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.