Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 15-12-2019 16:48:00

pytolux
Membre
Distrib. : Raspbian GNU/Linux 10 (buster)
Noyau : Linux 4.19.75-v7+
(G)UI : Un très joli écran noir en SSH :-)
Inscription : 15-12-2019

Installationde syncserver

Bonjour à tous,

Je rencontre une "grosse" difficulté lors de l'installation de syncserver (service permettant de synchroniser les marques pages de firefox).
Mon objectif :me dédouaner d'un compte firefox pour synchroniser mes marques pages entre mon pc fixe et mon laptop. En sachant que j'effectue cette tâche uniquement en local, et que je sors pratiquement jamais mon laptop.

Distribution utilisée : Raspbian (voir mon profil pour tous les détails version + noyau)

J'ai du mal à bien "comprendre le message d'erreur" et, par conséquent, à effectuer les bonnes recherches pour trouver les éléments me permettant d'agir correctement.

Pouvez-vous m'aider en
- m'orientant mes recherches
- m'expliquant quelles parties du message d'erreur je dois être attentif

Voici la démarche que j'ai effecuté :

J'ai suivi la documentation suivante :
https://mozilla-services.readthedocs.io … c-1.5.html
Issue de la page Wiki du projet sous Git là :
https://github.com/mozilla-services/syncserver

J'ai installé les paquets recommandés sans encombre, à savoir :

sudo apt-get install python-dev git-core python-virtualenv g++



La récupération des fichiers sur GIT OK
Par contre, la commande

make build


M'affiche une belle et longue erreur.

Nota : j'ai effectué ces commandes dans deux dossiers. Une première fois dans mon home puis, sur un système fraichement installé, j'ai effectué l'installation dans le dossier /etc/

Voici ce que me retourne la commande make build :


`which python2 python | head -n 1` -m virtualenv --python=`which python2 python | head -n 1` --n                                                                                                   o-site-packages ./local
Already using interpreter /usr/bin/python2
New python executable in /etc/syncserver/local/bin/python2
Also creating executable in /etc/syncserver/local/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
CFLAGS="-Wno-error -Wno-error=format-security" ARCHFLAGS=-Wno-error=unused-command-line-argument                                                                                                   -hard-error-in-future ./local/bin/pip install -i https://pypi.python.org/simple -U pip
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your                                                                                                    Python as Python 2.7 won't be maintained after that date. A future version of pip will drop sup                                                                                                   port for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pyp                                                                                                   a.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.python.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: pip in ./local/lib/python2.7/site-packages (19.3.1)
CFLAGS="-Wno-error -Wno-error=format-security" ARCHFLAGS=-Wno-error=unused-command-line-argument                                                                                                   -hard-error-in-future ./local/bin/pip install -r requirements.txt
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your                                                                                                    Python as Python 2.7 won't be maintained after that date. A future version of pip will drop sup                                                                                                   port for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pyp                                                                                                   a.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip (from -r requiremen                                                                                                   ts.txt (line 12))
  Downloading https://github.com/mozilla-services/tokenserver/archive/1.4.5.zip
     - 911kB 1.0MB/s
Collecting https://github.com/mozilla-services/server-syncstorage/archive/1.6.14.zip (from -r re                                                                                                   quirements.txt (line 13))
  Downloading https://github.com/mozilla-services/server-syncstorage/archive/1.6.14.zip
     | 1.0MB 12.2MB/s
Collecting cornice==0.16.2
  Using cached https://files.pythonhosted.org/packages/4d/bc/5e7aab0aec23dbed32e37542e9d9b1bcbc9                                                                                                   7466d9ce21893d4de346011f4/cornice-0.16.2.tar.gz
Collecting gunicorn==19.6
  Using cached https://www.piwheels.org/simple/gunicorn/gunicorn-19.6.0-py2.py3-none-any.whl
Collecting pyramid==1.5
  Using cached https://files.pythonhosted.org/packages/dc/79/468f67e23ad72b521ee97edde0cedb915c5                                                                                                   23ccc94120883ecd336483a38/pyramid-1.5.tar.gz
Collecting WebOb==1.4.1
  Using cached https://www.piwheels.org/simple/webob/WebOb-1.4.1-py2.py3-none-any.whl
Collecting requests==2.20
  Using cached https://www.piwheels.org/simple/requests/requests-2.20.0-py2.py3-none-any.whl
Collecting SQLAlchemy==1.3.3
  Using cached https://files.pythonhosted.org/packages/2b/b2/e6f5c5efc68942edefaa924e8fbea0b3237                                                                                                   5baa434a511cbf6bb17769cf6/SQLAlchemy-1.3.3.tar.gz
Collecting unittest2==1.1
  Using cached https://files.pythonhosted.org/packages/72/20/7f0f433060a962200b7272b8c12ba90ef5b                                                                                                   903e218174301d0abfd523813/unittest2-1.1.0-py2.py3-none-any.whl
Collecting zope.component==4.2.1
  Using cached https://files.pythonhosted.org/packages/49/64/d2f1944f50c171bb80f5fc4af69b4946e05                                                                                                   c97d60d1af63397a712f071bc/zope.component-4.2.1.tar.gz
Collecting configparser==3.5
  Using cached https://files.pythonhosted.org/packages/7c/69/c2ce7e91c89dc073eb1aa74c0621c3eefbf                                                                                                   fe8216b3f9af9d3885265c01c/configparser-3.5.0.tar.gz
Collecting mozsvc==0.9
  Using cached https://files.pythonhosted.org/packages/be/80/0092eed477da13b5621c767ae5e87fc0f93                                                                                                   ddcebeb43771035a9eee80657/mozsvc-0.9.tar.gz
Collecting futures==3.0
  Using cached https://files.pythonhosted.org/packages/10/1c/182c9e959ca708ce611a7bf6b0ab6022d4a                                                                                                   0e7edad79e5145c220431b028/futures-3.0.0-py2-none-any.whl
Collecting alembic
  Using cached https://www.piwheels.org/simple/alembic/alembic-1.3.1-py2.py3-none-any.whl
Collecting boto
  Using cached https://files.pythonhosted.org/packages/23/10/c0b78c27298029e4454a472a1919bde20cb                                                                                                   182dab1662cec7f2ca1dcc523/boto-2.49.0-py2.py3-none-any.whl
Collecting hawkauthlib
  Using cached https://files.pythonhosted.org/packages/53/ec/23dd5cbd5e950543fdd30d91ddac4f56e39                                                                                                   5d14316677aa4cb78a029f8e2/hawkauthlib-2.0.0-py2.py3-none-any.whl
Collecting Paste
  Using cached https://files.pythonhosted.org/packages/72/f5/c7e6b02c041c4d849ca969263fa3c93470b                                                                                                   1d74fa167e843d44e7e8d276b/Paste-3.2.3-py2.py3-none-any.whl
Collecting PyBrowserID
  Using cached https://files.pythonhosted.org/packages/05/84/c05bc305cfa581f958e191aa635ef0d1fd7                                                                                                   50072b68ef103e5b7170ecdf6/PyBrowserID-0.14.0-py2-none-any.whl
Collecting PyFxA
  Using cached https://www.piwheels.org/simple/pyfxa/PyFxA-0.7.3-py2.py3-none-any.whl
Collecting PyMySQL
  Using cached https://www.piwheels.org/simple/pymysql/PyMySQL-0.9.3-py2.py3-none-any.whl
Collecting pymysql_sa
  Using cached https://files.pythonhosted.org/packages/58/81/28f9b607b47c55aa83c5fb3eda54cd61b0a                                                                                                   6b6a08e6ff1a0c0e606b65bff/pymysql_sa-1.0.tar.gz
Collecting testfixtures
  Using cached https://www.piwheels.org/simple/testfixtures/testfixtures-6.10.3-py2.py3-none-any                                                                                                   .whl
Collecting tokenlib
  Using cached https://www.piwheels.org/simple/tokenlib/tokenlib-2.0.0-py2.py3-none-any.whl
Collecting simplejson
  Using cached https://files.pythonhosted.org/packages/98/87/a7b98aa9256c8843f92878966dc3d8d914c14aad97e2c5ce4798d5743e07/simplejson-3.17.0.tar.gz
Collecting pyramid_hawkauth
  Using cached https://www.piwheels.org/simple/pyramid-hawkauth/pyramid_hawkauth-2.0.0-py2.py3-none-any.whl
Collecting umemcache
  Using cached https://files.pythonhosted.org/packages/f7/8f/4e5f0db712ba1c0a94a9e35e14ed13bef1ab32f250778d97471e3da4bd49/umemcache-1.6.3.zip
Collecting wsgiproxy
  Using cached https://files.pythonhosted.org/packages/56/23/c110badc5e220682adab8fbcd69a3fd6190db3c649d503a411ec175d2efc/WSGIProxy-0.2.2.tar.gz
Collecting webtest
  Using cached https://www.piwheels.org/simple/webtest/WebTest-2.0.33-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 3)) (42.0.2)
Processing /root/.cache/pip/wheels/80/c7/7e/74a37083827b36f0e87d60824124409b8cc88eea0940cada72/repoze.lru-0.7-cp27-none-any.whl
Processing /root/.cache/pip/wheels/e7/ef/26/3ce369e288fe35d0cded31b60d643427e9414753f3795d4399/zope.interface-4.7.1-cp27-cp27mu-linux_armv7l.whl
Collecting zope.deprecation>=3.5.0
  Using cached https://www.piwheels.org/simple/zope-deprecation/zope.deprecation-4.4.0-py2.py3-none-any.whl
Collecting venusian>=1.0a3
  Using cached https://files.pythonhosted.org/packages/72/46/ffe45f3b4a99309387551f4a06ed7e6c06fb163226e63b09aa5d6a21a280/venusian-2.1.0-py2.py3-none-any.whl
Collecting translationstring>=0.4
  Using cached https://files.pythonhosted.org/packages/26/e7/9dcf5bcd32b3ad16db542845ad129c06927821ded434ae88f458e6190626/translationstring-1.3-py2.py3-none-any.whl
Collecting PasteDeploy>=1.5.0
  Using cached https://files.pythonhosted.org/packages/67/0c/faa9971b2e5e048b3b30008d04c72e4d5f63b42f48937c169acce2c5e70a/PasteDeploy-2.0.1-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2
  Using cached https://www.piwheels.org/simple/chardet/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17
  Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl
Collecting urllib3<1.25,>=1.21.1
  Using cached https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5
  Using cached https://www.piwheels.org/simple/idna/idna-2.7-py2.py3-none-any.whl
Collecting traceback2
  Using cached https://files.pythonhosted.org/packages/17/0a/6ac05a3723017a967193456a2efa0aa9ac4b51456891af1e2353bb9de21e/traceback2-1.4.0-py2.py3-none-any.whl
Collecting six>=1.4
  Using cached https://www.piwheels.org/simple/six/six-1.13.0-py2.py3-none-any.whl
Requirement already satisfied: argparse in /usr/lib/python2.7 (from unittest2==1.1->-r requirements.txt (line 7)) (1.2.1)
Collecting zope.event
  Using cached https://www.piwheels.org/simple/zope-event/zope.event-4.4-py2.py3-none-any.whl
Collecting konfig
  Using cached https://files.pythonhosted.org/packages/3d/0c/2d61f29390063d9aabd20f1859b846faeb9e82711aae1ad92c5663264b00/konfig-1.1.tar.gz
Collecting Mako
  Using cached https://files.pythonhosted.org/packages/b0/3c/8dcd6883d009f7cae0f3157fb53e9afb05a0d3d33b3db1268ec2e6f4a56b/Mako-1.1.0.tar.gz
Collecting python-dateutil
  Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Collecting python-editor>=0.3
  Using cached https://files.pythonhosted.org/packages/55/a0/3c0ba1c10f2ca381645dd46cb7afbb73fddc8de9f957e1f9e726a846eabc/python_editor-1.0.4-py2-none-any.whl
Collecting cryptography
  Using cached https://files.pythonhosted.org/packages/be/60/da377e1bed002716fb2d5d1d1cab720f298cb33ecff7bf7adea72788e4e4/cryptography-2.8.tar.gz
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /etc/syncserver/local/bin/python2 /etc/syncserver/local/local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-1RgXjO/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''
       cwd: None
  Complete output (142 lines):
  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
  Collecting setuptools>=40.6.0
    Using cached https://www.piwheels.org/simple/setuptools/setuptools-42.0.2-py2.py3-none-any.whl
  Collecting wheel
    Using cached https://www.piwheels.org/simple/wheel/wheel-0.33.6-py2.py3-none-any.whl
  Collecting cffi!=1.11.3,>=1.8
    Using cached https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz
  Collecting pycparser
    Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl
  Building wheels for collected packages: cffi
    Building wheel for cffi (setup.py): started
    Building wheel for cffi (setup.py): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /etc/syncserver/local/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-MR5TNI/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-MR5TNI/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-Fy_KYH --python-tag cp27
         cwd: /tmp/pip-install-MR5TNI/cffi/
    Complete output (56 lines):
    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
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-2.7
    creating build/lib.linux-armv7l-2.7/cffi
    copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-2.7
    creating build/temp.linux-armv7l-2.7/c
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-error -Wno-error=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
    c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type
     #include <ffi.h>
              ^~~~~~~
    compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
    ----------------------------------------
    ERROR: Failed building wheel for cffi
    Running setup.py clean for cffi
  Failed to build cffi
  Installing collected packages: setuptools, wheel, pycparser, cffi
      Running setup.py install for cffi: started
      Running setup.py install for cffi: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /etc/syncserver/local/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-MR5TNI/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-MR5TNI/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gvSs9Q/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-1RgXjO/overlay --compile --install-headers /etc/syncserver/local/include/site/python2.7/cffi
           cwd: /tmp/pip-install-MR5TNI/cffi/
      Complete output (56 lines):
      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
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-armv7l-2.7
      creating build/lib.linux-armv7l-2.7/cffi
      copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
      copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
      running build_ext
      building '_cffi_backend' extension
      creating build/temp.linux-armv7l-2.7
      creating build/temp.linux-armv7l-2.7/c
      arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wno-error -Wno-error=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
      c/_cffi_backend.c:15:10: fatal error: ffi.h: Aucun fichier ou dossier de ce type
       #include <ffi.h>
                ^~~~~~~
      compilation terminated.
      error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /etc/syncserver/local/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-MR5TNI/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-MR5TNI/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gvSs9Q/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-1RgXjO/overlay --compile --install-headers /etc/syncserver/local/include/site/python2.7/cffi Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /etc/syncserver/local/bin/python2 /etc/syncserver/local/local/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-1RgXjO/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
make: *** [Makefile:29: local/COMPLETE] Error 1
 



L'erreur apparait à partir de :

Collecting cryptography



Et je vous avoue quoi faire.

Voilà ce que j'ai compris :

-> un message revient souvant et nous alerte que Python 2.7 ne sera plus maintenue que cela aura un impact sur pip,
-> l'installation des dépendances à partir de cryptography ne s'effectuent pas : error -> on nous précise "cwd : None" mais je n'arrive pas à trouver des informations me permettant de comprendre la signification de ce passage
-> Certains package ne sont pas trouvés et on nous précise qu'on devrait ajouter le répertoire contenant la [paquets_en_question] à la variable PKG_CONFIG_PATH

Les recherches que j'ai effectuées :
-> j'ai effecué des recherches sur pip / virtualenv et PKG_CONFIG_PATH :
         * J'ai compris que pip rassemblait des scripts pyton
         * Que Virtualenv crée un environnement virtuel pour exécuté différentes version de python sans que cela ne crée des problèmes
         * Que PKG_CONFIG_PATH est une variable en lien au programme pkg-config. C'est lié aux librairies... mais j'ai du mal à comprendre son utilité

Cependant ces recherches ne m'ont pas aidé à comprendre le message d'erreur... et j'ai un peu peur de partir dans toutes les directions et de rien comprendre...

Les actions que j'ai menées à la suite de ces recherches :
-> j'ai tenté de mettre à jour cryptography puis tous les scripts obselètes,
-> j'ai tenté de mettre à jour pip,
-> j'ai allumé un cierge et prié très fort la vierge marie (je suis lyonnais et la fête des Lumières c'était y a quelque jour)

Mais cela n'a rien changé...

Dernier point :
J'ai recherché dans le dossier syncserver télécharger depuis git.
J'ai trouvé ce fichier :
https://github.com/mozilla-services/syn … ements.txt

Je me suis dis qu'il s'agissait de script/paquet requis pour l'installation et j'ai tenté de les installer
Cependant, cela me pête une erreur...


Désolé c'est un peu long mais cela m'a permis de prendre un peu de recul.

Je vous remercie par avance pour votre aides/conseils ou autre action de bon samaritain !

Bon dimanche à tous !

Hors ligne

Pied de page des forums