Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pip install bigfloat
- Collecting bigfloat
- Using cached bigfloat-0.4.0.tar.gz (258 kB)
- Preparing metadata (setup.py) ... done
- Requirement already satisfied: six in ./venv/lib/python3.11/site-packages (from bigfloat) (1.16.0)
- Installing collected packages: bigfloat
- DEPRECATION: bigfloat is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
- // I removed more compile errors because the log is too long
- PyObject * {aka struct _object *}
- mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~
- /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~
- mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~~~~~~
- mpfr.c:29499:35: note: in expansion of macro ‘__Pyx_PyCode_New’
- 29499 | __pyx_codeobj__330 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_overflow_p, 2762, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__330)) __PYX_ERR(0, 2762, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.11/cpython/code.h:148:28: note: declared here
- 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
- | ^~~~~~~~~~
- mpfr.c:29508:251: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
- 29508 | __pyx_codeobj__331 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_divby0_p, 2769, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__331)) __PYX_ERR(0, 2769, __pyx_L1_error)
- | ^~~~
- | |
- | int
- mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~
- /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~~~~~~~~
- mpfr.c:29508:257: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
- 29508 | __pyx_codeobj__331 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_divby0_p, 2769, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__331)) __PYX_ERR(0, 2769, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~~
- | |
- | PyObject * {aka struct _object *}
- mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~
- /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~
- mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~~~~~~
- mpfr.c:29508:35: note: in expansion of macro ‘__Pyx_PyCode_New’
- 29508 | __pyx_codeobj__331 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_divby0_p, 2769, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__331)) __PYX_ERR(0, 2769, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.11/cpython/code.h:148:28: note: declared here
- 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
- | ^~~~~~~~~~
- mpfr.c:29517:252: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
- 29517 | __pyx_codeobj__332 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_nanflag_p, 2776, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__332)) __PYX_ERR(0, 2776, __pyx_L1_error)
- | ^~~~
- | |
- | int
- mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~
- /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~~~~~~~~
- mpfr.c:29517:258: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
- 29517 | __pyx_codeobj__332 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_nanflag_p, 2776, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__332)) __PYX_ERR(0, 2776, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~~
- | |
- | PyObject * {aka struct _object *}
- mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~
- /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~
- mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~~~~~~
- mpfr.c:29517:35: note: in expansion of macro ‘__Pyx_PyCode_New’
- 29517 | __pyx_codeobj__332 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_nanflag_p, 2776, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__332)) __PYX_ERR(0, 2776, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.11/cpython/code.h:148:28: note: declared here
- 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
- | ^~~~~~~~~~
- mpfr.c:29526:253: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
- 29526 | __pyx_codeobj__333 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_inexflag_p, 2783, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__333)) __PYX_ERR(0, 2783, __pyx_L1_error)
- | ^~~~
- | |
- | int
- mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~
- /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~~~~~~~~
- mpfr.c:29526:259: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
- 29526 | __pyx_codeobj__333 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_inexflag_p, 2783, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__333)) __PYX_ERR(0, 2783, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~~
- | |
- | PyObject * {aka struct _object *}
- mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~
- /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~
- mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~~~~~~
- mpfr.c:29526:35: note: in expansion of macro ‘__Pyx_PyCode_New’
- 29526 | __pyx_codeobj__333 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_inexflag_p, 2783, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__333)) __PYX_ERR(0, 2783, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.11/cpython/code.h:148:28: note: declared here
- 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
- | ^~~~~~~~~~
- mpfr.c:29535:255: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
- 29535 | __pyx_codeobj__334 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_erangeflag_p, 2790, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__334)) __PYX_ERR(0, 2790, __pyx_L1_error)
- | ^~~~
- | |
- | int
- mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~
- /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~~~~~~~~
- mpfr.c:29535:261: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
- 29535 | __pyx_codeobj__334 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_erangeflag_p, 2790, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__334)) __PYX_ERR(0, 2790, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~~
- | |
- | PyObject * {aka struct _object *}
- mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~
- /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~
- mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~~~~~~
- mpfr.c:29535:35: note: in expansion of macro ‘__Pyx_PyCode_New’
- 29535 | __pyx_codeobj__334 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_mpfr_pyx, __pyx_n_s_mpfr_erangeflag_p, 2790, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__334)) __PYX_ERR(0, 2790, __pyx_L1_error)
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.11/cpython/code.h:148:28: note: declared here
- 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
- | ^~~~~~~~~~
- mpfr.c: In function ‘__pyx_pymod_exec_mpfr’:
- mpfr.c:990:43: error: invalid application of ‘sizeof’ to incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
- 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
- | ^~~~~~~~~~~~~
- mpfr.c:983:27: note: in definition of macro ‘__Pyx_BUILD_ASSERT_EXPR’
- 983 | (sizeof(char [1 - 2*!(cond)]) - 1)
- | ^~~~
- mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
- 29746 | __Pxy_PyFrame_Initialize_Offsets();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mpfr.c:990:61: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
- 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
- | ^~~~~~~~
- mpfr.c:983:27: note: in definition of macro ‘__Pyx_BUILD_ASSERT_EXPR’
- 983 | (sizeof(char [1 - 2*!(cond)]) - 1)
- | ^~~~
- mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
- 29746 | __Pxy_PyFrame_Initialize_Offsets();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.11/pymacro.h:41:56: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
- 41 | #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
- | ^~
- mpfr.c:983:27: note: in definition of macro ‘__Pyx_BUILD_ASSERT_EXPR’
- 983 | (sizeof(char [1 - 2*!(cond)]) - 1)
- | ^~~~
- mpfr.c:990:101: note: in expansion of macro ‘Py_MEMBER_SIZE’
- 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
- | ^~~~~~~~~~~~~~
- mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
- 29746 | __Pxy_PyFrame_Initialize_Offsets();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/python3.11/Python.h:39:
- /usr/include/python3.11/pymacro.h:41:56: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
- 41 | #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
- | ^~
- mpfr.c:991:85: note: in expansion of macro ‘Py_MEMBER_SIZE’
- 991 | (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
- | ^~~~~~~~~~~~~~
- mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
- 29746 | __Pxy_PyFrame_Initialize_Offsets();
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mpfr.c:990:145: warning: left-hand operand of comma expression has no effect [-Wunused-value]
- 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
- | ^~
- 991 | (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
- |
- mpfr.c:990:145: note: in definition of macro ‘__Pxy_PyFrame_Initialize_Offsets’
- 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
- | ^~
- 991 | (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
- |
- mpfr.c: In function ‘__Pyx_PyFunction_FastCallNoKw’:
- mpfr.c:32401:15: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
- 32401 | ++tstate->recursion_depth;
- | ^~~~~~~~~~~~~~~
- | recursion_limit
- mpfr.c:32403:15: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
- 32403 | --tstate->recursion_depth;
- | ^~~~~~~~~~~~~~~
- | recursion_limit
- mpfr.c: In function ‘__Pyx_PyFunction_FastCallDict’:
- mpfr.c:32430:60: error: ‘CO_NOFREE’ undeclared (first use in this function)
- 32430 | co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
- | ^~~~~~~~~
- mpfr.c:32430:60: note: each undeclared identifier is reported only once for each function it appears in
- mpfr.c: In function ‘__Pyx_ParseOptionalKeywords’:
- mpfr.c:32897:21: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
- 32897 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^
- In file included from /usr/include/python3.11/unicodeobject.h:1042,
- from /usr/include/python3.11/Python.h:51:
- /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
- 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
- | ^~~~~~~~~~~~~~~~~~
- mpfr.c:32897:21: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
- 32897 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^
- /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
- 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
- | ^~~~~~~~~~~~~~~~~~
- mpfr.c:32913:25: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
- 32913 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^
- /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
- 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
- | ^~~~~~~~~~~~~~~~~~
- mpfr.c:32913:25: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
- 32913 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^
- /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
- 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
- | ^~~~~~~~~~~~~~~~~~
- mpfr.c: In function ‘__Pyx__GetException’:
- mpfr.c:33032:28: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33032 | tmp_type = exc_info->exc_type;
- | ^~
- mpfr.c:33034:26: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33034 | tmp_tb = exc_info->exc_traceback;
- | ^~
- mpfr.c:33035:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33035 | exc_info->exc_type = local_type;
- | ^~
- mpfr.c:33037:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33037 | exc_info->exc_traceback = local_tb;
- | ^~
- mpfr.c: In function ‘__Pyx__ExceptionSwap’:
- mpfr.c:33070:24: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33070 | tmp_type = exc_info->exc_type;
- | ^~
- mpfr.c:33072:22: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33072 | tmp_tb = exc_info->exc_traceback;
- | ^~
- mpfr.c:33073:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33073 | exc_info->exc_type = *type;
- | ^~
- mpfr.c:33075:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33075 | exc_info->exc_traceback = *tb;
- | ^~
- mpfr.c: In function ‘__Pyx_PyErr_GetTopmostException’:
- mpfr.c:33105:21: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33105 | while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
- | ^~
- mpfr.c:33105:51: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33105 | while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
- | ^~
- mpfr.c: In function ‘__Pyx__ExceptionSave’:
- mpfr.c:33119:21: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33119 | *type = exc_info->exc_type;
- | ^~
- mpfr.c:33121:19: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33121 | *tb = exc_info->exc_traceback;
- | ^~
- mpfr.c: In function ‘__Pyx__ExceptionReset’:
- mpfr.c:33135:24: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33135 | tmp_type = exc_info->exc_type;
- | ^~
- mpfr.c:33137:22: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33137 | tmp_tb = exc_info->exc_traceback;
- | ^~
- mpfr.c:33138:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
- 33138 | exc_info->exc_type = type;
- | ^~
- mpfr.c:33140:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
- 33140 | exc_info->exc_traceback = tb;
- | ^~
- mpfr.c: In function ‘__Pyx_decode_c_bytes’:
- mpfr.c:33173:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
- 33173 | return PyUnicode_FromUnicode(NULL, 0);
- | ^~~~~~
- /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here
- 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
- | ^~~~~~~~~~~~~~~~~~~~~
- mpfr.c: In function ‘__Pyx_decode_c_string’:
- mpfr.c:33436:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
- 33436 | return PyUnicode_FromUnicode(NULL, 0);
- | ^~~~~~
- /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here
- 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
- | ^~~~~~~~~~~~~~~~~~~~~
- mpfr.c: In function ‘__Pyx_CreateCodeObjectForTraceback’:
- mpfr.c:33612:9: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
- 33612 | py_line,
- | ^~~~~~~
- | |
- | int
- mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~
- /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~~~~~~~~
- mpfr.c:33613:9: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
- 33613 | __pyx_empty_bytes /*PyObject *lnotab*/
- | ^~~~~~~~~~~~~~~~~
- | |
- | PyObject * {aka struct _object *}
- mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~
- /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
- 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
- | ^~~
- mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
- 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
- | ^~~~~~~~~~
- mpfr.c:33598:15: note: in expansion of macro ‘__Pyx_PyCode_New’
- 33598 | py_code = __Pyx_PyCode_New(
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.11/cpython/code.h:148:28: note: declared here
- 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
- | ^~~~~~~~~~
- mpfr.c: In function ‘__Pyx_AddTraceback’:
- mpfr.c:386:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
- 386 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
- | ^~
- mpfr.c:33645:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’
- 33645 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- error: legacy-install-failure
- × Encountered error while trying to install package.
- ╰─> bigfloat
Advertisement
Add Comment
Please, Sign In to add comment