Guest User

Untitled

a guest
Jun 27th, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.71 KB | None | 0 0
  1. pip install bigfloat
  2. Collecting bigfloat
  3. Using cached bigfloat-0.4.0.tar.gz (258 kB)
  4. Preparing metadata (setup.py) ... done
  5. Requirement already satisfied: six in ./venv/lib/python3.11/site-packages (from bigfloat) (1.16.0)
  6. Installing collected packages: bigfloat
  7. 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
  8.  
  9. // I removed more compile errors because the log is too long
  10.  
  11. PyObject * {aka struct _object *}
  12. mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
  13. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  14. | ^~~~
  15. /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  16. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  17. | ^~~
  18. mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
  19. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  20. | ^~~~~~~~~~
  21. mpfr.c:29499:35: note: in expansion of macro ‘__Pyx_PyCode_New’
  22. 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)
  23. | ^~~~~~~~~~~~~~~~
  24. /usr/include/python3.11/cpython/code.h:148:28: note: declared here
  25. 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
  26. | ^~~~~~~~~~
  27. mpfr.c:29508:251: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
  28. 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)
  29. | ^~~~
  30. | |
  31. | int
  32. mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
  33. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  34. | ^~~~~
  35. /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
  36. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  37. | ^~~~~~~~~~
  38. mpfr.c:29508:257: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
  39. 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)
  40. | ^~~~~~~~~~~~~~~~~
  41. | |
  42. | PyObject * {aka struct _object *}
  43. mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
  44. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  45. | ^~~~
  46. /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  47. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  48. | ^~~
  49. mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
  50. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  51. | ^~~~~~~~~~
  52. mpfr.c:29508:35: note: in expansion of macro ‘__Pyx_PyCode_New’
  53. 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)
  54. | ^~~~~~~~~~~~~~~~
  55. /usr/include/python3.11/cpython/code.h:148:28: note: declared here
  56. 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
  57. | ^~~~~~~~~~
  58. mpfr.c:29517:252: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
  59. 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)
  60. | ^~~~
  61. | |
  62. | int
  63. mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
  64. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  65. | ^~~~~
  66. /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
  67. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  68. | ^~~~~~~~~~
  69. mpfr.c:29517:258: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
  70. 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)
  71. | ^~~~~~~~~~~~~~~~~
  72. | |
  73. | PyObject * {aka struct _object *}
  74. mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
  75. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  76. | ^~~~
  77. /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  78. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  79. | ^~~
  80. mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
  81. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  82. | ^~~~~~~~~~
  83. mpfr.c:29517:35: note: in expansion of macro ‘__Pyx_PyCode_New’
  84. 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)
  85. | ^~~~~~~~~~~~~~~~
  86. /usr/include/python3.11/cpython/code.h:148:28: note: declared here
  87. 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
  88. | ^~~~~~~~~~
  89. mpfr.c:29526:253: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
  90. 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)
  91. | ^~~~
  92. | |
  93. | int
  94. mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
  95. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  96. | ^~~~~
  97. /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
  98. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  99. | ^~~~~~~~~~
  100. mpfr.c:29526:259: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
  101. 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)
  102. | ^~~~~~~~~~~~~~~~~
  103. | |
  104. | PyObject * {aka struct _object *}
  105. mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
  106. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  107. | ^~~~
  108. /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  109. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  110. | ^~~
  111. mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
  112. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  113. | ^~~~~~~~~~
  114. mpfr.c:29526:35: note: in expansion of macro ‘__Pyx_PyCode_New’
  115. 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)
  116. | ^~~~~~~~~~~~~~~~
  117. /usr/include/python3.11/cpython/code.h:148:28: note: declared here
  118. 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
  119. | ^~~~~~~~~~
  120. mpfr.c:29535:255: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
  121. 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)
  122. | ^~~~
  123. | |
  124. | int
  125. mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
  126. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  127. | ^~~~~
  128. /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
  129. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  130. | ^~~~~~~~~~
  131. mpfr.c:29535:261: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
  132. 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)
  133. | ^~~~~~~~~~~~~~~~~
  134. | |
  135. | PyObject * {aka struct _object *}
  136. mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
  137. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  138. | ^~~~
  139. /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  140. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  141. | ^~~
  142. mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
  143. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  144. | ^~~~~~~~~~
  145. mpfr.c:29535:35: note: in expansion of macro ‘__Pyx_PyCode_New’
  146. 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)
  147. | ^~~~~~~~~~~~~~~~
  148. /usr/include/python3.11/cpython/code.h:148:28: note: declared here
  149. 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
  150. | ^~~~~~~~~~
  151. mpfr.c: In function ‘__pyx_pymod_exec_mpfr’:
  152. mpfr.c:990:43: error: invalid application of ‘sizeof’ to incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  153. 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
  154. | ^~~~~~~~~~~~~
  155. mpfr.c:983:27: note: in definition of macro ‘__Pyx_BUILD_ASSERT_EXPR’
  156. 983 | (sizeof(char [1 - 2*!(cond)]) - 1)
  157. | ^~~~
  158. mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
  159. 29746 | __Pxy_PyFrame_Initialize_Offsets();
  160. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  161. mpfr.c:990:61: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  162. 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
  163. | ^~~~~~~~
  164. mpfr.c:983:27: note: in definition of macro ‘__Pyx_BUILD_ASSERT_EXPR’
  165. 983 | (sizeof(char [1 - 2*!(cond)]) - 1)
  166. | ^~~~
  167. mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
  168. 29746 | __Pxy_PyFrame_Initialize_Offsets();
  169. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  170. /usr/include/python3.11/pymacro.h:41:56: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  171. 41 | #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
  172. | ^~
  173. mpfr.c:983:27: note: in definition of macro ‘__Pyx_BUILD_ASSERT_EXPR’
  174. 983 | (sizeof(char [1 - 2*!(cond)]) - 1)
  175. | ^~~~
  176. mpfr.c:990:101: note: in expansion of macro ‘Py_MEMBER_SIZE’
  177. 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
  178. | ^~~~~~~~~~~~~~
  179. mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
  180. 29746 | __Pxy_PyFrame_Initialize_Offsets();
  181. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  182. In file included from /usr/include/python3.11/Python.h:39:
  183. /usr/include/python3.11/pymacro.h:41:56: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  184. 41 | #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
  185. | ^~
  186. mpfr.c:991:85: note: in expansion of macro ‘Py_MEMBER_SIZE’
  187. 991 | (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
  188. | ^~~~~~~~~~~~~~
  189. mpfr.c:29746:3: note: in expansion of macro ‘__Pxy_PyFrame_Initialize_Offsets’
  190. 29746 | __Pxy_PyFrame_Initialize_Offsets();
  191. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  192. mpfr.c:990:145: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  193. 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
  194. | ^~
  195. 991 | (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
  196. |
  197. mpfr.c:990:145: note: in definition of macro ‘__Pxy_PyFrame_Initialize_Offsets’
  198. 990 | ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
  199. | ^~
  200. 991 | (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
  201. |
  202. mpfr.c: In function ‘__Pyx_PyFunction_FastCallNoKw’:
  203. mpfr.c:32401:15: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
  204. 32401 | ++tstate->recursion_depth;
  205. | ^~~~~~~~~~~~~~~
  206. | recursion_limit
  207. mpfr.c:32403:15: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’?
  208. 32403 | --tstate->recursion_depth;
  209. | ^~~~~~~~~~~~~~~
  210. | recursion_limit
  211. mpfr.c: In function ‘__Pyx_PyFunction_FastCallDict’:
  212. mpfr.c:32430:60: error: ‘CO_NOFREE’ undeclared (first use in this function)
  213. 32430 | co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
  214. | ^~~~~~~~~
  215. mpfr.c:32430:60: note: each undeclared identifier is reported only once for each function it appears in
  216. mpfr.c: In function ‘__Pyx_ParseOptionalKeywords’:
  217. mpfr.c:32897:21: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
  218. 32897 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  219. | ^
  220. In file included from /usr/include/python3.11/unicodeobject.h:1042,
  221. from /usr/include/python3.11/Python.h:51:
  222. /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  223. 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
  224. | ^~~~~~~~~~~~~~~~~~
  225. mpfr.c:32897:21: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
  226. 32897 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
  227. | ^
  228. /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  229. 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
  230. | ^~~~~~~~~~~~~~~~~~
  231. mpfr.c:32913:25: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
  232. 32913 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  233. | ^
  234. /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  235. 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
  236. | ^~~~~~~~~~~~~~~~~~
  237. mpfr.c:32913:25: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
  238. 32913 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
  239. | ^
  240. /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
  241. 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
  242. | ^~~~~~~~~~~~~~~~~~
  243. mpfr.c: In function ‘__Pyx__GetException’:
  244. mpfr.c:33032:28: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  245. 33032 | tmp_type = exc_info->exc_type;
  246. | ^~
  247. mpfr.c:33034:26: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  248. 33034 | tmp_tb = exc_info->exc_traceback;
  249. | ^~
  250. mpfr.c:33035:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  251. 33035 | exc_info->exc_type = local_type;
  252. | ^~
  253. mpfr.c:33037:17: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  254. 33037 | exc_info->exc_traceback = local_tb;
  255. | ^~
  256. mpfr.c: In function ‘__Pyx__ExceptionSwap’:
  257. mpfr.c:33070:24: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  258. 33070 | tmp_type = exc_info->exc_type;
  259. | ^~
  260. mpfr.c:33072:22: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  261. 33072 | tmp_tb = exc_info->exc_traceback;
  262. | ^~
  263. mpfr.c:33073:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  264. 33073 | exc_info->exc_type = *type;
  265. | ^~
  266. mpfr.c:33075:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  267. 33075 | exc_info->exc_traceback = *tb;
  268. | ^~
  269. mpfr.c: In function ‘__Pyx_PyErr_GetTopmostException’:
  270. mpfr.c:33105:21: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  271. 33105 | while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
  272. | ^~
  273. mpfr.c:33105:51: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  274. 33105 | while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
  275. | ^~
  276. mpfr.c: In function ‘__Pyx__ExceptionSave’:
  277. mpfr.c:33119:21: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  278. 33119 | *type = exc_info->exc_type;
  279. | ^~
  280. mpfr.c:33121:19: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  281. 33121 | *tb = exc_info->exc_traceback;
  282. | ^~
  283. mpfr.c: In function ‘__Pyx__ExceptionReset’:
  284. mpfr.c:33135:24: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  285. 33135 | tmp_type = exc_info->exc_type;
  286. | ^~
  287. mpfr.c:33137:22: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  288. 33137 | tmp_tb = exc_info->exc_traceback;
  289. | ^~
  290. mpfr.c:33138:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_type’
  291. 33138 | exc_info->exc_type = type;
  292. | ^~
  293. mpfr.c:33140:13: error: ‘_PyErr_StackItem’ {aka ‘struct _err_stackitem’} has no member named ‘exc_traceback’
  294. 33140 | exc_info->exc_traceback = tb;
  295. | ^~
  296. mpfr.c: In function ‘__Pyx_decode_c_bytes’:
  297. mpfr.c:33173:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
  298. 33173 | return PyUnicode_FromUnicode(NULL, 0);
  299. | ^~~~~~
  300. /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here
  301. 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
  302. | ^~~~~~~~~~~~~~~~~~~~~
  303. mpfr.c: In function ‘__Pyx_decode_c_string’:
  304. mpfr.c:33436:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
  305. 33436 | return PyUnicode_FromUnicode(NULL, 0);
  306. | ^~~~~~
  307. /usr/include/python3.11/cpython/unicodeobject.h:600:42: note: declared here
  308. 600 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
  309. | ^~~~~~~~~~~~~~~~~~~~~
  310. mpfr.c: In function ‘__Pyx_CreateCodeObjectForTraceback’:
  311. mpfr.c:33612:9: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
  312. 33612 | py_line,
  313. | ^~~~~~~
  314. | |
  315. | int
  316. mpfr.c:335:72: note: in definition of macro ‘__Pyx_PyCode_New’
  317. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  318. | ^~~~~
  319. /usr/include/python3.11/cpython/code.h:151:33: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
  320. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  321. | ^~~~~~~~~~
  322. mpfr.c:33613:9: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
  323. 33613 | __pyx_empty_bytes /*PyObject *lnotab*/
  324. | ^~~~~~~~~~~~~~~~~
  325. | |
  326. | PyObject * {aka struct _object *}
  327. mpfr.c:335:79: note: in definition of macro ‘__Pyx_PyCode_New’
  328. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  329. | ^~~~
  330. /usr/include/python3.11/cpython/code.h:151:45: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
  331. 151 | PyObject *, PyObject *, PyObject *, int, PyObject *,
  332. | ^~~
  333. mpfr.c:335:11: error: too few arguments to function ‘PyCode_New’
  334. 335 | PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  335. | ^~~~~~~~~~
  336. mpfr.c:33598:15: note: in expansion of macro ‘__Pyx_PyCode_New’
  337. 33598 | py_code = __Pyx_PyCode_New(
  338. | ^~~~~~~~~~~~~~~~
  339. /usr/include/python3.11/cpython/code.h:148:28: note: declared here
  340. 148 | PyAPI_FUNC(PyCodeObject *) PyCode_New(
  341. | ^~~~~~~~~~
  342. mpfr.c: In function ‘__Pyx_AddTraceback’:
  343. mpfr.c:386:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
  344. 386 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
  345. | ^~
  346. mpfr.c:33645:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’
  347. 33645 | __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
  348. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  349. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  350. [end of output]
  351.  
  352. note: This error originates from a subprocess, and is likely not a problem with pip.
  353. error: legacy-install-failure
  354.  
  355. × Encountered error while trying to install package.
  356. ╰─> bigfloat
  357.  
Advertisement
Add Comment
Please, Sign In to add comment