Hello,
I was trying to upgrade from Reviewboard 2.5.6.1 to 2.5.16 and hitting the error below. I tried to install the libffi-devel and have it in my sytem:
rpm -qa | grep libffi
libffi43-devel-4.3.4_20091019-0.37.28
libffi-devel-4.3-62.200.2
libffi43-4.3.4_20091019-0.37.28
I tried to set the PKG_CONFIG_PATH as well did not help. Can you please let me know how can I pass this error:
Searching for ReviewBoard
Reading
https://pypi.python.org/simple/ReviewBoard/Best match: ReviewBoard 2.5.16
Downloading
https://pypi.python.org/packages/cc/3a/caa3c86633230a4886232f6ecb95e95d4e33eaf0671fe88d6ec29308f139/ReviewBoard-2.5.16-py2.6.egg#md5=ae4506a623e615072dcbd4536273c158Processing ReviewBoard-2.5.16-py2.6.egg
removing '/usr/local/lib64/python2.6/site-packages/ReviewBoard-2.5.16-py2.6.egg' (and everything under it)
creating /usr/local/lib64/python2.6/site-packages/ReviewBoard-2.5.16-py2.6.egg
Extracting ReviewBoard-2.5.16-py2.6.egg to /usr/local/lib64/python2.6/site-packages
ReviewBoard 2.5.16 is already the active version in easy-install.pth
Installing rbext script to /usr/local/bin
Installing rbssh script to /usr/local/bin
Installing rb-site script to /usr/local/bin
Installed /usr/local/lib64/python2.6/site-packages/ReviewBoard-2.5.16-py2.6.egg
Processing dependencies for ReviewBoard
Searching for cryptography>=1.8.1
Reading
https://pypi.python.org/simple/cryptography/Best match: cryptography 2.1.1
Downloading
https://pypi.python.org/packages/bf/da/6a9f49cc7a970380c8235b3adab0c08c7c3d4814876f7383b33e3882a577/cryptography-2.1.1.tar.gz#md5=fa98118b468020349a798776aac6d572Processing cryptography-2.1.1.tar.gz
Writing /tmp/easy_install-upAX7y/cryptography-2.1.1/setup.cfg
Running cryptography-2.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-upAX7y/cryptography-2.1.1/egg-dist-tmp-7LJdD6
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
compiling '_configtest.c':
__thread int some_threadlocal_variable_42;
compiling '_configtest.c':
int main(void) { __sync_synchronize(); return 0; }
Installed /tmp/easy_install-upAX7y/cryptography-2.1.1/.eggs/cffi-1.11.2-py2.6-linux-x86_64.egg
Searching for pycparser
Reading
https://pypi.python.org/simple/pycparser/Best match: pycparser 2.18
Downloading
https://pypi.python.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz#md5=72370da54358202a60130e223d488136Processing pycparser-2.18.tar.gz
Writing /tmp/easy_install-upAX7y/cryptography-2.1.1/temp/easy_install-pBwgVl/pycparser-2.18/setup.cfg
Running pycparser-2.18/setup.py -q bdist_egg --dist-dir /tmp/easy_install-upAX7y/cryptography-2.1.1/temp/easy_install-pBwgVl/pycparser-2.18/egg-dist-tmp-LUoK2z
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.lex: module references __file__
pycparser.ply.lex: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module references __file__
pycparser.ply.yacc: module MAY be using inspect.getsourcefile
pycparser.ply.yacc: module MAY be using inspect.stack
pycparser.ply.ygen: module references __file__
creating /tmp/easy_install-upAX7y/cryptography-2.1.1/.eggs/pycparser-2.18-py2.6.egg
Extracting pycparser-2.18-py2.6.egg to /tmp/easy_install-upAX7y/cryptography-2.1.1/.eggs
Installed /tmp/easy_install-upAX7y/cryptography-2.1.1/.eggs/pycparser-2.18-py2.6.egg
error: Setup script exited with error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy'