Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cortexpy.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1683744184.220243/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-cortexpy.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-cortexpy-0.46.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-cortexpy.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1683744184.220243/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-cortexpy.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-cortexpy-0.46.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-cortexpy.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1683744184.220243/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-cortexpy.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.DFJURI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cortexpy-0.46.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/cortexpy-0.46.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cortexpy-0.46.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.ndkCCW + umask 022 + cd /builddir/build/BUILD + cd cortexpy-0.46.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' running build running build_py creating build creating build/lib.linux-x86_64-3.9 copying src/__init__.py -> build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/constants.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/links.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/tesserae.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/__main__.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/utils.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/logging_config.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/edge_set.py -> build/lib.linux-x86_64-3.9/cortexpy copying src/cortexpy/cli.py -> build/lib.linux-x86_64-3.9/cortexpy creating build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/subgraph.py -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/prune.py -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/shared.py -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/assemble.py -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/view.py -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/command/traverse.py -> build/lib.linux-x86_64-3.9/cortexpy/command creating build/lib.linux-x86_64-3.9/cortexpy/graph copying src/cortexpy/graph/cortex.py -> build/lib.linux-x86_64-3.9/cortexpy/graph copying src/cortexpy/graph/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/graph copying src/cortexpy/graph/contig_retriever.py -> build/lib.linux-x86_64-3.9/cortexpy/graph copying src/cortexpy/graph/interactor.py -> build/lib.linux-x86_64-3.9/cortexpy/graph creating build/lib.linux-x86_64-3.9/cortexpy/test copying src/cortexpy/test/constants.py -> build/lib.linux-x86_64-3.9/cortexpy/test copying src/cortexpy/test/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test copying src/cortexpy/test/runner.py -> build/lib.linux-x86_64-3.9/cortexpy/test creating build/lib.linux-x86_64-3.9/cortexpy/graph/traversal copying src/cortexpy/graph/traversal/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/traversal copying src/cortexpy/graph/traversal/engine.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/traversal copying src/cortexpy/graph/traversal/utils.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/traversal copying src/cortexpy/graph/traversal/branch.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/traversal creating build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/constants.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/streaming.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/header.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/random_access.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/kmer.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/kmer_collection.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/random_access_collection.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser creating build/lib.linux-x86_64-3.9/cortexpy/graph/serializer copying src/cortexpy/graph/serializer/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/serializer copying src/cortexpy/graph/serializer/unitig.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/serializer copying src/cortexpy/graph/serializer/serializer.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/serializer copying src/cortexpy/graph/serializer/kmer.py -> build/lib.linux-x86_64-3.9/cortexpy/graph/serializer creating build/lib.linux-x86_64-3.9/cortexpy/test/builder copying src/cortexpy/test/builder/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder copying src/cortexpy/test/builder/mccortex.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder copying src/cortexpy/test/builder/unitigs.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder copying src/cortexpy/test/builder/unitig_finder.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder creating build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/links.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/unitig_graph.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/json.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/graph.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/kmer.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation copying src/cortexpy/test/expectation/fasta.py -> build/lib.linux-x86_64-3.9/cortexpy/test/expectation creating build/lib.linux-x86_64-3.9/cortexpy/test/mock copying src/cortexpy/test/mock/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test/mock copying src/cortexpy/test/mock/graph.py -> build/lib.linux-x86_64-3.9/cortexpy/test/mock creating build/lib.linux-x86_64-3.9/cortexpy/test/driver copying src/cortexpy/test/driver/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test/driver copying src/cortexpy/test/driver/command.py -> build/lib.linux-x86_64-3.9/cortexpy/test/driver creating build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph copying src/cortexpy/test/builder/graph/cortex.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph copying src/cortexpy/test/builder/graph/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph copying src/cortexpy/test/builder/graph/header.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph copying src/cortexpy/test/builder/graph/graph.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph copying src/cortexpy/test/builder/graph/body.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph copying src/cortexpy/test/builder/graph/kmer.py -> build/lib.linux-x86_64-3.9/cortexpy/test/builder/graph creating build/lib.linux-x86_64-3.9/cortexpy/test/driver/graph copying src/cortexpy/test/driver/graph/__init__.py -> build/lib.linux-x86_64-3.9/cortexpy/test/driver/graph copying src/cortexpy/test/driver/graph/find_unitigs.py -> build/lib.linux-x86_64-3.9/cortexpy/test/driver/graph copying src/cortexpy/test/driver/graph/serializer.py -> build/lib.linux-x86_64-3.9/cortexpy/test/driver/graph copying src/cortexpy/test/driver/graph/traversal.py -> build/lib.linux-x86_64-3.9/cortexpy/test/driver/graph running egg_info writing src/cortexpy.egg-info/PKG-INFO writing dependency_links to src/cortexpy.egg-info/dependency_links.txt writing entry points to src/cortexpy.egg-info/entry_points.txt writing requirements to src/cortexpy.egg-info/requires.txt writing top-level names to src/cortexpy.egg-info/top_level.txt reading manifest file 'src/cortexpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching '**/.hypothesis' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '*.dylib' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/cortexpy.egg-info/SOURCES.txt' copying src/cortexpy/command/exit_codes.yaml -> build/lib.linux-x86_64-3.9/cortexpy/command copying src/cortexpy/graph/interactor_ext.html -> build/lib.linux-x86_64-3.9/cortexpy/graph copying src/cortexpy/graph/parser/kmer_ext.cpp -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/kmer_ext.html -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser copying src/cortexpy/graph/parser/kmer_ext.pyx -> build/lib.linux-x86_64-3.9/cortexpy/graph/parser running build_ext building 'cortexpy.graph.parser.kmer_ext' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/src creating build/temp.linux-x86_64-3.9/src/cortexpy creating build/temp.linux-x86_64-3.9/src/cortexpy/graph creating build/temp.linux-x86_64-3.9/src/cortexpy/graph/parser 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 -c src/cortexpy/graph/parser/kmer_ext.cpp -o build/temp.linux-x86_64-3.9/src/cortexpy/graph/parser/kmer_ext.o -std=c++11 src/cortexpy/graph/parser/kmer_ext.cpp: In function ‘int __Pyx_modinit_type_init_code()’: src/cortexpy/graph/parser/kmer_ext.cpp:17482:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 17482 | __pyx_type___pyx_array.tp_print = 0; | ^~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:17487:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 17487 | __pyx_type___pyx_MemviewEnum.tp_print = 0; | ^~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:17502:31: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 17502 | __pyx_type___pyx_memoryview.tp_print = 0; | ^~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:17515:36: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 17515 | __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 src/cortexpy/graph/parser/kmer_ext.cpp:24: src/cortexpy/graph/parser/kmer_ext.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) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18153:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18153 | (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)),\ | ^ src/cortexpy/graph/parser/kmer_ext.cpp:18153:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18153 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18153:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18153 | (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) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18153:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18153 | (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)),\ | ^ src/cortexpy/graph/parser/kmer_ext.cpp:18153:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18153 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18153:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18153 | (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) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18169:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18169 | (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)),\ | ^ src/cortexpy/graph/parser/kmer_ext.cpp:18169:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18169 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18169:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18169 | (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) : \ | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18169:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18169 | (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)),\ | ^ src/cortexpy/graph/parser/kmer_ext.cpp:18169:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18169 | (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))) | ^~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.cpp:18169:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 18169 | (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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/cortexpy/graph/parser/kmer_ext.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*))’: src/cortexpy/graph/parser/kmer_ext.cpp:19269:45: warning: ‘PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)’ is deprecated [-Wdeprecated-declarations] 19269 | 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 src/cortexpy/graph/parser/kmer_ext.cpp:24: /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.ndkCCW (%build) Bad exit status from /var/tmp/rpm-tmp.ndkCCW (%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-cortexpy.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-cortexpy.spec