Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681888144.518691/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-neuralcoref-4.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681888144.518691/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-neuralcoref-4.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681888144.518691/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zJ1XoM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf neuralcoref-4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/neuralcoref-4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd neuralcoref-4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sBiNiA + umask 022 + cd /builddir/build/BUILD + cd neuralcoref-4.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/c6/e1/9ff202b4380e9ccd4eed748a8da1edc706a762391f7b78067b88983e19c5/thinc-8.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/neuralcoref copying neuralcoref/__init__.py -> build/lib.linux-x86_64-3.9/neuralcoref copying neuralcoref/file_utils.py -> build/lib.linux-x86_64-3.9/neuralcoref creating build/lib.linux-x86_64-3.9/neuralcoref/tests copying neuralcoref/tests/test_neuralcoref.py -> build/lib.linux-x86_64-3.9/neuralcoref/tests copying neuralcoref/tests/__init__.py -> build/lib.linux-x86_64-3.9/neuralcoref/tests creating build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/algorithm.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/utils.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/learn.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/model.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/conllparser.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/__init__.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/compat.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/document.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/dataset.py -> build/lib.linux-x86_64-3.9/neuralcoref/train copying neuralcoref/train/evaluator.py -> build/lib.linux-x86_64-3.9/neuralcoref/train running build_ext building 'neuralcoref.neuralcoref' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/neuralcoref gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -I/builddir/build/BUILD/neuralcoref-4.0/include -I/usr/include/python3.9 -c neuralcoref/neuralcoref.cpp -o build/temp.linux-x86_64-3.9/neuralcoref/neuralcoref.o -O2 -Wno-strict-prototypes -Wno-unused-function cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++ In file included from /builddir/build/BUILD/neuralcoref-4.0/include/numpy/ndarraytypes.h:1728, from /builddir/build/BUILD/neuralcoref-4.0/include/numpy/ndarrayobject.h:17, from /builddir/build/BUILD/neuralcoref-4.0/include/numpy/arrayobject.h:15, from neuralcoref/neuralcoref.cpp:607: /builddir/build/BUILD/neuralcoref-4.0/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 11 | #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" | ^~~~~~~ neuralcoref/neuralcoref.cpp: In function ‘__pyx_ctuple_int__and_int __pyx_f_11neuralcoref_11neuralcoref_enlarge_span(__pyx_t_5spacy_7structs_TokenC*, int, int, int, int, __pyx_t_11neuralcoref_11neuralcoref_HashesList)’: neuralcoref/neuralcoref.cpp:8989:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 8989 | __pyx_t_5 = ((__pyx_v_maxchild_idx > __pyx_v_sent_start) != 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:9046:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 9046 | __pyx_t_5 = ((__pyx_v_minchild_idx < (__pyx_v_sent_end - 1)) != 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp: In function ‘int __Pyx_modinit_type_init_code()’: neuralcoref/neuralcoref.cpp:49313:54: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49313 | __pyx_type_11neuralcoref_11neuralcoref_NeuralCoref.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49340:112: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49340 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct____pyx_f_11neuralcoref_11neuralcoref_get_span_type.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49346:71: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49346 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_1_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49352:76: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49352 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_2_get_resolved.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49358:71: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49358 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_3_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49364:122: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49364 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_4___pyx_f_11neuralcoref_11neuralcoref_extract_mentions_spans.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49370:71: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49370 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_5_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49376:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49376 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_6___iter__.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49382:77: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49382 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_7_set_conv_dict.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49388:71: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49388 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_8_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49394:68: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49394 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_9_pipe.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49400:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49400 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_10_predict.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49406:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49406 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_11_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49412:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49412 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_12_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49418:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49418 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_13_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49424:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49424 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_14_genexpr.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49430:72: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49430 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_15_to_disk.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49436:74: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49436 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_16_from_disk.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49442:73: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49442 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_17_to_bytes.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49448:75: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49448 | __pyx_type_11neuralcoref_11neuralcoref___pyx_scope_struct_18_from_bytes.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49456:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49456 | __pyx_type___pyx_array.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49461:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49461 | __pyx_type___pyx_MemviewEnum.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49476:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49476 | __pyx_type___pyx_memoryview.tp_print = 0; | ^~~~~~~~ neuralcoref/neuralcoref.cpp:49489:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 49489 | __pyx_type___pyx_memoryviewslice.tp_print = 0; | ^~~~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from neuralcoref/neuralcoref.cpp:4: neuralcoref/neuralcoref.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’: /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51983:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51983 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ neuralcoref/neuralcoref.cpp:51983:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51983 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51983:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51983 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51983:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51983 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ neuralcoref/neuralcoref.cpp:51983:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51983 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51983:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51983 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51999:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51999 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ neuralcoref/neuralcoref.cpp:51999:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51999 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51999:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51999 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51999:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51999 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ^ neuralcoref/neuralcoref.cpp:51999:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51999 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ^ /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp:51999:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 51999 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ neuralcoref/neuralcoref.cpp: In function ‘PyObject* __Pyx_decode_c_string(const char*, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))’: neuralcoref/neuralcoref.cpp:55241:45: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 55241 | return PyUnicode_FromUnicode(NULL, 0); | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from neuralcoref/neuralcoref.cpp:4: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.sBiNiA (%build) Bad exit status from /var/tmp/rpm-tmp.sBiNiA (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-neuralcoref.spec