[zope] Zope 5.5.2 and python 3.10.4 installation "caos"

Jens Vagelpohl jens at plyp.com
Wed Aug 24 15:39:59 GMT 2022


You‘re missing some of the required system libraries, „libffi“ and the development header file „ffi.h“ are not on your system. 

jens



> On 24. Aug 2022, at 17:03, Giampiero Benvenuti <giampiero.benvenuti at chiaroscuro.com> wrote:
> 
> Hi everybody,
> 
> I'm just trying to install zope5.5.2 with python3.10 on Linux mint Vanessa 21.
> 
> Can you please let me know what I'm doing wrong?
> 
> Thanks so much. I appreciate your help.
> 
> --giampiero
> 
> Here is the result and the errors:
> 
> bin/buildout
> Creating directory '/home/giampiero/zope552p310/eggs'.
> Creating directory '/home/giampiero/zope552p310/parts'.
> Creating directory '/home/giampiero/zope552p310/develop-eggs'.
> Getting distribution for 'zc.recipe.egg>=2.0.6'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> Got zc.recipe.egg 2.0.7.
> Installing zopescripts.
> Getting distribution for 'Zope==5.5.2'.
> Got Zope 5.5.2.
> Getting distribution for 'Paste==3.5.0'.
> Got Paste 3.5.0.
> Getting distribution for 'six==1.16.0'.
> Got six 1.16.0.
> Getting distribution for 'zope.viewlet==4.3'.
> Got zope.viewlet 4.3.
> Getting distribution for 'zope.traversing==4.4.1'.
> Got zope.traversing 4.4.1.
> Getting distribution for 'zope.testing==4.10'.
> Got zope.testing 4.10.
> Getting distribution for 'zope.testbrowser==5.6.1'.
> Got zope.testbrowser 5.6.1.
> Getting distribution for 'zope.tales==5.1'.
> Got zope.tales 5.1.
> Getting distribution for 'zope.tal==4.5'.
> Got zope.tal 4.5.
> Getting distribution for 'zope.size==4.3'.
> Got zope.size 4.3.
> Getting distribution for 'zope.site==4.5.0'.
> Got zope.site 4.5.0.
> Getting distribution for 'zope.sequencesort==4.2'.
> Got zope.sequencesort 4.2.
> Getting distribution for 'zope.security==5.2'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.txt' under directory 'docs'
> Got zope.security 5.2.
> Getting distribution for 'zope.schema==6.2.0'.
> Got zope.schema 6.2.0.
> Getting distribution for 'zope.publisher==6.1.0'.
> Got zope.publisher 6.1.0.
> Getting distribution for 'zope.ptresource==4.3.0'.
> Got zope.ptresource 4.3.0.
> Getting distribution for 'zope.proxy==4.5.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.txt' under directory 'docs'
> src/zope/proxy/_zope_proxy_proxy.c: In function ‘wrap_call’:
> src/zope/proxy/_zope_proxy_proxy.c:381:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
>   381 |         return PyEval_CallObjectWithKeywords(Proxy_GET_OBJECT(self),
>       |         ^~~~~~
> In file included from /usr/include/python3.10/Python.h:130,
>                  from src/zope/proxy/_zope_proxy_proxy.c:27:
> /usr/include/python3.10/ceval.h:17:43: note: declared here
>    17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Got zope.proxy 4.5.0.
> Getting distribution for 'zope.processlifetime==2.3.0'.
> Got zope.processlifetime 2.3.0.
> Getting distribution for 'zope.pagetemplate==4.6.0'.
> Got zope.pagetemplate 4.6.0.
> Getting distribution for 'zope.location==4.2'.
> Got zope.location 4.2.
> Getting distribution for 'zope.lifecycleevent==4.3.0'.
> Got zope.lifecycleevent 4.3.
> Getting distribution for 'zope.interface==5.4.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no previously-included files matching '*.dll' found anywhere in distribution
> warning: no previously-included files matching '*.pyc' found anywhere in distribution
> warning: no previously-included files matching '*.pyo' found anywhere in distribution
> warning: no previously-included files matching '*.so' found anywhere in distribution
> warning: no previously-included files matching 'coverage.xml' found anywhere in distribution
> warning: no previously-included files matching 'appveyor.yml' found anywhere in distribution
> no previously-included directories found matching 'docs/_build'
> no previously-included directories found matching 'benchmarks'
> Got zope.interface 5.4.0.
> Getting distribution for 'zope.i18nmessageid==5.0.1'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.zcml' under directory 'src'
> warning: no previously-included files matching '*.dll' found anywhere in distribution
> warning: no previously-included files matching '*.pyc' found anywhere in distribution
> warning: no previously-included files matching '*.pyo' found anywhere in distribution
> warning: no previously-included files matching '*.so' found anywhere in distribution
> Got zope.i18nmessageid 5.0.1.
> Getting distribution for 'zope.i18n[zcml]==4.9.0'.
> Got zope.i18n 4.9.0.
> Getting distribution for 'zope.globalrequest==1.5'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.txt'
> warning: no previously-included files matching '*.pyc' found anywhere in distribution
> warning: no previously-included files matching '*.pyo' found anywhere in distribution
> Got zope.globalrequest 1.5.
> Getting distribution for 'zope.exceptions==4.5'.
> Got zope.exceptions 4.5.
> Getting distribution for 'zope.event==4.5.0'.
> Got zope.event 4.5.0.
> Getting distribution for 'zope.deferredimport==4.4'.
> Got zope.deferredimport 4.4.
> Getting distribution for 'zope.datetime==4.3.0'.
> Got zope.datetime 4.3.0.
> Getting distribution for 'zope.contenttype==4.5.0'.
> Got zope.contenttype 4.5.0.
> Getting distribution for 'zope.contentprovider==4.2.1'.
> Got zope.contentprovider 4.2.1.
> Getting distribution for 'zope.container==4.5.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching 'buildout.cfg'
> warning: no files found matching '*.txt' under directory 'docs'
> In file included from src/zope/container/_zope_container_contained.c:78:
> /tmp/easy_install-7awyyxmb/zope.container-4.5.0/.eggs/zope.proxy-4.5.0-py3.10-linux-x86_64.egg/zope/proxy/_zope_proxy_proxy.c: In function ‘wrap_call’:
> /tmp/easy_install-7awyyxmb/zope.container-4.5.0/.eggs/zope.proxy-4.5.0-py3.10-linux-x86_64.egg/zope/proxy/_zope_proxy_proxy.c:381:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
>   381 |         return PyEval_CallObjectWithKeywords(Proxy_GET_OBJECT(self),
>       |         ^~~~~~
> In file included from /usr/include/python3.10/Python.h:130,
>                  from src/zope/container/_zope_container_contained.c:34:
> /usr/include/python3.10/ceval.h:17:43: note: declared here
>    17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Got zope.container 4.5.0.
> Getting distribution for 'zope.configuration==4.4.1'.
> Got zope.configuration 4.4.1.
> Getting distribution for 'zope.component==5.0.1'.
> Got zope.component 5.0.1.
> Getting distribution for 'zope.browserresource==4.4'.
> Got zope.browserresource 4.4.
> Getting distribution for 'zope.browserpage==4.4.0'.
> Got zope.browserpage 4.4.0.
> Getting distribution for 'zope.browsermenu==4.4'.
> Got zope.browsermenu 4.4.
> Getting distribution for 'zope.browser==2.4'.
> Got zope.browser 2.4.
> Getting distribution for 'zExceptions==4.2'.
> Got zExceptions 4.2.
> Getting distribution for 'z3c.pt==3.3.1'.
> Got z3c.pt 3.3.1.
> Getting distribution for 'waitress==2.1.2'.
> Got waitress 2.1.2.
> Getting distribution for 'transaction==3.0.1'.
> Got transaction 3.0.1.
> Getting distribution for 'ZODB==5.7.0'.
> Got ZODB 5.7.0.
> Getting distribution for 'ZConfig==3.6.0'.
> Got ZConfig 3.6.0.
> Getting distribution for 'RestrictedPython==5.2'.
> Got RestrictedPython 5.2.
> Getting distribution for 'Persistence==3.3'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> Got Persistence 3.3.
> Getting distribution for 'PasteDeploy==2.1.1'.
> Got PasteDeploy 2.1.1.
> Getting distribution for 'MultiMapping==4.1'.
> Got MultiMapping 4.1.
> Getting distribution for 'ExtensionClass==4.6'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> src/ExtensionClass/_ExtensionClass.c: In function ‘PyExtensionClass_Export_’:
> src/ExtensionClass/_ExtensionClass.c:803:33: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
>   803 |           if (typ->tp_basicsize <= sizeof(_emptyobject))
>       |                                 ^~
> Got ExtensionClass 4.6.
> Getting distribution for 'DocumentTemplate==4.0'.
> Got DocumentTemplate 4.0.
> Getting distribution for 'DateTime==4.4'.
> Got DateTime 4.4.
> Getting distribution for 'Chameleon==3.9.1'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> Got Chameleon 3.9.1.
> Getting distribution for 'BTrees==4.10.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> In file included from src/BTrees/_LQBTree.c:44:
> src/BTrees/BTreeModuleTemplate.c:104:1: warning: ‘ulonglong_check’ defined but not used [-Wunused-function]
>   104 | ulonglong_check(PyObject *ob)
>       | ^~~~~~~~~~~~~~~
> In file included from src/BTrees/_QOBTree.c:42:
> src/BTrees/BTreeModuleTemplate.c:210:1: warning: ‘longlong_convert’ defined but not used [-Wunused-function]
>   210 | longlong_convert(PyObject *ob, PY_LONG_LONG *value)
>       | ^~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:202:1: warning: ‘longlong_as_object’ defined but not used [-Wunused-function]
>   202 | longlong_as_object(PY_LONG_LONG val)
>       | ^~~~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:133:1: warning: ‘longlong_check’ defined but not used [-Wunused-function]
>   133 | longlong_check(PyObject *ob)
>       | ^~~~~~~~~~~~~~
> In file included from src/BTrees/_QQBTree.c:45:
> src/BTrees/BTreeModuleTemplate.c:210:1: warning: ‘longlong_convert’ defined but not used [-Wunused-function]
>   210 | longlong_convert(PyObject *ob, PY_LONG_LONG *value)
>       | ^~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:202:1: warning: ‘longlong_as_object’ defined but not used [-Wunused-function]
>   202 | longlong_as_object(PY_LONG_LONG val)
>       | ^~~~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:133:1: warning: ‘longlong_check’ defined but not used [-Wunused-function]
>   133 | longlong_check(PyObject *ob)
>       | ^~~~~~~~~~~~~~
> In file included from src/BTrees/_QFBTree.c:44:
> src/BTrees/BTreeModuleTemplate.c:210:1: warning: ‘longlong_convert’ defined but not used [-Wunused-function]
>   210 | longlong_convert(PyObject *ob, PY_LONG_LONG *value)
>       | ^~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:202:1: warning: ‘longlong_as_object’ defined but not used [-Wunused-function]
>   202 | longlong_as_object(PY_LONG_LONG val)
>       | ^~~~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:133:1: warning: ‘longlong_check’ defined but not used [-Wunused-function]
>   133 | longlong_check(PyObject *ob)
>       | ^~~~~~~~~~~~~~
> In file included from src/BTrees/_QLBTree.c:44:
> src/BTrees/BTreeModuleTemplate.c:133:1: warning: ‘longlong_check’ defined but not used [-Wunused-function]
>   133 | longlong_check(PyObject *ob)
>       | ^~~~~~~~~~~~~~
> In file included from src/BTrees/_OQBTree.c:42:
> src/BTrees/BTreeModuleTemplate.c:210:1: warning: ‘longlong_convert’ defined but not used [-Wunused-function]
>   210 | longlong_convert(PyObject *ob, PY_LONG_LONG *value)
>       | ^~~~~~~~~~~~~~~~
> src/BTrees/BTreeModuleTemplate.c:202:1: warning: ‘longlong_as_object’ defined but not used [-Wunused-function]
>   202 | longlong_as_object(PY_LONG_LONG val)
>       | ^~~~~~~~~~~~~~~~~~
> Got BTrees 4.10.0.
> Getting distribution for 'Acquisition==4.10'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> src/Acquisition/_Acquisition.c: In function ‘CallMethod’:
> src/Acquisition/_Acquisition.c:133:5: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
>   133 |     result = PyEval_CallObjectWithKeywords(callable, args, kwargs);
>       |     ^~~~~~
> In file included from /usr/include/python3.10/Python.h:130,
>                  from include/ExtensionClass/ExtensionClass.h:83,
>                  from src/Acquisition/_Acquisition.c:15:
> /usr/include/python3.10/ceval.h:17:43: note: declared here
>    17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Got Acquisition 4.10.
> Getting distribution for 'AccessControl==5.3.1'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> src/AccessControl/cAccessControl.c:428:9: warning: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
>   428 |         NULL,                                   /* tp_print     */
>       |         ^~~~
> src/AccessControl/cAccessControl.c:428:9: note: (near initialization for ‘ZopeSecurityPolicyType.tp_vectorcall_offset’)
> src/AccessControl/cAccessControl.c:487:9: warning: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
>   487 |         NULL,                                   /* tp_print     */
>       |         ^~~~
> src/AccessControl/cAccessControl.c:487:9: note: (near initialization for ‘SecurityManagerType.tp_vectorcall_offset’)
> src/AccessControl/cAccessControl.c:546:9: warning: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
>   546 |         NULL,                                   /* tp_print     */
>       |         ^~~~
> src/AccessControl/cAccessControl.c:546:9: note: (near initialization for ‘PermissionRoleType.tp_vectorcall_offset’)
> src/AccessControl/cAccessControl.c:616:9: warning: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
>   616 |         NULL,                                   /* tp_print     */
>       |         ^~~~
> src/AccessControl/cAccessControl.c:616:9: note: (near initialization for ‘imPermissionRoleType.tp_vectorcall_offset’)
> src/AccessControl/cAccessControl.c: In function ‘c_rolesForPermissionOn’:
> src/AccessControl/cAccessControl.c:1913:15: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
>  1913 |               if (NATIVE_GET_SIZE(roles))
>       |               ^~
> In file included from /usr/include/python3.10/unicodeobject.h:1046,
>                  from /usr/include/python3.10/Python.h:83,
>                  from include/ExtensionClass/ExtensionClass.h:83,
>                  from src/AccessControl/cAccessControl.c:49:
> /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
>   446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> src/AccessControl/cAccessControl.c:1913:15: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
>  1913 |               if (NATIVE_GET_SIZE(roles))
>       |               ^~
> In file included from /usr/include/python3.10/unicodeobject.h:1046,
>                  from /usr/include/python3.10/Python.h:83,
>                  from include/ExtensionClass/ExtensionClass.h:83,
>                  from src/AccessControl/cAccessControl.c:49:
> /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
>   580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
>       | ^~~~~~~~~~~~~~~~~~~
> src/AccessControl/cAccessControl.c:1913:15: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
>  1913 |               if (NATIVE_GET_SIZE(roles))
>       |               ^~
> In file included from /usr/include/python3.10/unicodeobject.h:1046,
>                  from /usr/include/python3.10/Python.h:83,
>                  from include/ExtensionClass/ExtensionClass.h:83,
>                  from src/AccessControl/cAccessControl.c:49:
> /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
>   446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
>       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
> Got AccessControl 5.3.1.
> Getting distribution for 'zope.cachedescriptors==4.3.1'.
> Got zope.cachedescriptors 4.3.1.
> Getting distribution for 'pytz==2022.1'.
> Got pytz 2022.1.
> Getting distribution for 'WebTest==3.0.0'.
> Got WebTest 3.0.0.
> Getting distribution for 'WSGIProxy2==0.5.1'.
> Got WSGIProxy2 0.5.1.
> Getting distribution for 'SoupSieve>=1.9.0'.
> Got soupsieve 2.3.2.post1.
> Getting distribution for 'BeautifulSoup4'.
> Got beautifulsoup4 4.11.1.
> Getting distribution for 'zope.deprecation==4.4.0'.
> Got zope.deprecation 4.4.0.
> Getting distribution for 'zope.annotation==4.7.0'.
> Got zope.annotation 4.7.0.
> Getting distribution for 'multipart==0.2.4'.
> Got multipart 0.2.4.
> Getting distribution for 'python-gettext'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.txt'
> warning: no previously-included files matching '*.pyc' found anywhere in distribution
> warning: no previously-included files matching '*.pyo' found anywhere in distribution
> warning: no previously-included files matching '.DS_Store' found anywhere in distribution
> Got python-gettext 4.0.
> Getting distribution for 'zope.filerepresentation==5.0.0'.
> Got zope.filerepresentation 5.0.0.
> Getting distribution for 'zope.dottedname==4.3'.
> Got zope.dottedname 4.3.
> Getting distribution for 'persistent==4.9.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.txt' under directory 'docs'
> Got persistent 4.9.0.
> Getting distribution for 'zope.hookable==5.1.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> warning: no files found matching '*.txt' under directory 'docs'
> Got zope.hookable 5.1.0.
> Getting distribution for 'zodbpickle==2.2.0'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
>   File "build/bdist.linux-x86_64/egg/zodbpickle/pickletools_2.py", line 1803
>     print "skipping %r: it doesn't look like an opcode name" % name
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
> 
>   File "build/bdist.linux-x86_64/egg/zodbpickle/pickle_2.py", line 1462
>     x += 1L << nbits
>          ^
> SyntaxError: invalid decimal literal
> 
>   File "build/bdist.linux-x86_64/egg/zodbpickle/tests/pickletester_2.py", line 433
>     x = [0, 1L, 2.0, 3.0+0j]
>             ^
> SyntaxError: invalid decimal literal
> 
>   File "/home/giampiero/zope552p310/eggs/tmpdsqex9gk/zodbpickle-2.2.0-py3.10-linux-x86_64.egg/zodbpickle/pickle_2.py", line 1462
>     x += 1L << nbits
>          ^
> SyntaxError: invalid decimal literal
> 
>   File "/home/giampiero/zope552p310/eggs/tmpdsqex9gk/zodbpickle-2.2.0-py3.10-linux-x86_64.egg/zodbpickle/pickletools_2.py", line 1803
>     print "skipping %r: it doesn't look like an opcode name" % name
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
> 
>   File "/home/giampiero/zope552p310/eggs/tmpdsqex9gk/zodbpickle-2.2.0-py3.10-linux-x86_64.egg/zodbpickle/tests/pickletester_2.py", line 433
>     x = [0, 1L, 2.0, 3.0+0j]
>             ^
> SyntaxError: invalid decimal literal
> 
> Got zodbpickle 2.2.0.
> Getting distribution for 'zc.lockfile==2.0'.
> Got zc.lockfile 2.0.
> Getting distribution for 'zope.structuredtext==4.4'.
> Got zope.structuredtext 4.4.
> Getting distribution for 'roman==3.3'.
> Got roman 3.3.
> Getting distribution for 'AuthEncoding==4.3'.
> Got AuthEncoding 4.3.
> Getting distribution for 'WebOb==1.8.7'.
> Got WebOb 1.8.7.
> Getting distribution for 'cffi'.
> WARNING: The easy_install command is deprecated and will be removed in a future version.
> 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
> /tmp/easy_install-9z1ci37g/cffi-1.15.1/setup.py:69: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
>   from distutils.sysconfig import get_config_vars
> c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
>    15 | #include <ffi.h>
>       |          ^~~~~~~
> compilation terminated.
> error: Setup script exited with error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
> An error occurred when trying to install /tmp/tmpekt5jetkget_dist/cffi-1.15.1.tar.gz. Look above this message for any errors that were output by easy_install.
> While:
>   Installing zopescripts.
>   Getting distribution for 'cffi'.
> 
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/buildout.py", line 2182, in main
>     getattr(buildout, command)(args)
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/buildout.py", line 825, in install
>     installed_files = self[part]._call(recipe.install)
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/buildout.py", line 1611, in _call
>     return f()
>   File "/home/giampiero/zope552p310/eggs/zc.recipe.egg-2.0.7-py3.10.egg/zc/recipe/egg/egg.py", line 227, in install
>     reqs, ws = self.working_set()
>   File "/home/giampiero/zope552p310/eggs/zc.recipe.egg-2.0.7-py3.10.egg/zc/recipe/egg/egg.py", line 78, in working_set
>     ws = self._working_set(
>   File "/home/giampiero/zope552p310/eggs/zc.recipe.egg-2.0.7-py3.10.egg/zc/recipe/egg/egg.py", line 161, in _working_set
>     ws = zc.buildout.easy_install.install(
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/easy_install.py", line 963, in install
>     return installer.install(specs, working_set)
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/easy_install.py", line 736, in install
>     for dist in self._get_dist(req, ws):
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/easy_install.py", line 580, in _get_dist
>     dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
>   File "/home/giampiero/zope552p310/lib/python3.10/site-packages/zc/buildout/easy_install.py", line 1751, in _move_to_eggs_dir_and_compile
>     [tmp_loc] = glob.glob(os.path.join(tmp_dest, '*'))
> ValueError: not enough values to unpack (expected 1, got 0)
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.dev
> https://mail.zope.dev/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.dev/mailman/listinfo/zope-announce
> https://mail.zope.dev/mailman/listinfo/zope-dev )


More information about the Zope mailing list