>>> py3-thinc: Checking sanity of /home/patrycja/aports/community/py3-thinc/APKBUILD... >>> py3-thinc: Cleaning up srcdir >>> py3-thinc: Cleaning up pkgdir >>> py3-thinc: Cleaning up tmpdir >>> py3-thinc: Fetching thinc-8.2.3.tar.gz::https://github.com/explosion/thinc/archive/v8.2.3.tar.gz >>> py3-thinc: Fetching thinc-8.2.3.tar.gz::https://github.com/explosion/thinc/archive/v8.2.3.tar.gz >>> py3-thinc: Checking sha512sums... thinc-8.2.3.tar.gz: OK >>> py3-thinc: Preparing build chroot... (1/159) Installing musl (1.2.5-r0) (2/159) Installing ca-certificates-bundle (20240226-r0) (3/159) Installing libcrypto3 (3.2.1-r2) (4/159) Installing libssl3 (3.2.1-r2) (5/159) Installing zlib (1.3.1-r0) (6/159) Installing apk-tools (2.14.3-r1) (7/159) Installing libattr (2.5.2-r0) (8/159) Installing attr (2.5.2-r0) (9/159) Installing libcap2 (2.69-r1) (10/159) Installing libcap-getcap (2.69-r1) (11/159) Installing fakeroot (1.33-r0) (12/159) Installing scanelf (1.3.7-r2) (13/159) Installing musl-utils (1.2.5-r0) (14/159) Installing libgcc (13.2.1_git20240309-r0) (15/159) Installing libstdc++ (13.2.1_git20240309-r0) (16/159) Installing lzip (1.24.1-r0) (17/159) Installing openssl (3.2.1-r2) (18/159) Installing patch (2.7.6-r10) (19/159) Installing pkgconf (2.2.0-r0) (20/159) Installing libacl (2.3.2-r0) (21/159) Installing tar (1.35-r2) (22/159) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/159) Installing ssl_client (1.36.1-r25) (24/159) Installing busybox-binsh (1.36.1-r25) (25/159) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/159) Installing abuild-sudo (3.12.0-r5) (27/159) Installing alpine-baselayout-data (3.6.3-r0) (28/159) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/159) Installing ifupdown-ng (0.12.1-r5) (30/159) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/159) Installing mdev-conf (4.6-r0) (32/159) Installing busybox-mdev-openrc (1.36.1-r25) (33/159) Installing alpine-conf (3.17.2-r0) (34/159) Installing alpine-keys (2.4-r1) (35/159) Installing alpine-release (3.20.0_alpha20240329-r0) (36/159) Installing busybox-openrc (1.36.1-r25) (37/159) Installing busybox-suid (1.36.1-r25) (38/159) Installing alpine-base (3.20.0_alpha20240329-r0) (39/159) Installing jansson (2.14-r4) (40/159) Installing zstd-libs (1.5.6-r0) (41/159) Installing binutils (2.42-r0) (42/159) Installing libmagic (5.45-r1) (43/159) Installing file (5.45-r1) (44/159) Installing libgomp (13.2.1_git20240309-r0) (45/159) Installing libatomic (13.2.1_git20240309-r0) (46/159) Installing gmp (6.3.0-r0) (47/159) Installing isl26 (0.26-r1) (48/159) Installing mpfr4 (4.2.1-r0) (49/159) Installing mpc1 (1.3.1-r1) (50/159) Installing gcc (13.2.1_git20240309-r0) (51/159) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/159) Installing musl-dev (1.2.5-r0) (53/159) Installing g++ (13.2.1_git20240309-r0) (54/159) Installing make (4.4.1-r2) (55/159) Installing fortify-headers (1.1-r3) (56/159) Installing build-base (0.5-r3) (57/159) Installing hiredis (1.2.0-r0) (58/159) Installing libxxhash (0.8.2-r2) (59/159) Installing ccache (4.9.1-r0) (60/159) Installing libbz2 (1.0.8-r6) (61/159) Installing libexpat (2.6.2-r0) (62/159) Installing libffi (3.4.6-r0) (63/159) Installing gdbm (1.23-r1) (64/159) Installing xz-libs (5.6.1-r2) (65/159) Installing mpdecimal (4.0.0-r0) (66/159) Installing ncurses-terminfo-base (6.4_p20240330-r0) (67/159) Installing libncursesw (6.4_p20240330-r0) (68/159) Installing libpanelw (6.4_p20240330-r0) (69/159) Installing readline (8.2.10-r0) (70/159) Installing sqlite-libs (3.45.2-r0) (71/159) Installing python3 (3.12.2-r0) (72/159) Installing python3-pycache-pyc0 (3.12.2-r0) (73/159) Installing pyc (3.12.2-r0) (74/159) Installing cython-pyc (3.0.8-r0) (75/159) Installing python3-pyc (3.12.2-r0) (76/159) Installing cython (3.0.8-r0) (77/159) Installing ca-certificates (20240226-r0) (78/159) Installing brotli-libs (1.1.0-r2) (79/159) Installing c-ares (1.28.1-r0) (80/159) Installing libunistring (1.2-r0) (81/159) Installing libidn2 (2.3.7-r0) (82/159) Installing nghttp2-libs (1.61.0-r0) (83/159) Installing libpsl (0.21.5-r1) (84/159) Installing libcurl (8.7.1-r0) (85/159) Installing pcre2 (10.43-r0) (86/159) Installing git (2.44.0-r2) (87/159) Installing git-init-template (2.44.0-r2) (88/159) Installing libquadmath (13.2.1_git20240309-r0) (89/159) Installing libgfortran (13.2.1_git20240309-r0) (90/159) Installing openblas (0.3.27-r0) (91/159) Installing py3-numpy (1.25.2-r1) (92/159) Installing py3-numpy-pyc (1.25.2-r1) (93/159) Installing py3-blis (0.9.1-r4) (94/159) Installing py3-blis-pyc (0.9.1-r4) (95/159) Installing py3-catalogue (2.0.10-r1) (96/159) Installing py3-catalogue-pyc (2.0.10-r1) (97/159) Installing py3-typing-extensions (4.11.0-r1) (98/159) Installing py3-typing-extensions-pyc (4.11.0-r1) (99/159) Installing py3-annotated-types (0.6.0-r1) (100/159) Installing py3-annotated-types-pyc (0.6.0-r1) (101/159) Installing py3-pydantic-core (2.16.3-r1) (102/159) Installing py3-pydantic-core-pyc (2.16.3-r1) (103/159) Installing py3-pydantic (2.6.4-r1) (104/159) Installing py3-pydantic-pyc (2.6.4-r1) (105/159) Installing py3-tz (2024.1-r1) (106/159) Installing py3-tz-pyc (2024.1-r1) (107/159) Installing py3-srsly (2.4.8-r1) (108/159) Installing py3-srsly-pyc (2.4.8-r1) (109/159) Installing py3-confection (0.1.4-r1) (110/159) Installing py3-confection-pyc (0.1.4-r1) (111/159) Installing py3-cymem (2.0.8-r3) (112/159) Installing py3-cymem-pyc (2.0.8-r3) (113/159) Installing py3-installer (0.7.0-r2) (114/159) Installing py3-installer-pyc (0.7.0-r2) (115/159) Installing py3-gpep517 (15-r2) (116/159) Installing py3-gpep517-pyc (15-r2) (117/159) Installing py3-attrs (23.2.0-r1) (118/159) Installing py3-attrs-pyc (23.2.0-r1) (119/159) Installing py3-sortedcontainers (2.4.0-r5) (120/159) Installing py3-sortedcontainers-pyc (2.4.0-r5) (121/159) Installing py3-hypothesis (6.99.4-r1) (122/159) Installing py3-hypothesis-pyc (6.99.4-r1) (123/159) Installing py3-mock (5.1.0-r2) (124/159) Installing py3-mock-pyc (5.1.0-r2) (125/159) Installing py3-murmurhash (1.0.10-r3) (126/159) Installing py3-murmurhash-pyc (1.0.10-r3) (127/159) Installing py3-numpy-dev (1.25.2-r1) (128/159) Installing py3-plac (1.4.3-r1) (129/159) Installing py3-plac-pyc (1.4.3-r1) (130/159) Installing py3-preshed (3.0.9-r2) (131/159) Installing py3-preshed-pyc (3.0.9-r2) (132/159) Installing py3-iniconfig (2.0.0-r1) (133/159) Installing py3-iniconfig-pyc (2.0.0-r1) (134/159) Installing py3-parsing (3.1.2-r1) (135/159) Installing py3-parsing-pyc (3.1.2-r1) (136/159) Installing py3-packaging (24.0-r1) (137/159) Installing py3-packaging-pyc (24.0-r1) (138/159) Installing py3-pluggy (1.4.0-r1) (139/159) Installing py3-pluggy-pyc (1.4.0-r1) (140/159) Installing py3-py (1.11.0-r3) (141/159) Installing py3-py-pyc (1.11.0-r3) (142/159) Installing py3-pytest (8.1.1-r1) (143/159) Installing py3-pytest-pyc (8.1.1-r1) (144/159) Installing py3-apipkg (2.1.0-r3) (145/159) Installing py3-apipkg-pyc (2.1.0-r3) (146/159) Installing py3-execnet (1.9.0-r3) (147/159) Installing py3-execnet-pyc (1.9.0-r3) (148/159) Installing py3-pytest-xdist (3.5.0-r1) (149/159) Installing py3-pytest-xdist-pyc (3.5.0-r1) (150/159) Installing py3-setuptools (69.2.0-r1) (151/159) Installing py3-setuptools-pyc (69.2.0-r1) (152/159) Installing py3-tqdm (4.66.2-r2) (153/159) Installing py3-tqdm-pyc (4.66.2-r2) (154/159) Installing py3-wasabi (1.1.2-r2) (155/159) Installing py3-wasabi-pyc (1.1.2-r2) (156/159) Installing py3-wheel (0.42.0-r1) (157/159) Installing py3-wheel-pyc (0.42.0-r1) (158/159) Installing python3-dev (3.12.2-r0) (159/159) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 507 MiB in 159 packages >>> py3-thinc: Fetching thinc-8.2.3.tar.gz::https://github.com/explosion/thinc/archive/v8.2.3.tar.gz >>> py3-thinc: Checking sha512sums... thinc-8.2.3.tar.gz: OK >>> py3-thinc: Unpacking /var/cache/distfiles/thinc-8.2.3.tar.gz... 2024-04-11 20:23:03,636 gpep517 INFO Building wheel via backend setuptools.build_meta performance hint: thinc/backends/cblas.pyx:34:5: Exception check on 'set_daxpy' will always require the GIL to be acquired. Possible solutions: 1. Declare 'set_daxpy' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'set_daxpy' to allow an error code to be returned. performance hint: thinc/backends/cblas.pyx:37:5: Exception check on 'set_saxpy' will always require the GIL to be acquired. Possible solutions: 1. Declare 'set_saxpy' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'set_saxpy' to allow an error code to be returned. performance hint: thinc/backends/cblas.pyx:40:5: Exception check on 'set_sgemm' will always require the GIL to be acquired. Possible solutions: 1. Declare 'set_sgemm' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'set_sgemm' to allow an error code to be returned. warning: thinc/backends/linalg.pxd:15:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: thinc/backends/linalg.pxd:91:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: thinc/backends/linalg.pxd:175:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 performance hint: thinc/backends/linalg.pxd:74:17: Exception check after calling 'add_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'add_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'add_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:86:17: Exception check after calling 'mul_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'mul_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'mul_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:101:17: Exception check after calling 'pow_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'pow_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'pow_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:114:17: Exception check after calling 'div_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'div_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'div_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:126:17: Exception check after calling 'exp_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'exp_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'exp_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:167:20: Exception check after calling 'add_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'add_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'add_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:189:24: Exception check after calling 'add_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'add_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'add_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:197:24: Exception check after calling 'add_pow_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'add_pow_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'add_pow_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:211:20: Exception check after calling 'mul_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'mul_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'mul_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:256:24: Exception check after calling 'add_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'add_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'add_i' to allow an error code to be returned. performance hint: thinc/backends/linalg.pxd:257:17: Exception check after calling 'mul_i' will always require the GIL to be acquired. Possible solutions: 1. Declare 'mul_i' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'mul_i' to allow an error code to be returned. warning: thinc/backends/linalg.pxd:15:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: thinc/backends/linalg.pxd:91:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: thinc/backends/linalg.pxd:175:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 performance hint: thinc/backends/numpy_ops.pyx:560:5: Exception check on 'cpu_position_encode' will always require the GIL to be acquired. Possible solutions: 1. Declare 'cpu_position_encode' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'cpu_position_encode' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:578:5: Exception check on 'cpu_scatter_add' will always require the GIL to be acquired. Possible solutions: 1. Declare 'cpu_scatter_add' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'cpu_scatter_add' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:590:5: Exception check on '_adam_momentum' will always require the GIL to be acquired. Possible solutions: 1. Declare '_adam_momentum' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on '_adam_momentum' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:628:5: Exception check on 'cpu_update_averages' will always require the GIL to be acquired. Possible solutions: 1. Declare 'cpu_update_averages' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'cpu_update_averages' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:1029:5: Exception check on 'cpu_lstm_activate_fwd' will always require the GIL to be acquired. Possible solutions: 1. Declare 'cpu_lstm_activate_fwd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'cpu_lstm_activate_fwd' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:1075:5: Exception check on 'cpu_lstm_gates_fwd' will always require the GIL to be acquired. Possible solutions: 1. Declare 'cpu_lstm_gates_fwd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'cpu_lstm_gates_fwd' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:1096:5: Exception check on 'cpu_lstm_gates_bwd' will always require the GIL to be acquired. Possible solutions: 1. Declare 'cpu_lstm_gates_bwd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'cpu_lstm_gates_bwd' to allow an error code to be returned. performance hint: thinc/backends/numpy_ops.pyx:1137:5: Exception check on 'MurmurHash3_x86_128_uint64' will always require the GIL to be acquired. Possible solutions: 1. Declare 'MurmurHash3_x86_128_uint64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'MurmurHash3_x86_128_uint64' to allow an error code to be returned. Error compiling Cython file: ------------------------------------------------------------ ... dims = table.shape[1] cdef np.ndarray output if reals2d_ft is float2d_t: output = self.xp.zeros((rows, dims), dtype="float32") cpu_gather_add(saxpy(cblas), output.data, &table[0, 0], &indices[0, 0], ^ ------------------------------------------------------------ thinc/backends/numpy_ops.pyx:468:32: Cannot assign type 'saxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, float, const float *, int, float *, int) except * nogil'. Error compiling Cython file: ------------------------------------------------------------ ... dims = table.shape[1] cdef np.ndarray output if reals2d_ft is float2d_t: output = self.xp.zeros((rows, dims), dtype="float32") cpu_gather_add(saxpy(cblas), output.data, &table[0, 0], &indices[0, 0], ^ ------------------------------------------------------------ thinc/backends/numpy_ops.pyx:468:32: Cannot assign type 'saxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, float, const float *, int, float *, int) except * nogil'. Error compiling Cython file: ------------------------------------------------------------ ... output = self.xp.zeros((rows, dims), dtype="float32") cpu_gather_add(saxpy(cblas), output.data, &table[0, 0], &indices[0, 0], table.shape[0], dims, rows, indices.shape[1]) else: output = self.xp.zeros((rows, dims), dtype="float64") cpu_gather_add(daxpy(cblas), output.data, &table[0, 0], &indices[0, 0], ^ ------------------------------------------------------------ thinc/backends/numpy_ops.pyx:472:32: Cannot assign type 'daxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, double, const double *, int, double *, int) except * nogil'. Error compiling Cython file: ------------------------------------------------------------ ... output = self.xp.zeros((rows, dims), dtype="float32") cpu_gather_add(saxpy(cblas), output.data, &table[0, 0], &indices[0, 0], table.shape[0], dims, rows, indices.shape[1]) else: output = self.xp.zeros((rows, dims), dtype="float64") cpu_gather_add(daxpy(cblas), output.data, &table[0, 0], &indices[0, 0], ^ ------------------------------------------------------------ thinc/backends/numpy_ops.pyx:472:32: Cannot assign type 'daxpy_ptr' to 'ptr'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (int, double, const double *, int, double *, int) except * nogil'. Cythonizing sources Compiling thinc/backends/cblas.pyx because it changed. Compiling thinc/backends/linalg.pyx because it changed. Compiling thinc/backends/numpy_ops.pyx because it changed. Compiling thinc/extra/search.pyx because it changed. Compiling thinc/layers/sparselinear.pyx because it changed. Compiling thinc/layers/premap_ids.pyx because it changed. [1/6] Cythonizing thinc/backends/cblas.pyx [2/6] Cythonizing thinc/backends/linalg.pyx [3/6] Cythonizing thinc/backends/numpy_ops.pyx Traceback (most recent call last): File "/usr/bin/gpep517", line 6, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 425, in main return func(args) ^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 215, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/gpep517/__main__.py", line 207, in build_wheel_impl wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 410, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 101, in File "", line 86, in setup_package File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize cythonize_one(*args) File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: thinc/backends/numpy_ops.pyx >>> ERROR: py3-thinc: build failed >>> ERROR: py3-thinc: rootbld failed >>> py3-thinc: Cleaning up build chroot