I'm getting following error while running make command
`[ 10%] Performing build step for 'Boost'
Performing configuration checks
- default address-model : 64-bit (cached)
- default architecture : x86 (cached)
Component configuration:
- atomic : not building
- chrono : not building
- container : not building
- context : not building
- contract : not building
- coroutine : not building
- date_time : not building
- exception : not building
- fiber : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- headers : not building
- iostreams : not building
- locale : not building
- log : not building
- math : not building
- mpi : not building
- nowide : not building
- program_options : not building
- python : building
- random : not building
- regex : not building
- serialization : not building
- stacktrace : not building
- system : not building
- test : not building
- thread : not building
- timer : not building
- type_erasure : not building
- wave : not building
In file included from /home/ata/anaconda3/include/python3.11/Python.h:44,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object/life_support.hpp:7,
from libs/python/src/object/life_support.cpp:5:
libs/python/src/object/life_support.cpp: In function ‘PyObject* boost::python::objects::make_nurse_and_patient(PyObject*, PyObject*)’:
/home/ata/anaconda3/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/life_support.cpp:96:9: note: in expansion of macro ‘Py_TYPE’
96 | Py_TYPE(&life_support_type) = &PyType_Type;
| ^~~~~~~
In file included from ./boost/python/detail/is_xxx.hpp:8,
from ./boost/python/detail/is_auto_ptr.hpp:9,
from ./boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
from ./boost/python/detail/value_arg.hpp:7,
from ./boost/python/object/forward.hpp:10,
from ./boost/python/object/pointer_holder.hpp:16,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object.hpp:9,
from ./boost/python/exec.hpp:8,
from libs/python/src/exec.cpp:6:
./boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~
./boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
20 | qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >
| ^~~~~~~~~~~~~~
./boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./boost/config/no_tr1/memory.hpp:21,
from ./boost/get_pointer.hpp:14,
from ./boost/python/object/pointer_holder.hpp:11,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object.hpp:9,
from ./boost/python/exec.hpp:8,
from libs/python/src/exec.cpp:6:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template class auto_ptr;
| ^~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object.hpp:9,
from ./boost/python/exec.hpp:8,
from libs/python/src/exec.cpp:6:
./boost/python/call.hpp: In function ‘typename boost::python::detail::returnable::type boost::python::call(PyObject*, boost::type)’:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/ssize_t.hpp:9,
from ./boost/python/object.hpp:8,
from ./boost/python/exec.hpp:8,
from libs/python/src/exec.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
libs/python/src/exec.cpp: In function ‘boost::python::api::object boost::python::exec_file(const char, boost::python::api::object, boost::python::api::object)’:
libs/python/src/exec.cpp:109:14: error: ‘_Py_fopen’ was not declared in this scope
109 | FILE fs = _Py_fopen(f, "r");
| ^~~~~~~~~
In file included from ./boost/python/detail/is_xxx.hpp:8,
from ./boost/python/detail/is_auto_ptr.hpp:9,
from ./boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
from ./boost/python/detail/value_arg.hpp:7,
from ./boost/python/object/forward.hpp:10,
from ./boost/python/object/pointer_holder.hpp:16,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~
./boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
20 | qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >
| ^~~~~~~~~~~~~~
./boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./boost/config/no_tr1/memory.hpp:21,
from ./boost/get_pointer.hpp:14,
from ./boost/python/object/pointer_holder.hpp:11,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template class auto_ptr;
| ^~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp: In function ‘typename boost::python::detail::returnable::type boost::python::call(PyObject, boost::type)’:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:44,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
libs/python/src/object/enum.cpp: In function ‘boost::python::api::object boost::python::objects::{anonymous}::new_enum_type(const char, const char*)’:
/home/ata/anaconda3/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/enum.cpp:156:11: note: in expansion of macro ‘Py_TYPE’
156 | Py_TYPE(&enum_type_object) = incref(&PyType_Type);
| ^~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp: In instantiation of ‘typename boost::python::detail::returnable::type boost::python::call(PyObject*, const A0&, const A1&, const A2&, boost::type) [with R = boost::python::api::object; A0 = const char; A1 = boost::python::tuple; A2 = boost::python::dict; typename boost::python::detail::returnable::type = boost::python::api::object; PyObject = _object]’:
./boost/python/object_call.hpp:19:25: required from ‘typename boost::python::detail::dependent<boost::python::api::object, A0>::type boost::python::api::object_operators::operator()(const A0&, const A1&, const A2&) const [with A0 = const char*; A1 = boost::python::tuple; A2 = boost::python::dict; U = boost::python::api::object; typename boost::python::detail::dependent<boost::python::api::object, A0>::type = boost::python::api::object]’
libs/python/src/object/enum.cpp:182:41: required from here
./boost/python/call.hpp:62:28: warning: ‘PyObject* PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp: In instantiation of ‘typename boost::python::detail::returnable::type boost::python::call(PyObject, const A0&, boost::type) [with R = boost::python::api::object; A0 = long int; typename boost::python::detail::returnable::type = boost::python::api::object; PyObject = _object]’:
./boost/python/object_call.hpp:19:25: required from ‘typename boost::python::detail::dependent<boost::python::api::object, A0>::type boost::python::api::object_operators::operator()(const A0&) const [with A0 = long int; U = boost::python::api::object; typename boost::python::detail::dependent<boost::python::api::object, A0>::type = boost::python::api::object]’
libs/python/src/object/enum.cpp:215:23: required from here
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object_core.hpp:10,
from ./boost/python/object/enum_base.hpp:8,
from libs/python/src/object/enum.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/python/detail/is_xxx.hpp:8,
from ./boost/python/detail/is_auto_ptr.hpp:9,
from ./boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
from ./boost/python/detail/value_arg.hpp:7,
from ./boost/python/object/forward.hpp:10,
from ./boost/python/object/pointer_holder.hpp:16,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/class.hpp:9,
from libs/python/src/object/class.cpp:9:
./boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~
./boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
20 | qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >
| ^~~~~~~~~~~~~~
./boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./boost/config/no_tr1/memory.hpp:21,
from ./boost/get_pointer.hpp:14,
from ./boost/python/object/pointer_holder.hpp:11,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/class.hpp:9,
from libs/python/src/object/class.cpp:9:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template class auto_ptr;
| ^~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/class.hpp:9,
from libs/python/src/object/class.cpp:9:
./boost/python/call.hpp: In function ‘typename boost::python::detail::returnable::type boost::python::call(PyObject, boost::type)’:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from libs/python/src/object/class.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:44,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from libs/python/src/object/class.cpp:6:
libs/python/src/object/class.cpp: In function ‘PyObject boost::python::objects::static_data()’:
/home/ata/anaconda3/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/class.cpp:211:11: note: in expansion of macro ‘Py_TYPE’
211 | Py_TYPE(&static_data_object) = &PyType_Type;
| ^~~~~~~
libs/python/src/object/class.cpp: In function ‘boost::python::type_handle boost::python::objects::class_metatype()’:
/home/ata/anaconda3/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/class.cpp:319:11: note: in expansion of macro ‘Py_TYPE’
319 | Py_TYPE(&class_metatype_object) = &PyType_Type;
| ^~~~~~~
libs/python/src/object/class.cpp: In function ‘PyObject* boost::python::objects::instance_new(PyTypeObject*, PyObject*, PyObject*)’:
/home/ata/anaconda3/include/python3.11/object.h:145:30: error: lvalue required as left operand of assignment
145 | # define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/class.cpp:378:15: note: in expansion of macro ‘Py_SIZE’
378 | Py_SIZE(result) =
| ^~~~~~~
libs/python/src/object/class.cpp: In function ‘boost::python::type_handle boost::python::objects::class_type()’:
/home/ata/anaconda3/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/class.cpp:473:11: note: in expansion of macro ‘Py_TYPE’
473 | Py_TYPE(&class_type_object) = incref(class_metatype().get());
| ^~~~~~~
libs/python/src/object/class.cpp: In static member function ‘static void* boost::python::instance_holder::allocate(PyObject*, std::size_t, std::size_t)’:
/home/ata/anaconda3/include/python3.11/object.h:145:30: error: lvalue required as left operand of assignment
145 | # define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/class.cpp:742:9: note: in expansion of macro ‘Py_SIZE’
742 | Py_SIZE(self) = holder_offset;
| ^~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/class.hpp:9,
from libs/python/src/object/class.cpp:9:
./boost/python/call.hpp: In instantiation of ‘typename boost::python::detail::returnable::type boost::python::call(PyObject*, const A0&, const A1&, const A2&, boost::type) [with R = boost::python::api::object; A0 = const char; A1 = boost::python::handle<>; A2 = boost::python::dict; typename boost::python::detail::returnable::type = boost::python::api::object; PyObject = _object]’:
./boost/python/object_call.hpp:19:25: required from ‘typename boost::python::detail::dependent<boost::python::api::object, A0>::type boost::python::api::object_operators::operator()(const A0&, const A1&, const A2&) const [with A0 = const char*; A1 = boost::python::handle<>; A2 = boost::python::dict; U = boost::python::api::object; typename boost::python::detail::dependent<boost::python::api::object, A0>::type = boost::python::api::object]’
libs/python/src/object/class.cpp:575:47: required from here
./boost/python/call.hpp:62:28: warning: ‘PyObject* PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from libs/python/src/object/class.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/class.hpp:9,
from libs/python/src/object/class.cpp:9:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from libs/python/src/object/class.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:62,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/class.hpp:9,
from libs/python/src/object/class.cpp:9:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from libs/python/src/object/class.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/python/detail/is_xxx.hpp:8,
from ./boost/python/detail/is_auto_ptr.hpp:9,
from ./boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
from ./boost/python/detail/value_arg.hpp:7,
from ./boost/python/object/forward.hpp:10,
from ./boost/python/object/pointer_holder.hpp:16,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/function.hpp:12,
from ./boost/python/docstring_options.hpp:8,
from libs/python/src/object/function.cpp:6:
./boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~
./boost/detail/is_xxx.hpp:20:4: note: in definition of macro ‘BOOST_DETAIL_IS_XXX_DEF’
20 | qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) >
| ^~~~~~~~~~~~~~
./boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
17 | BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from ./boost/function/function_base.hpp:16,
from ./boost/function/detail/prologue.hpp:17,
from ./boost/function/function_template.hpp:13,
from ./boost/function/detail/maybe_include.hpp:15,
from ./boost/function/function0.hpp:11,
from ./boost/python/errors.hpp:13,
from ./boost/python/handle.hpp:11,
from ./boost/python/args_fwd.hpp:10,
from ./boost/python/object/function.hpp:9,
from ./boost/python/docstring_options.hpp:8,
from libs/python/src/object/function.cpp:6:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template class auto_ptr;
| ^~~~~~~~
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
from ./boost/python/call.hpp:33,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/function.hpp:12,
from ./boost/python/docstring_options.hpp:8,
from libs/python/src/object/function.cpp:6:
./boost/python/call.hpp: In function ‘typename boost::python::detail::returnable::type boost::python::call(PyObject, boost::type)’:
./boost/python/call.hpp:62:28: warning: ‘PyObject PyEval_CallFunction(PyObject*, const char*, ...)’ is deprecated [-Wdeprecated-declarations]
62 | PyObject* const result =
| ~~~~~~~~~~~~~~~~~~~^
63 | PyEval_CallFunction(
| ~~~~~~~~~~~~~~~~~~~~
64 | callable
| ~~~~~~~~
65 | , const_cast<char*>("(" BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FIXED, "O") ")")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66 | BOOST_PP_REPEAT_1ST(N, BOOST_PYTHON_FAST_ARG_TO_PYTHON_GET, nil)
| ~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:95,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object/function.hpp:8,
from ./boost/python/docstring_options.hpp:8,
from libs/python/src/object/function.cpp:6:
/home/ata/anaconda3/include/python3.11/ceval.h:36:43: note: declared here
36 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject ) PyEval_CallFunction(
| ^~~~~~~~~~~~~~~~~~~
In file included from ./boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
from ./boost/smart_ptr/detail/yield_k.hpp:23,
from ./boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from ./boost/smart_ptr/detail/spinlock.hpp:42,
from ./boost/smart_ptr/detail/spinlock_pool.hpp:25,
from ./boost/smart_ptr/shared_ptr.hpp:29,
from ./boost/shared_ptr.hpp:17,
from ./boost/python/converter/shared_ptr_to_python.hpp:12,
from ./boost/python/converter/arg_to_python.hpp:15,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object/function.hpp:12,
from ./boost/python/docstring_options.hpp:8,
from libs/python/src/object/function.cpp:6:
./boost/bind.hpp: At global scope:
./boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
./boost/bind.hpp:36:1: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /home/ata/anaconda3/include/python3.11/Python.h:44,
from ./boost/python/detail/wrap_python.hpp:178,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object/function.hpp:8,
from ./boost/python/docstring_options.hpp:8,
from libs/python/src/object/function.cpp:6:
libs/python/src/object/function.cpp: In constructor ‘boost::python::objects::function::function(const boost::python::objects::py_function&, const boost::python::detail::keyword, unsigned int)’:
/home/ata/anaconda3/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
libs/python/src/object/function.cpp:110:9: note: in expansion of macro ‘Py_TYPE’
110 | Py_TYPE(&function_type) = &PyType_Type;
| ^~~~~~~
...skipped <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>libboost_python311.a(clean) for lack of <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>object/enum.o...
...skipped <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>libboost_python311.a for lack of <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>object/enum.o...
...skipped <p/home/ata/thesis/Code/ALFA/alfa-dataset-tools/alfa-python/build/extern/lib>libboost_python311.a for lack of <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>libboost_python311.a...
...skipped <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>libboost_python-variant-static-py3.11.cmake for lack of <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>libboost_python311.a...
...skipped <p/home/ata/thesis/Code/ALFA/alfa-dataset-tools/alfa-python/build/extern/lib/cmake/boost_python-1.74.0>libboost_python-variant-static-py3.11.cmake for lack of <pbin.v2/libs/python/build/gcc-11/release/link-static/python-3.11/threading-multi/visibility-hidden>libboost_python-variant-static-py3.11.cmake...
...failed updating 5 targets...
`
Please help in it