Advertisement
Guest User

ore algebra fail

a guest
Oct 18th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.91 KB | None | 0 0
  1. ==> Making package: ore_algebra 0.5-1 (Fri 18 Oct 2024 17:03:34)
  2. ==> Checking runtime dependencies...
  3. ==> Checking buildtime dependencies...
  4. ==> Retrieving sources...
  5. -> Found ore_algebra-0.5.tar.gz
  6. ==> Validating source files with sha256sums...
  7. ore_algebra-0.5.tar.gz ... Passed
  8. ==> Extracting sources...
  9. -> Extracting ore_algebra-0.5.tar.gz with bsdtar
  10. ==> Removing existing $pkgdir/ directory...
  11. ==> Starting build()...
  12. Compiling src/ore_algebra/analytic/binary_splitting_arb.pyx because it changed.
  13. Compiling src/ore_algebra/analytic/eval_poly_at_int.pyx because it changed.
  14. Compiling src/ore_algebra/analytic/naive_sum_c.pyx because it changed.
  15. [1/3] Cythonizing src/ore_algebra/analytic/binary_splitting_arb.pyx
  16.  
  17. Error compiling Cython file:
  18. ------------------------------------------------------------
  19. ...
  20. int _acb_vec_get_unique_fmpz_vec(fmpz * res, acb_srcptr vec, slong len) noexcept
  21. void _acb_vec_sort_pretty(acb_ptr vec, slong len) noexcept
  22. void _acb_vec_printd(acb_srcptr vec, slong len, slong digits) noexcept
  23. void _acb_vec_printn(acb_srcptr vec, slong len, slong digits, ulong flags) noexcept
  24.  
  25. from .acb_macros cimport *
  26. ^
  27. ------------------------------------------------------------
  28.  
  29. /usr/lib/python3.12/site-packages/sage/libs/flint/acb.pxd:269:0: 'sage/libs/flint/acb_macros.pxd' not found
  30.  
  31. Error compiling Cython file:
  32. ------------------------------------------------------------
  33. ...
  34. # Deprecated header file; use sage/libs/flint/acb.pxd instead
  35. # See https://github.com/sagemath/sage/pull/36449
  36.  
  37. from sage.libs.flint.types cimport acb_struct, acb_t, acb_ptr, acb_srcptr
  38.  
  39. from sage.libs.flint.acb cimport (
  40. ^
  41. ------------------------------------------------------------
  42.  
  43. /usr/lib/python3.12/site-packages/sage/libs/arb/acb.pxd:6:0: 'sage/libs/flint/acb/acb_realref.pxd' not found
  44.  
  45. Error compiling Cython file:
  46. ------------------------------------------------------------
  47. ...
  48. # Deprecated header file; use sage/libs/flint/acb.pxd instead
  49. # See https://github.com/sagemath/sage/pull/36449
  50.  
  51. from sage.libs.flint.types cimport acb_struct, acb_t, acb_ptr, acb_srcptr
  52.  
  53. from sage.libs.flint.acb cimport (
  54. ^
  55. ------------------------------------------------------------
  56.  
  57. /usr/lib/python3.12/site-packages/sage/libs/arb/acb.pxd:6:0: 'sage/libs/flint/acb/acb_imagref.pxd' not found
  58.  
  59. Error compiling Cython file:
  60. ------------------------------------------------------------
  61. ...
  62. slong _acb_poly_find_roots(acb_ptr roots, acb_srcptr poly, acb_srcptr initial, slong len, slong maxiter, slong prec) noexcept
  63. slong acb_poly_find_roots(acb_ptr roots, const acb_poly_t poly, acb_srcptr initial, slong maxiter, slong prec) noexcept
  64. int _acb_poly_validate_real_roots(acb_srcptr roots, acb_srcptr poly, slong len, slong prec) noexcept
  65. int acb_poly_validate_real_roots(acb_srcptr roots, const acb_poly_t poly, slong prec) noexcept
  66.  
  67. from .acb_poly_macros cimport *
  68. ^
  69. ------------------------------------------------------------
  70.  
  71. /usr/lib/python3.12/site-packages/sage/libs/flint/acb_poly.pxd:250:0: 'sage/libs/flint/acb_poly_macros.pxd' not found
  72.  
  73. Error compiling Cython file:
  74. ------------------------------------------------------------
  75. ...
  76. # Deprecated header file; use sage/libs/flint/acb_poly.pxd instead
  77. # See https://github.com/sagemath/sage/pull/36449
  78.  
  79. from sage.libs.flint.types cimport acb_poly_struct, acb_poly_t
  80.  
  81. from sage.libs.flint.acb_poly cimport (
  82. ^
  83. ------------------------------------------------------------
  84.  
  85. /usr/lib/python3.12/site-packages/sage/libs/arb/acb_poly.pxd:6:0: 'sage/libs/flint/acb_poly/acb_poly_get_coeff_ptr.pxd' not found
  86.  
  87. Error compiling Cython file:
  88. ------------------------------------------------------------
  89. ...
  90. int acb_mat_eig_simple_vdhoeven_mourrain(acb_ptr E, acb_mat_t L, acb_mat_t R, const acb_mat_t A, acb_srcptr E_approx, const acb_mat_t R_approx, slong prec) noexcept
  91. int acb_mat_eig_simple(acb_ptr E, acb_mat_t L, acb_mat_t R, const acb_mat_t A, acb_srcptr E_approx, const acb_mat_t R_approx, slong prec) noexcept
  92. int acb_mat_eig_multiple_rump(acb_ptr E, const acb_mat_t A, acb_srcptr E_approx, const acb_mat_t R_approx, slong prec) noexcept
  93. int acb_mat_eig_multiple(acb_ptr E, const acb_mat_t A, acb_srcptr E_approx, const acb_mat_t R_approx, slong prec) noexcept
  94.  
  95. from .acb_mat_macros cimport *
  96. ^
  97. ------------------------------------------------------------
  98.  
  99. /usr/lib/python3.12/site-packages/sage/libs/flint/acb_mat.pxd:135:0: 'sage/libs/flint/acb_mat_macros.pxd' not found
  100.  
  101. Error compiling Cython file:
  102. ------------------------------------------------------------
  103. ...
  104. # Deprecated header file; use sage/libs/flint/acb_mat.pxd instead
  105. # See https://github.com/sagemath/sage/pull/36449
  106.  
  107. from sage.libs.flint.types cimport acb_mat_struct, acb_mat_t
  108.  
  109. from sage.libs.flint.acb_mat cimport (
  110. ^
  111. ------------------------------------------------------------
  112.  
  113. /usr/lib/python3.12/site-packages/sage/libs/arb/acb_mat.pxd:6:0: 'sage/libs/flint/acb_mat/acb_mat_nrows.pxd' not found
  114.  
  115. Error compiling Cython file:
  116. ------------------------------------------------------------
  117. ...
  118. # Deprecated header file; use sage/libs/flint/acb_mat.pxd instead
  119. # See https://github.com/sagemath/sage/pull/36449
  120.  
  121. from sage.libs.flint.types cimport acb_mat_struct, acb_mat_t
  122.  
  123. from sage.libs.flint.acb_mat cimport (
  124. ^
  125. ------------------------------------------------------------
  126.  
  127. /usr/lib/python3.12/site-packages/sage/libs/arb/acb_mat.pxd:6:0: 'sage/libs/flint/acb_mat/acb_mat_ncols.pxd' not found
  128.  
  129. Error compiling Cython file:
  130. ------------------------------------------------------------
  131. ...
  132. # Deprecated header file; use sage/libs/flint/acb_mat.pxd instead
  133. # See https://github.com/sagemath/sage/pull/36449
  134.  
  135. from sage.libs.flint.types cimport acb_mat_struct, acb_mat_t
  136.  
  137. from sage.libs.flint.acb_mat cimport (
  138. ^
  139. ------------------------------------------------------------
  140.  
  141. /usr/lib/python3.12/site-packages/sage/libs/arb/acb_mat.pxd:6:0: 'sage/libs/flint/acb_mat/acb_mat_entry.pxd' not found
  142.  
  143. Error compiling Cython file:
  144. ------------------------------------------------------------
  145. ...
  146. int fmpz_factor_moebius_mu(const fmpz_factor_t fac) noexcept
  147. int fmpz_moebius_mu(const fmpz_t n) noexcept
  148. void fmpz_factor_divisor_sigma(fmpz_t res, ulong k, const fmpz_factor_t fac) noexcept
  149. void fmpz_divisor_sigma(fmpz_t res, ulong k, const fmpz_t n) noexcept
  150.  
  151. from .fmpz_macros cimport *
  152. ^
  153. ------------------------------------------------------------
  154.  
  155. /usr/lib/python3.12/site-packages/sage/libs/flint/fmpz.pxd:255:0: 'sage/libs/flint/fmpz_macros.pxd' not found
  156.  
  157. Error compiling Cython file:
  158. ------------------------------------------------------------
  159. ...
  160. void fmpz_poly_eta_qexp(fmpz_poly_t f, slong r, slong n) noexcept
  161. void _fmpz_poly_theta_qexp(fmpz * f, slong r, slong len) noexcept
  162. void fmpz_poly_theta_qexp(fmpz_poly_t f, slong r, slong n) noexcept
  163. void fmpz_poly_CLD_bound(fmpz_t res, const fmpz_poly_t f, slong n) noexcept
  164.  
  165. from .fmpz_poly_macros cimport *
  166. ^
  167. ------------------------------------------------------------
  168.  
  169. /usr/lib/python3.12/site-packages/sage/libs/flint/fmpz_poly.pxd:406:0: 'sage/libs/flint/fmpz_poly_macros.pxd' not found
  170.  
  171. Error compiling Cython file:
  172. ------------------------------------------------------------
  173. ...
  174. void _arb_vec_trim(arb_ptr res, arb_srcptr vec, slong len) noexcept
  175. int _arb_vec_get_unique_fmpz_vec(fmpz * res, arb_srcptr vec, slong len) noexcept
  176. void _arb_vec_printn(arb_srcptr vec, slong len, slong digits, ulong flags) noexcept
  177. void _arb_vec_printd(arb_srcptr vec, slong len, slong ndigits) noexcept
  178.  
  179. from .arb_macros cimport *
  180. ^
  181. ------------------------------------------------------------
  182.  
  183. /usr/lib/python3.12/site-packages/sage/libs/flint/arb.pxd:381:0: 'sage/libs/flint/arb_macros.pxd' not found
  184.  
  185. Error compiling Cython file:
  186. ------------------------------------------------------------
  187. ...
  188. val_pert._parent = rec.bwrec.base_ring
  189. # Only needed to order ord_log + mult, but compose_series requires
  190. # the inner polynomial to have valuation > 0.
  191. # TODO: Maybe use evaluate or evaluate2 instead when applicable.
  192. acb_poly_taylor_shift(
  193. val_pert.__poly,
  194. ^
  195. ------------------------------------------------------------
  196.  
  197. src/ore_algebra/analytic/binary_splitting_arb.pyx:71:28: Cannot convert Python object to 'acb_poly_struct *'
  198.  
  199. Error compiling Cython file:
  200. ------------------------------------------------------------
  201. ...
  202. # Only needed to order ord_log + mult, but compose_series requires
  203. # the inner polynomial to have valuation > 0.
  204. # TODO: Maybe use evaluate or evaluate2 instead when applicable.
  205. acb_poly_taylor_shift(
  206. val_pert.__poly,
  207. (<Polynomial_complex_arb> (rec.bwrec.coeff[i])).__poly,
  208. ^
  209. ------------------------------------------------------------
  210.  
  211. src/ore_algebra/analytic/binary_splitting_arb.pyx:72:67: Cannot convert Python object to 'acb_poly_struct *'
  212.  
  213. Error compiling Cython file:
  214. ------------------------------------------------------------
  215. ...
  216. acb_poly_taylor_shift(
  217. val_pert.__poly,
  218. (<Polynomial_complex_arb> (rec.bwrec.coeff[i])).__poly,
  219. n, prec)
  220. acb_poly_truncate(
  221. val_pert.__poly,
  222. ^
  223. ------------------------------------------------------------
  224.  
  225. src/ore_algebra/analytic/binary_splitting_arb.pyx:75:28: Cannot convert Python object to 'acb_poly_struct *'
  226.  
  227. Error compiling Cython file:
  228. ------------------------------------------------------------
  229. ...
  230. acb_clear(n)
  231.  
  232. den = ComplexBall.__new__(ComplexBall)
  233. den._parent = rec.bwrec.Scalars
  234.  
  235. lc = (<Polynomial_complex_arb> (bwrec_n[0])).__poly
  236. ^
  237. ------------------------------------------------------------
  238.  
  239. src/ore_algebra/analytic/binary_splitting_arb.pyx:83:52: Cannot convert Python object to 'acb_poly_struct *'
  240.  
  241. Error compiling Cython file:
  242. ------------------------------------------------------------
  243. ...
  244. den = ComplexBall.__new__(ComplexBall)
  245. den._parent = rec.bwrec.Scalars
  246.  
  247. lc = (<Polynomial_complex_arb> (bwrec_n[0])).__poly
  248. for i in range(mult):
  249. assert acb_contains_zero(acb_poly_get_coeff_ptr(lc, i)), "!= 0"
  250. ^
  251. ------------------------------------------------------------
  252.  
  253. src/ore_algebra/analytic/binary_splitting_arb.pyx:85:60: Cannot convert 'acb_poly_struct *' to Python object
  254.  
  255. Error compiling Cython file:
  256. ------------------------------------------------------------
  257. ...
  258. den = ComplexBall.__new__(ComplexBall)
  259. den._parent = rec.bwrec.Scalars
  260.  
  261. lc = (<Polynomial_complex_arb> (bwrec_n[0])).__poly
  262. for i in range(mult):
  263. assert acb_contains_zero(acb_poly_get_coeff_ptr(lc, i)), "!= 0"
  264. ^
  265. ------------------------------------------------------------
  266.  
  267. src/ore_algebra/analytic/binary_splitting_arb.pyx:85:59: Cannot convert Python object to 'acb_struct *'
  268.  
  269. Error compiling Cython file:
  270. ------------------------------------------------------------
  271. ...
  272. acb_poly_fit_length(lc, ord_inv)
  273. acb_poly_get_coeff_acb(lc0, lc, 0)
  274. prec_inv = prec + ord_inv*(acb_bits(lc0) + 1)
  275. acb_init(lc0pow)
  276. # lc ← lc(lc[0]*x)/lc[0]
  277. acb_one(acb_poly_get_coeff_ptr(lc, 0))
  278. ^
  279. ------------------------------------------------------------
  280.  
  281. src/ore_algebra/analytic/binary_splitting_arb.pyx:117:43: Cannot convert 'acb_poly_struct *' to Python object
  282.  
  283. Error compiling Cython file:
  284. ------------------------------------------------------------
  285. ...
  286. acb_poly_fit_length(lc, ord_inv)
  287. acb_poly_get_coeff_acb(lc0, lc, 0)
  288. prec_inv = prec + ord_inv*(acb_bits(lc0) + 1)
  289. acb_init(lc0pow)
  290. # lc ← lc(lc[0]*x)/lc[0]
  291. acb_one(acb_poly_get_coeff_ptr(lc, 0))
  292. ^
  293. ------------------------------------------------------------
  294.  
  295. src/ore_algebra/analytic/binary_splitting_arb.pyx:117:42: Cannot convert Python object to 'acb_struct *'
  296.  
  297. Error compiling Cython file:
  298. ------------------------------------------------------------
  299. ...
  300. # lc ← lc(lc[0]*x)/lc[0]
  301. acb_one(acb_poly_get_coeff_ptr(lc, 0))
  302. acb_one(lc0pow)
  303. for i in range(2, ord_log): # lc[i] ← lc[0]^(i-1)·lc[i]
  304. acb_mul(lc0pow, lc0pow, lc0, prec_inv)
  305. c = acb_poly_get_coeff_ptr(lc, i)
  306. ^
  307. ------------------------------------------------------------
  308.  
  309. src/ore_algebra/analytic/binary_splitting_arb.pyx:121:43: Cannot convert 'acb_poly_struct *' to Python object
  310.  
  311. Error compiling Cython file:
  312. ------------------------------------------------------------
  313. ...
  314. # lc ← lc(lc[0]*x)/lc[0]
  315. acb_one(acb_poly_get_coeff_ptr(lc, 0))
  316. acb_one(lc0pow)
  317. for i in range(2, ord_log): # lc[i] ← lc[0]^(i-1)·lc[i]
  318. acb_mul(lc0pow, lc0pow, lc0, prec_inv)
  319. c = acb_poly_get_coeff_ptr(lc, i)
  320. ^
  321. ------------------------------------------------------------
  322.  
  323. src/ore_algebra/analytic/binary_splitting_arb.pyx:121:42: Cannot convert Python object to 'acb_struct *'
  324.  
  325. Error compiling Cython file:
  326. ------------------------------------------------------------
  327. ...
  328. # lc ← lc(lc[0]*x)/lc[0]
  329. acb_one(acb_poly_get_coeff_ptr(lc, 0))
  330. acb_one(lc0pow)
  331. for i in range(2, ord_log): # lc[i] ← lc[0]^(i-1)·lc[i]
  332. acb_mul(lc0pow, lc0pow, lc0, prec_inv)
  333. c = acb_poly_get_coeff_ptr(lc, i)
  334. ^
  335. ------------------------------------------------------------
  336.  
  337. src/ore_algebra/analytic/binary_splitting_arb.pyx:121:42: Storing unsafe C derivative of temporary Python reference
  338.  
  339. Error compiling Cython file:
  340. ------------------------------------------------------------
  341. ...
  342. acb_poly_inv_series(lc, lc, ord_inv, prec_inv)
  343. acb_one(lc0pow)
  344. acb_poly_fit_length(lc, ord_inv)
  345. for i in range(ord_inv-2, -1, -1):
  346. acb_mul(lc0pow, lc0pow, lc0, prec_inv)
  347. c = acb_poly_get_coeff_ptr(lc, i)
  348. ^
  349. ------------------------------------------------------------
  350.  
  351. src/ore_algebra/analytic/binary_splitting_arb.pyx:129:43: Cannot convert 'acb_poly_struct *' to Python object
  352.  
  353. Error compiling Cython file:
  354. ------------------------------------------------------------
  355. ...
  356. acb_poly_inv_series(lc, lc, ord_inv, prec_inv)
  357. acb_one(lc0pow)
  358. acb_poly_fit_length(lc, ord_inv)
  359. for i in range(ord_inv-2, -1, -1):
  360. acb_mul(lc0pow, lc0pow, lc0, prec_inv)
  361. c = acb_poly_get_coeff_ptr(lc, i)
  362. ^
  363. ------------------------------------------------------------
  364.  
  365. src/ore_algebra/analytic/binary_splitting_arb.pyx:129:42: Cannot convert Python object to 'acb_struct *'
  366.  
  367. Error compiling Cython file:
  368. ------------------------------------------------------------
  369. ...
  370. acb_poly_inv_series(lc, lc, ord_inv, prec_inv)
  371. acb_one(lc0pow)
  372. acb_poly_fit_length(lc, ord_inv)
  373. for i in range(ord_inv-2, -1, -1):
  374. acb_mul(lc0pow, lc0pow, lc0, prec_inv)
  375. c = acb_poly_get_coeff_ptr(lc, i)
  376. ^
  377. ------------------------------------------------------------
  378.  
  379. src/ore_algebra/analytic/binary_splitting_arb.pyx:129:42: Storing unsafe C derivative of temporary Python reference
  380.  
  381. Error compiling Cython file:
  382. ------------------------------------------------------------
  383. ...
  384. acb_clear(lc0pow)
  385. acb_clear(lc0)
  386.  
  387. for i in range(rec.ordrec):
  388. acb_poly_mullow(
  389. (<Polynomial_complex_arb> (bwrec_n[1+i])).__poly,
  390. ^
  391. ------------------------------------------------------------
  392.  
  393. src/ore_algebra/analytic/binary_splitting_arb.pyx:138:61: Cannot convert Python object to 'acb_poly_struct *'
  394.  
  395. Error compiling Cython file:
  396. ------------------------------------------------------------
  397. ...
  398. acb_clear(lc0)
  399.  
  400. for i in range(rec.ordrec):
  401. acb_poly_mullow(
  402. (<Polynomial_complex_arb> (bwrec_n[1+i])).__poly,
  403. (<Polynomial_complex_arb> (bwrec_n[1+i])).__poly,
  404. ^
  405. ------------------------------------------------------------
  406.  
  407. src/ore_algebra/analytic/binary_splitting_arb.pyx:139:61: Cannot convert Python object to 'acb_poly_struct *'
  408.  
  409. Error compiling Cython file:
  410. ------------------------------------------------------------
  411. ...
  412.  
  413. cdef Polynomial_complex_arb zpol = rec.Pols_rec.zero()
  414. seqs = [[zpol._new() for _ in range(rec.ordrec)]
  415. for _ in range(rec.ordrec)]
  416. for k in range(1, rec.ordrec + 1):
  417. acb_poly_one((<Polynomial_complex_arb> (seqs[-k][-k])).__poly)
  418. ^
  419. ------------------------------------------------------------
  420.  
  421. src/ore_algebra/analytic/binary_splitting_arb.pyx:163:66: Cannot convert Python object to 'acb_poly_struct *'
  422.  
  423. Error compiling Cython file:
  424. ------------------------------------------------------------
  425. ...
  426. prec = den._parent._prec
  427. ord_diff = <size_t> self.ord_diff
  428.  
  429. for q in range(ord_log):
  430. for p in range(ord_diff):
  431. a = acb_poly_get_coeff_ptr(pow_num.__poly, p)
  432. ^
  433. ------------------------------------------------------------
  434.  
  435. src/ore_algebra/analytic/binary_splitting_arb.pyx:195:42: Cannot convert Python object to 'acb_ptr'
  436.  
  437. Error compiling Cython file:
  438. ------------------------------------------------------------
  439. ...
  440. prec = den._parent._prec
  441. ord_diff = <size_t> self.ord_diff
  442.  
  443. for q in range(ord_log):
  444. for p in range(ord_diff):
  445. a = acb_poly_get_coeff_ptr(pow_num.__poly, p)
  446. ^
  447. ------------------------------------------------------------
  448.  
  449. src/ore_algebra/analytic/binary_splitting_arb.pyx:195:42: Storing unsafe C derivative of temporary Python reference
  450.  
  451. Error compiling Cython file:
  452. ------------------------------------------------------------
  453. ...
  454. ord_diff = <size_t> self.ord_diff
  455.  
  456. for q in range(ord_log):
  457. for p in range(ord_diff):
  458. a = acb_poly_get_coeff_ptr(pow_num.__poly, p)
  459. b = acb_poly_get_coeff_ptr(mynum.__poly, q)
  460. ^
  461. ------------------------------------------------------------
  462.  
  463. src/ore_algebra/analytic/binary_splitting_arb.pyx:196:42: Cannot convert Python object to 'acb_ptr'
  464.  
  465. Error compiling Cython file:
  466. ------------------------------------------------------------
  467. ...
  468. ord_diff = <size_t> self.ord_diff
  469.  
  470. for q in range(ord_log):
  471. for p in range(ord_diff):
  472. a = acb_poly_get_coeff_ptr(pow_num.__poly, p)
  473. b = acb_poly_get_coeff_ptr(mynum.__poly, q)
  474. ^
  475. ------------------------------------------------------------
  476.  
  477. src/ore_algebra/analytic/binary_splitting_arb.pyx:196:42: Storing unsafe C derivative of temporary Python reference
  478.  
  479. Error compiling Cython file:
  480. ------------------------------------------------------------
  481. ...
  482.  
  483. acb_poly_init(tmppol)
  484. for k in range(1, len(bwrec_n)):
  485. coef = <Polynomial_complex_arb> (bwrec_n[k])
  486. mynum = <Polynomial_complex_arb> (num[len_num-k])
  487. acb_poly_mullow(tmppol, coef.__poly, mynum.__poly, ord_log, prec)
  488. ^
  489. ------------------------------------------------------------
  490.  
  491. src/ore_algebra/analytic/binary_splitting_arb.pyx:208:40: Cannot convert Python object to 'acb_poly_struct *'
  492.  
  493. Error compiling Cython file:
  494. ------------------------------------------------------------
  495. ...
  496.  
  497. acb_poly_init(tmppol)
  498. for k in range(1, len(bwrec_n)):
  499. coef = <Polynomial_complex_arb> (bwrec_n[k])
  500. mynum = <Polynomial_complex_arb> (num[len_num-k])
  501. acb_poly_mullow(tmppol, coef.__poly, mynum.__poly, ord_log, prec)
  502. ^
  503. ------------------------------------------------------------
  504.  
  505. src/ore_algebra/analytic/binary_splitting_arb.pyx:208:54: Cannot convert Python object to 'acb_poly_struct *'
  506.  
  507. Error compiling Cython file:
  508. ------------------------------------------------------------
  509. ...
  510. acb_poly_sub(u_n, u_n, tmppol, prec)
  511. acb_poly_clear(tmppol)
  512.  
  513. for k in range(len_num - 1):
  514. acb_poly_scalar_mul(
  515. (<Polynomial_complex_arb> num[k]).__poly,
  516. ^
  517. ------------------------------------------------------------
  518.  
  519. src/ore_algebra/analytic/binary_splitting_arb.pyx:214:53: Cannot convert Python object to 'acb_poly_struct *'
  520.  
  521. Error compiling Cython file:
  522. ------------------------------------------------------------
  523. ...
  524. acb_poly_clear(tmppol)
  525.  
  526. for k in range(len_num - 1):
  527. acb_poly_scalar_mul(
  528. (<Polynomial_complex_arb> num[k]).__poly,
  529. (<Polynomial_complex_arb> num[k+1]).__poly,
  530. ^
  531. ------------------------------------------------------------
  532.  
  533. src/ore_algebra/analytic/binary_splitting_arb.pyx:215:55: Cannot convert Python object to 'acb_poly_struct *'
  534.  
  535. Error compiling Cython file:
  536. ------------------------------------------------------------
  537. ...
  538. acb_poly_scalar_mul(
  539. (<Polynomial_complex_arb> num[k]).__poly,
  540. (<Polynomial_complex_arb> num[k+1]).__poly,
  541. rec_den_n.value, prec)
  542.  
  543. acb_poly_swap((<Polynomial_complex_arb> num[len_num-1]).__poly, u_n)
  544. ^
  545. ------------------------------------------------------------
  546.  
  547. src/ore_algebra/analytic/binary_splitting_arb.pyx:218:63: Cannot convert Python object to 'acb_poly_struct *'
  548.  
  549. Error compiling Cython file:
  550. ------------------------------------------------------------
  551. ...
  552.  
  553. cdef unsigned int ordrec = high.rec_mat.base_ring().nrows()
  554. cdef unsigned long prec = Scalars.precision()
  555.  
  556. cdef acb_poly_struct *low_pow_num # why isn't this working with _ptr?
  557. low_pow_num = (<Polynomial_complex_arb> (low.pow_num)).__poly
  558. ^
  559. ------------------------------------------------------------
  560.  
  561. src/ore_algebra/analytic/binary_splitting_arb.pyx:237:62: Cannot convert Python object to 'acb_poly_struct *'
  562.  
  563. Error compiling Cython file:
  564. ------------------------------------------------------------
  565. ...
  566. for v in xrange(q + 1):
  567. l = <list> (high.sums_row)
  568. l = <list> (l[k])
  569. l = <list> (l[v])
  570. a = <acb_ptr> (<ComplexBall> l[u]).value
  571. b = acb_poly_get_coeff_ptr(low_pow_num, p-u)
  572. ^
  573. ------------------------------------------------------------
  574.  
  575. src/ore_algebra/analytic/binary_splitting_arb.pyx:278:59: Cannot convert 'acb_poly_struct *' to Python object
  576.  
  577. Error compiling Cython file:
  578. ------------------------------------------------------------
  579. ...
  580. for v in xrange(q + 1):
  581. l = <list> (high.sums_row)
  582. l = <list> (l[k])
  583. l = <list> (l[v])
  584. a = <acb_ptr> (<ComplexBall> l[u]).value
  585. b = acb_poly_get_coeff_ptr(low_pow_num, p-u)
  586. ^
  587. ------------------------------------------------------------
  588.  
  589. src/ore_algebra/analytic/binary_splitting_arb.pyx:278:58: Cannot convert Python object to 'acb_ptr'
  590.  
  591. Error compiling Cython file:
  592. ------------------------------------------------------------
  593. ...
  594. for v in xrange(q + 1):
  595. l = <list> (high.sums_row)
  596. l = <list> (l[k])
  597. l = <list> (l[v])
  598. a = <acb_ptr> (<ComplexBall> l[u]).value
  599. b = acb_poly_get_coeff_ptr(low_pow_num, p-u)
  600. ^
  601. ------------------------------------------------------------
  602.  
  603. src/ore_algebra/analytic/binary_splitting_arb.pyx:278:58: Storing unsafe C derivative of temporary Python reference
  604.  
  605. Error compiling Cython file:
  606. ------------------------------------------------------------
  607. ...
  608. if b == NULL:
  609. continue
  610. mat = acb_mat_poly_coeff_ptr(low_rec_mat, q-v)
  611. if mat == NULL:
  612. continue
  613. c = acb_mat_entry(mat, k, j)
  614. ^
  615. ------------------------------------------------------------
  616.  
  617. src/ore_algebra/analytic/binary_splitting_arb.pyx:284:50: Cannot convert 'acb_mat_struct *' to Python object
  618.  
  619. Error compiling Cython file:
  620. ------------------------------------------------------------
  621. ...
  622. if b == NULL:
  623. continue
  624. mat = acb_mat_poly_coeff_ptr(low_rec_mat, q-v)
  625. if mat == NULL:
  626. continue
  627. c = acb_mat_entry(mat, k, j)
  628. ^
  629. ------------------------------------------------------------
  630.  
  631. src/ore_algebra/analytic/binary_splitting_arb.pyx:284:49: Cannot convert Python object to 'acb_ptr'
  632.  
  633. Error compiling Cython file:
  634. ------------------------------------------------------------
  635. ...
  636. if b == NULL:
  637. continue
  638. mat = acb_mat_poly_coeff_ptr(low_rec_mat, q-v)
  639. if mat == NULL:
  640. continue
  641. c = acb_mat_entry(mat, k, j)
  642. ^
  643. ------------------------------------------------------------
  644.  
  645. src/ore_algebra/analytic/binary_splitting_arb.pyx:284:49: Storing unsafe C derivative of temporary Python reference
  646. Traceback (most recent call last):
  647. File "/home/nrb/Downloads/ore_algebra/src/ore_algebra-0.5/setup.py", line 37, in <module>
  648. ext_modules = cythonize(
  649. ^^^^^^^^^^
  650. File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
  651. cythonize_one(*args)
  652. File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
  653. raise CompileError(None, pyx_file)
  654. Cython.Compiler.Errors.CompileError: src/ore_algebra/analytic/binary_splitting_arb.pyx
  655. ==> ERROR: A failure occurred in build().
  656. Aborting...
  657.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement