ikatson / docker-reviewboard

Dockerized reviewboard
MIT License
112 stars 84 forks source link

c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory compilation terminated. #11

Closed arthurzenika closed 7 years ago

arthurzenika commented 8 years ago
Adding Django 1.6.11 to easy-install.pth file
Installing django-admin.py script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg
Searching for six>=1.4.0
Reading http://pypi.python.org/simple/six/
Best match: six 1.10.0
Downloading https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab142f8b55
Processing six-1.10.0.tar.gz
Running six-1.10.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8sORx2/six-1.10.0/egg-dist-tmp-y36dfa
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
Adding six 1.10.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/six-1.10.0-py2.7.egg
Searching for pyasn1>=0.1.7
Reading http://pypi.python.org/simple/pyasn1/
Best match: pyasn1 0.1.9
Downloading https://pypi.python.org/packages/c3/ea/03328a42adfc16a1babbe334ad969f6e27862bcaff9576444d423d2c9257/pyasn1-0.1.9-py2.7.egg#md5=08eef0e822233609f6ca55b419ae00c
Processing pyasn1-0.1.9-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/pyasn1-0.1.9-py2.7.egg
Extracting pyasn1-0.1.9-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding pyasn1 0.1.9 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/pyasn1-0.1.9-py2.7.egg
Searching for cryptography>=1.1
Reading http://pypi.python.org/simple/cryptography/
Best match: cryptography 1.5.2
Downloading https://pypi.python.org/packages/03/1a/60984cb85cc38c4ebdfca27b32a6df6f1914959d8790f5a349608c78be61/cryptography-1.5.2.tar.gz#md5=f977a6ddb38b07121c0157fc77c62ab
Processing cryptography-1.5.2.tar.gz
Running cryptography-1.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-85lxYx/cryptography-1.5.2/egg-dist-tmp-dZUJrw
Checking .pth file support in .
/usr/bin/python -E -c pass
Searching for cffi>=1.4.1
Reading http://pypi.python.org/simple/cffi/
Best match: cffi 1.8.3
Downloading https://pypi.python.org/packages/0a/f3/686af8873b70028fccf67b15c78fd4e4667a3da995007afc71e786d61b0a/cffi-1.8.3.tar.gz#md5=c8e877fe0426a99d0cf5872cff95b27
Processing cffi-1.8.3.tar.gz
Running cffi-1.8.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-85lxYx/cryptography-1.5.2/temp/easy_install-9KPQgU/cffi-1.8.3/egg-dist-tmp-ONUhzI
compiling '_configtest.c':
__thread int some_threadlocal_variable_42;

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c _configtest.c -o _configtest.o
success!
removing: _configtest.c _configtest.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
The command '/bin/sh -c easy_install reviewboard' returned a non-zero code: 1
ikatson commented 7 years ago

This Dockerfile did not age well, as it was not pinned to a specific version of reviewboard. I changed the way it works, please consider trying again with latest master

https://github.com/ikatson/docker-reviewboard/pull/12

There is also a Makefile to make it even simpler. Just make and make run should launch a local copy.