Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-wikipedia2vec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683328456.100274/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-wikipedia2vec.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-wikipedia2vec-1.0.5-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-wikipedia2vec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683328456.100274/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-wikipedia2vec.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-wikipedia2vec-1.0.5-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-wikipedia2vec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683328456.100274/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-wikipedia2vec.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.Y9gPvD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wikipedia2vec-1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/wikipedia2vec-1.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wikipedia2vec-1.0.5 + /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.GmU9Sc + umask 022 + cd /builddir/build/BUILD + cd wikipedia2vec-1.0.5 + 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. running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/__init__.py -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/cli.py -> build/lib.linux-x86_64-3.9/wikipedia2vec creating build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/__init__.py -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils creating build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/__init__.py -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer creating build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector copying wikipedia2vec/utils/sentence_detector/__init__.py -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector running egg_info writing wikipedia2vec.egg-info/PKG-INFO writing dependency_links to wikipedia2vec.egg-info/dependency_links.txt writing entry points to wikipedia2vec.egg-info/entry_points.txt writing requirements to wikipedia2vec.egg-info/requires.txt writing top-level names to wikipedia2vec.egg-info/top_level.txt reading manifest file 'wikipedia2vec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'wikipedia2vec.egg-info/SOURCES.txt' copying wikipedia2vec/dictionary.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/dictionary.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/dictionary.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/dump_db.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/dump_db.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/dump_db.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/link_graph.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/link_graph.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/link_graph.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/mention_db.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/mention_db.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/mention_db.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/wikipedia2vec.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/wikipedia2vec.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec copying wikipedia2vec/utils/random.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/random.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/random.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/wiki_dump_reader.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/wiki_dump_reader.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/wiki_page.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/wiki_page.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/wiki_page.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils copying wikipedia2vec/utils/tokenizer/base_tokenizer.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/base_tokenizer.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/base_tokenizer.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/icu_tokenizer.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/icu_tokenizer.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/jieba_tokenizer.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/jieba_tokenizer.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/mecab_tokenizer.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/mecab_tokenizer.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/regexp_tokenizer.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/regexp_tokenizer.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/token.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/token.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/tokenizer/token.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/tokenizer copying wikipedia2vec/utils/sentence_detector/icu_sentence_detector.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector copying wikipedia2vec/utils/sentence_detector/icu_sentence_detector.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector copying wikipedia2vec/utils/sentence_detector/sentence.cpp -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector copying wikipedia2vec/utils/sentence_detector/sentence.pxd -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector copying wikipedia2vec/utils/sentence_detector/sentence.pyx -> build/lib.linux-x86_64-3.9/wikipedia2vec/utils/sentence_detector running build_ext building 'wikipedia2vec.link_graph' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/wikipedia2vec 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/wikipedia2vec-1.0.5/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include -c wikipedia2vec/link_graph.cpp -o build/temp.linux-x86_64-3.9/wikipedia2vec/link_graph.o -Wno-unused-function -std=c++11 In file included from /builddir/build/BUILD/wikipedia2vec-1.0.5/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1940, from /builddir/build/BUILD/wikipedia2vec-1.0.5/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:12, from /builddir/build/BUILD/wikipedia2vec-1.0.5/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/arrayobject.h:5, from wikipedia2vec/link_graph.cpp:580: /builddir/build/BUILD/wikipedia2vec-1.0.5/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ wikipedia2vec/link_graph.cpp: In function ‘int __Pyx_modinit_type_init_code()’: wikipedia2vec/link_graph.cpp:24451:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 24451 | __pyx_type_13wikipedia2vec_10link_graph_LinkGraph.tp_print = 0; | ^~~~~~~~ wikipedia2vec/link_graph.cpp:24462:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 24462 | __pyx_type___pyx_array.tp_print = 0; | ^~~~~~~~ wikipedia2vec/link_graph.cpp:24467:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 24467 | __pyx_type___pyx_MemviewEnum.tp_print = 0; | ^~~~~~~~ wikipedia2vec/link_graph.cpp:24482:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 24482 | __pyx_type___pyx_memoryview.tp_print = 0; | ^~~~~~~~ wikipedia2vec/link_graph.cpp:24495:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 24495 | __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 wikipedia2vec/link_graph.cpp:4: wikipedia2vec/link_graph.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) : \ | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25443:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25443 | (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)),\ | ^ wikipedia2vec/link_graph.cpp:25443:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25443 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25443:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25443 | (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) : \ | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25443:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25443 | (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)),\ | ^ wikipedia2vec/link_graph.cpp:25443:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25443 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25443:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25443 | (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) : \ | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25459:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25459 | (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)),\ | ^ wikipedia2vec/link_graph.cpp:25459:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25459 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25459:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25459 | (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) : \ | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25459:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25459 | (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)),\ | ^ wikipedia2vec/link_graph.cpp:25459:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25459 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.cpp:25459:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 25459 | (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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ wikipedia2vec/link_graph.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*))’: wikipedia2vec/link_graph.cpp:26778:45: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 26778 | 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 wikipedia2vec/link_graph.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.GmU9Sc (%build) Bad exit status from /var/tmp/rpm-tmp.GmU9Sc (%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-wikipedia2vec.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-wikipedia2vec.spec