Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-bcolz.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682473755.391921/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-bcolz.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-bcolz-1.2.1-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-bcolz.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682473755.391921/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-bcolz.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-bcolz-1.2.1-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-bcolz.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682473755.391921/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-bcolz.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.iAUHa9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcolz-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/bcolz-1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bcolz-1.2.1 + /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.oXuslj + umask 022 + cd /builddir/build/BUILD + cd bcolz-1.2.1 + 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. SSE2 detected AVX2 detected running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/bcolz copying bcolz/version.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/chunked_eval.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/utils.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/ctable.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/py2help.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/arrayprint.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/py2help_tests.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/attrs.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/toplevel.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/__init__.py -> build/lib.linux-x86_64-3.9/bcolz copying bcolz/defaults.py -> build/lib.linux-x86_64-3.9/bcolz creating build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/test_ctable.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/test_attrs.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/all.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/test_carray_objects.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/test_carray.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/test_queries.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/common.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/__init__.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/tests/test_ndcarray.py -> build/lib.linux-x86_64-3.9/bcolz/tests copying bcolz/carray_ext.pxd -> build/lib.linux-x86_64-3.9/bcolz running build_ext skipping 'bcolz/carray_ext.c' Cython extension (up-to-date) building 'bcolz.carray_ext' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/bcolz creating build/temp.linux-x86_64-3.9/c-blosc creating build/temp.linux-x86_64-3.9/c-blosc/blosc creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/lz4-1.8.1.2 creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/snappy-1.1.1 creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zlib-1.2.8 creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4 creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4/common creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4/compress creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4/decompress creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4/deprecated creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4/dictBuilder creating build/temp.linux-x86_64-3.9/c-blosc/internal-complibs/zstd-1.3.4/legacy 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 -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/zstd-1.3.4 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/lz4-1.8.1.2 -Ic-blosc/internal-complibs/zstd-1.3.4/common -Ic-blosc/internal-complibs/zstd-1.3.4/decompress -Ic-blosc/internal-complibs/zstd-1.3.4/dll -Ic-blosc/internal-complibs/zstd-1.3.4/compress -Ic-blosc/internal-complibs/zstd-1.3.4/legacy -Ic-blosc/internal-complibs/zstd-1.3.4/dictBuilder -Ic-blosc/internal-complibs/zstd-1.3.4/deprecated -I/builddir/build/BUILD/bcolz-1.2.1/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include -I/usr/include/python3.9 -c bcolz/carray_ext.c -o build/temp.linux-x86_64-3.9/bcolz/carray_ext.o -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 -DSHUFFLE_SSE2_ENABLED -msse2 -DSHUFFLE_AVX2_ENABLED -mavx2 In file included from /builddir/build/BUILD/bcolz-1.2.1/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1940, from /builddir/build/BUILD/bcolz-1.2.1/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:12, from /builddir/build/BUILD/bcolz-1.2.1/.eggs/numpy-1.24.3-py3.9-linux-x86_64.egg/numpy/core/include/numpy/arrayobject.h:5, from bcolz/carray_ext.c:525: /builddir/build/BUILD/bcolz-1.2.1/.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 " \ | ^~~~~~~ bcolz/carray_ext.c: In function ‘PyInit_carray_ext’: bcolz/carray_ext.c:45964:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 45964 | __pyx_type_5bcolz_10carray_ext_chunk.tp_print = 0; | ^ bcolz/carray_ext.c:46014:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 46014 | __pyx_type_5bcolz_10carray_ext_chunks.tp_print = 0; | ^ bcolz/carray_ext.c:46026:40: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 46026 | __pyx_type_5bcolz_10carray_ext_carray.tp_print = 0; | ^ bcolz/carray_ext.c: In function ‘__Pyx_ParseOptionalKeywords’: bcolz/carray_ext.c:47386:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47386 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47386:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 47386 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47386:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47386 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47386:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47386 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47386:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 47386 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47386:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47386 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47402:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47402 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47402:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 47402 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47402:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47402 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47402:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47402 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47402:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 47402 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ bcolz/carray_ext.c:47402:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 47402 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from bcolz/carray_ext.c:4: /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.oXuslj (%build) Bad exit status from /var/tmp/rpm-tmp.oXuslj (%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-bcolz.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-bcolz.spec