Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-pycapi.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1684154442.413444/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 aarch64 --nodeps /builddir/build/SPECS/python-pycapi.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-pycapi-0.82.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 aarch64 --nodeps /builddir/build/SPECS/python-pycapi.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1684154442.413444/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 aarch64 --nodeps /builddir/build/SPECS/python-pycapi.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-pycapi-0.82.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-pycapi.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1684154442.413444/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 aarch64 --nodeps /builddir/build/SPECS/python-pycapi.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qk5u9f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycapi-0.82.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pycapi-0.82.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycapi-0.82.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.97yji2 + umask 022 + cd /builddir/build/BUILD + cd pycapi-0.82.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 -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_ext building 'pycapi' extension creating build creating build/temp.linux-aarch64-3.9 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 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c pycapi.c -o build/temp.linux-aarch64-3.9/pycapi.o pycapi.c: In function ‘capi_Py_UNICODE_TOTITLE’: pycapi.c:603:5: warning: ‘_PyUnicode_ToTitlecase’ is deprecated [-Wdeprecated-declarations] 603 | result = Py_UNICODE_TOTITLE(arg0); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:1115:40: note: declared here 1115 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UCS4) _PyUnicode_ToTitlecase( | ^~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyEval_AcquireLock’: pycapi.c:2796:5: warning: ‘PyEval_AcquireLock’ is deprecated [-Wdeprecated-declarations] 2796 | PyEval_AcquireLock(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:141, from pycapi.c:4: /usr/include/python3.9/ceval.h:135:37: note: declared here 135 | Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_AcquireLock(void); | ^~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyEval_InitThreads’: pycapi.c:2890:5: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 2890 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:141, from pycapi.c:4: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyEval_ReleaseLock’: pycapi.c:2914:5: warning: ‘PyEval_ReleaseLock’ is deprecated [-Wdeprecated-declarations] 2914 | PyEval_ReleaseLock(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:141, from pycapi.c:4: /usr/include/python3.9/ceval.h:136:37: note: declared here 136 | Py_DEPRECATED(3.2) PyAPI_FUNC(void) PyEval_ReleaseLock(void); | ^~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyEval_ThreadsInitialized’: pycapi.c:2925:5: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations] 2925 | result = PyEval_ThreadsInitialized(); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:141, from pycapi.c:4: /usr/include/python3.9/ceval.h:129:36: note: declared here 129 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyLong_FromUnicode’: pycapi.c:4385:9: warning: ‘PyLong_FromUnicode’ is deprecated [-Wdeprecated-declarations] 4385 | result = PyLong_FromUnicode(arg0, arg1, arg2); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:94, from pycapi.c:4: /usr/include/python3.9/longobject.h:106:24: note: declared here 106 | PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int); | ^~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyModule_GetFilename’: pycapi.c:4987:5: warning: ‘PyModule_GetFilename’ is deprecated [-Wdeprecated-declarations] 4987 | result = PyModule_GetFilename(arg); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:108, from pycapi.c:4: /usr/include/python3.9/moduleobject.h:28:45: note: declared here 28 | Py_DEPRECATED(3.2) PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *); | ^~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyOS_AfterFork’: pycapi.c:5747:5: warning: ‘PyOS_AfterFork’ is deprecated [-Wdeprecated-declarations] 5747 | PyOS_AfterFork(); | ^~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:144, from pycapi.c:4: /usr/include/python3.9/intrcheck.h:18:37: note: declared here 18 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); | ^~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyObject_CheckReadBuffer’: pycapi.c:5945:5: warning: ‘PyObject_CheckReadBuffer’ is deprecated [-Wdeprecated-declarations] 5945 | result = PyObject_CheckReadBuffer(arg); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:147, from pycapi.c:4: /usr/include/python3.9/abstract.h:334:36: note: declared here 334 | Py_DEPRECATED(3.0) PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj); | ^~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyThread_ReInitTLS’: pycapi.c:7233:5: warning: ‘PyThread_ReInitTLS’ is deprecated [-Wdeprecated-declarations] 7233 | PyThread_ReInitTLS(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:132, from pycapi.c:4: /usr/include/python3.9/pythread.h:116:37: note: declared here 116 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_ReInitTLS(void); | ^~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyThread_create_key’: pycapi.c:7244:5: warning: ‘PyThread_create_key’ is deprecated [-Wdeprecated-declarations] 7244 | result = PyThread_create_key(); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:132, from pycapi.c:4: /usr/include/python3.9/pythread.h:108:36: note: declared here 108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | ^~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyThread_delete_key’: pycapi.c:7258:5: warning: ‘PyThread_delete_key’ is deprecated [-Wdeprecated-declarations] 7258 | PyThread_delete_key(arg0); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:132, from pycapi.c:4: /usr/include/python3.9/pythread.h:109:37: note: declared here 109 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key(int key); | ^~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyThread_delete_key_value’: pycapi.c:7272:5: warning: ‘PyThread_delete_key_value’ is deprecated [-Wdeprecated-declarations] 7272 | PyThread_delete_key_value(arg0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:132, from pycapi.c:4: /usr/include/python3.9/pythread.h:113:37: note: declared here 113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_AS_DATA’: pycapi.c:7628:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 7628 | result = PyUnicode_AS_DATA(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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( | ^~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_AS_UNICODE’: pycapi.c:7639:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 7639 | result = PyUnicode_AS_UNICODE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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( | ^~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_AsUnicode’: pycapi.c:7802:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 7802 | result = PyUnicode_AsUnicode(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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( | ^~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_AsUnicodeCopy’: pycapi.c:7815:9: warning: ‘PyUnicode_AsUnicodeCopy’ is deprecated [-Wdeprecated-declarations] 7815 | result = PyUnicode_AsUnicodeCopy(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:1222:44: note: declared here 1222 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy( | ^~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_Encode’: pycapi.c:8271:9: warning: ‘PyUnicode_Encode’ is deprecated [-Wdeprecated-declarations] 8271 | result = PyUnicode_Encode(arg0, arg1, arg2, arg3); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:773:42: note: declared here 773 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_Encode( | ^~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeASCII’: pycapi.c:8291:9: warning: ‘PyUnicode_EncodeASCII’ is deprecated [-Wdeprecated-declarations] 8291 | result = PyUnicode_EncodeASCII(arg0, arg1, arg2); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:917:42: note: declared here 917 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeASCII( | ^~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeCharmap’: pycapi.c:8312:9: warning: ‘PyUnicode_EncodeCharmap’ is deprecated [-Wdeprecated-declarations] 8312 | result = PyUnicode_EncodeCharmap(arg0, arg1, arg2, arg3); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:925:42: note: declared here 925 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeCharmap( | ^~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeLatin1’: pycapi.c:8374:9: warning: ‘PyUnicode_EncodeLatin1’ is deprecated [-Wdeprecated-declarations] 8374 | result = PyUnicode_EncodeLatin1(arg0, arg1, arg2); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:905:42: note: declared here 905 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeLatin1( | ^~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeRawUnicodeEscape’: pycapi.c:8440:9: warning: ‘PyUnicode_EncodeRawUnicodeEscape’ is deprecated [-Wdeprecated-declarations] 8440 | result = PyUnicode_EncodeRawUnicodeEscape(arg0, arg1); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:886:42: note: declared here 886 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeRawUnicodeEscape( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeUTF16’: pycapi.c:8461:9: warning: ‘PyUnicode_EncodeUTF16’ is deprecated [-Wdeprecated-declarations] 8461 | result = PyUnicode_EncodeUTF16(arg0, arg1, arg2, arg3); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:845:42: note: declared here 845 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF16( | ^~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeUTF32’: pycapi.c:8482:9: warning: ‘PyUnicode_EncodeUTF32’ is deprecated [-Wdeprecated-declarations] 8482 | result = PyUnicode_EncodeUTF32(arg0, arg1, arg2, arg3); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:811:42: note: declared here 811 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF32( | ^~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeUTF7’: pycapi.c:8504:9: warning: ‘PyUnicode_EncodeUTF7’ is deprecated [-Wdeprecated-declarations] 8504 | result = PyUnicode_EncodeUTF7(arg0, arg1, arg2, arg3, arg4); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:782:42: note: declared here 782 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF7( | ^~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeUTF8’: pycapi.c:8524:9: warning: ‘PyUnicode_EncodeUTF8’ is deprecated [-Wdeprecated-declarations] 8524 | result = PyUnicode_EncodeUTF8(arg0, arg1, arg2); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:803:42: note: declared here 803 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8( | ^~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_EncodeUnicodeEscape’: pycapi.c:8543:9: warning: ‘PyUnicode_EncodeUnicodeEscape’ is deprecated [-Wdeprecated-declarations] 8543 | result = PyUnicode_EncodeUnicodeEscape(arg0, arg1); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:879:42: note: declared here 879 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUnicodeEscape( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_FromUnicode’: pycapi.c:8710:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 8710 | result = PyUnicode_FromUnicode(arg0, arg1); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_GET_DATA_SIZE’: pycapi.c:8743:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 8743 | result = PyUnicode_GET_DATA_SIZE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c:8743:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 8743 | result = PyUnicode_GET_DATA_SIZE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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( | ^~~~~~~~~~~~~~~~~~~ pycapi.c:8743:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 8743 | result = PyUnicode_GET_DATA_SIZE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_GET_SIZE’: pycapi.c:8765:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 8765 | result = PyUnicode_GET_SIZE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c:8765:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 8765 | result = PyUnicode_GET_SIZE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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( | ^~~~~~~~~~~~~~~~~~~ pycapi.c:8765:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 8765 | result = PyUnicode_GET_SIZE(arg); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_GetSize’: pycapi.c:8787:5: warning: ‘PyUnicode_GetSize’ is deprecated [-Wdeprecated-declarations] 8787 | result = PyUnicode_GetSize(arg); | ^~~~~~ In file included from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/unicodeobject.h:177:43: note: declared here 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize( | ^~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_TransformDecimalToASCII’: pycapi.c:9045:9: warning: ‘PyUnicode_TransformDecimalToASCII’ is deprecated [-Wdeprecated-declarations] 9045 | result = PyUnicode_TransformDecimalToASCII(arg0, arg1); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:1005:23: note: declared here 1005 | PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicode_TranslateCharmap’: pycapi.c:9090:9: warning: ‘PyUnicode_TranslateCharmap’ is deprecated [-Wdeprecated-declarations] 9090 | result = PyUnicode_TranslateCharmap(arg0, arg1, arg2, arg3); | ^~~~~~ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from pycapi.c:4: /usr/include/python3.9/cpython/unicodeobject.h:950:43: note: declared here 950 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject *) PyUnicode_TranslateCharmap( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicodeEncodeError_Create’: pycapi.c:9251:9: warning: ‘PyUnicodeEncodeError_Create’ is deprecated [-Wdeprecated-declarations] 9251 | result = PyUnicodeEncodeError_Create(arg0, arg1, arg2, arg3, arg4, arg5); | ^~~~~~ In file included from /usr/include/python3.9/pyerrors.h:319, from /usr/include/python3.9/Python.h:129, from pycapi.c:4: /usr/include/python3.9/cpython/pyerrors.h:156:43: note: declared here 156 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject *) PyUnicodeEncodeError_Create( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pycapi.c: In function ‘capi_PyUnicodeTranslateError_Create’: pycapi.c:9275:9: warning: ‘PyUnicodeTranslateError_Create’ is deprecated [-Wdeprecated-declarations] 9275 | result = PyUnicodeTranslateError_Create(arg0, arg1, arg2, arg3, arg4); | ^~~~~~ In file included from /usr/include/python3.9/pyerrors.h:319, from /usr/include/python3.9/Python.h:129, from pycapi.c:4: /usr/include/python3.9/cpython/pyerrors.h:169:43: note: declared here 169 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject *) PyUnicodeTranslateError_Create( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-aarch64-3.9 gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-3.9/pycapi.o -L/usr/lib64 -o build/lib.linux-aarch64-3.9/pycapi.cpython-39-aarch64-linux-gnu.so + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gN7F2U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 + cd pycapi-0.82.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 -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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr creating /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9/site-packages copying build/lib.linux-aarch64-3.9/pycapi.cpython-39-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9/site-packages writing byte-compilation script '/tmp/tmpps9gjcxn.py' /usr/bin/python3 /tmp/tmpps9gjcxn.py removing /tmp/tmpps9gjcxn.py running install_egg_info running egg_info writing pycapi.egg-info/PKG-INFO writing dependency_links to pycapi.egg-info/dependency_links.txt writing top-level names to pycapi.egg-info/top_level.txt reading manifest file 'pycapi.egg-info/SOURCES.txt' adding license file 'LICENSE.md' writing manifest file 'pycapi.egg-info/SOURCES.txt' Copying pycapi.egg-info to /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9/site-packages/pycapi-0.82.1-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64//usr/share/doc/python-pycapi + '[' -d doc ']' ~/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 ~/build/BUILD/pycapi-0.82.1 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 + '[' -d usr/lib ']' + '[' -d usr/lib64 ']' + find usr/lib64 -type f -printf '/%h/%f\n' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' ~/build/BUILD/pycapi-0.82.1 + popd + mv /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/filelist.lst . + mv /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.82.1-1 --unique-debug-suffix -0.82.1-1.aarch64 --unique-debug-src-base python-pycapi-0.82.1-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pycapi-0.82.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9/site-packages/pycapi.cpython-39-aarch64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9/site-packages/pycapi.cpython-39-aarch64-linux-gnu.so 508 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-pycapi-0.82.1-1.aarch64 Provides: python-pycapi python3-pycapi = 0.82.1-1 python3-pycapi(aarch-64) = 0.82.1-1 python3.9dist(pycapi) = 0.82.1 python3dist(pycapi) = 0.82.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) python(abi) = 3.9 rtld(GNU_HASH) Processing files: python-pycapi-help-0.82.1-1.aarch64 warning: Empty %files file /builddir/build/BUILD/pycapi-0.82.1/doclist.lst Provides: python-pycapi-help = 0.82.1-1 python-pycapi-help(aarch-64) = 0.82.1-1 python3-pycapi-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-pycapi-debuginfo-0.82.1-1.aarch64 Provides: python-pycapi-debuginfo = 0.82.1-1 python-pycapi-debuginfo(aarch-64) = 0.82.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-pycapi-debugsource(aarch-64) = 0.82.1-1 Processing files: python-pycapi-debugsource-0.82.1-1.aarch64 Provides: python-pycapi-debugsource = 0.82.1-1 python-pycapi-debugsource(aarch-64) = 0.82.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 Wrote: /builddir/build/RPMS/python-pycapi-help-0.82.1-1.aarch64.rpm Wrote: /builddir/build/RPMS/python-pycapi-debugsource-0.82.1-1.aarch64.rpm Wrote: /builddir/build/RPMS/python3-pycapi-0.82.1-1.aarch64.rpm Wrote: /builddir/build/RPMS/python-pycapi-debuginfo-0.82.1-1.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t2k0dM + umask 022 + cd /builddir/build/BUILD + cd pycapi-0.82.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pycapi-0.82.1-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0