When running bash bootstrap.sh on Ubuntu/Bionic, numerous errors are thrown.
Including a warning that Python 2.7.0 is deprecated and may be causing subsequent issues. Even when using python3, the problems persist. I've also had to manually install dependencies, such as updating Ruby and installing posixputil.
These problems have culminated in a compilation error with Cython:
Collecting pycapnp
Using cached https://files.pythonhosted.org/packages/fc/cf/07d0b47010769799baa7123c89134093e7eeb91d420ea1b7899debbf06a2/pycapnp-1.3.0.tar.gz
Complete output from command python setup.py egg_info:
warning: capnp/includes/capnp_cpp.pxd:364:17: Rvalue-reference as function argument not supported
performance hint: capnp/lib/capnp.pxd:162:18: No exception value declared for 'wrap_remote_call' in pxd file.
Users cimporting this function and calling it without the gil will always require an exception check.
Suggest adding an explicit exception value.
performance hint: capnp/lib/capnp.pxd:163:23: No exception value declared for 'call_server_method' in pxd file.
Users cimporting this function and calling it without the gil will always require an exception check.
Suggest adding an explicit exception value.
performance hint: capnp/lib/capnp.pxd:166:28: No exception value declared for 'extract_promise' in pxd file.
Users cimporting this function and calling it without the gil will always require an exception check.
Suggest adding an explicit exception value.
performance hint: capnp/lib/capnp.pxd:167:23: No exception value declared for 'extract_remote_promise' in pxd file.
Users cimporting this function and calling it without the gil will always require an exception check.
Suggest adding an explicit exception value.
performance hint: capnp/lib/capnp.pyx:297:5: Exception check on 'make_reader_opts' will always require the GIL to be acquired. Declare 'make_reader_opts' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
Error compiling Cython file:
------------------------------------------------------------
...
cdef _init(self, capnp.DynamicEnum other, object parent):
When running
bash bootstrap.sh
on Ubuntu/Bionic, numerous errors are thrown.Including a warning that Python 2.7.0 is deprecated and may be causing subsequent issues. Even when using
python3
, the problems persist. I've also had to manually install dependencies, such as updating Ruby and installingposixputil
.These problems have culminated in a compilation error with Cython: