-
Notifications
You must be signed in to change notification settings - Fork 97
Description
DEPRECATION: Building 'marisa-trie' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of 'marisa-trie'. Discussion can be found at pypa/pip#6334
Building wheel for marisa-trie (setup.py): started
Building wheel for marisa-trie (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [70 lines of output]
/home/cc/venv/lib64/python3.14t/site-packages/setuptools/dist.py:761: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_clib
building 'libmarisa-trie' library
creating build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa
creating build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io
creating build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/trie
creating build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/vector
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/agent.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/agent.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/grimoire/io/mapper.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io/mapper.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/grimoire/io/reader.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io/reader.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/grimoire/io/writer.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io/writer.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/grimoire/trie/louds-trie.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/trie/louds-trie.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/grimoire/trie/tail.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/trie/tail.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/grimoire/vector/bit-vector.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/vector/bit-vector.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/keyset.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/keyset.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/lib -Imarisa-trie/include -c marisa-trie/lib/marisa/trie.cc -o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/trie.o
ar rcs build/temp.linux-x86_64-cpython-314t/liblibmarisa-trie.a build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/agent.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io/mapper.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io/reader.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/io/writer.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/trie/louds-trie.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/trie/tail.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/grimoire/vector/bit-vector.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/keyset.o build/temp.linux-x86_64-cpython-314t/marisa-trie/lib/marisa/trie.o
running build_ext
building 'marisa_trie' extension
creating build/temp.linux-x86_64-cpython-314t/src
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/include -I/home/cc/venv/include -I/usr/include/python3.14t -c src/agent.cpp -o build/temp.linux-x86_64-cpython-314t/src/agent.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/include -I/home/cc/venv/include -I/usr/include/python3.14t -c src/base.cpp -o build/temp.linux-x86_64-cpython-314t/src/base.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/include -I/home/cc/venv/include -I/usr/include/python3.14t -c src/iostream.cpp -o build/temp.linux-x86_64-cpython-314t/src/iostream.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/include -I/home/cc/venv/include -I/usr/include/python3.14t -c src/key.cpp -o build/temp.linux-x86_64-cpython-314t/src/key.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/include -I/home/cc/venv/include -I/usr/include/python3.14t -c src/keyset.cpp -o build/temp.linux-x86_64-cpython-314t/src/keyset.o
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -Imarisa-trie/include -I/home/cc/venv/include -I/usr/include/python3.14t -c src/marisa_trie.cpp -o build/temp.linux-x86_64-cpython-314t/src/marisa_trie.o
src/marisa_trie.cpp:2705:80: error: ‘__pyx_vectorcallfunc’ has not been declared; did you mean ‘vectorcallfunc’?
2705 | static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw);
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
src/marisa_trie.cpp:30689:69: error: ‘__pyx_vectorcallfunc’ has not been declared; did you mean ‘vectorcallfunc’?
30689 | static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
src/marisa_trie.cpp: In function ‘PyObject* __Pyx_PyVectorcall_FastCallDict_kw(PyObject*, int, PyObject* const*, size_t, PyObject*)’:
src/marisa_trie.cpp:30726:13: error: ‘vc’ cannot be used as a function
30726 | res = vc(func, newargs, nargs, kwnames);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp: At global scope:
src/marisa_trie.cpp:30734:80: error: ‘__pyx_vectorcallfunc’ has not been declared; did you mean ‘vectorcallfunc’?
30734 | static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
src/marisa_trie.cpp: In function ‘PyObject* __Pyx_PyVectorcall_FastCallDict(PyObject*, int, PyObject* const*, size_t, PyObject*)’:
src/marisa_trie.cpp:30737:18: error: ‘vc’ cannot be used as a function
30737 | return vc(func, args, nargs, NULL);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
src/marisa_trie.cpp: In function ‘PyObject* __Pyx_CyFunction_CallAsMethod(PyObject*, PyObject*, PyObject*)’:
src/marisa_trie.cpp:31423:6: error: ‘__pyx_vectorcallfunc’ was not declared in this scope; did you mean ‘vectorcallfunc’?
31423 | __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc);
| ^~~~~~~~~~~~~~~~~~~~
| vectorcallfunc
src/marisa_trie.cpp:31424:9: error: ‘vc’ was not declared in this scope
31424 | if (vc) {
| ^~
error: command '/opt/gcc-latest/bin/g++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for marisa-trie
Running setup.py clean for marisa-trie
Building wheel for msgpack (pyproject.toml): started
Building wheel for msgpack (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error