Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/py3c.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-105403-6120/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/py3c.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/py3c-1.4-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/py3c.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-105403-6120/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/py3c.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fhA6Ae + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py3c-1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/py3c-1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd py3c-1.4 + /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.Vb0MpB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd py3c-1.4 + make -j8 py3c.pc includedir=/usr/include sed -e's:@includedir@:/usr/include:' py3c.pc.in > py3c.pc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N6p3QW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64 + cd py3c-1.4 + make install prefix=/builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr includedir=/builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/include mkdir -p -m 0755 /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/include/py3c install -m 0644 include/py3c.h /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/include/py3c.h install -m 0644 include/py3c/capsulethunk.h include/py3c/comparison.h include/py3c/compat.h include/py3c/fileshim.h include/py3c/py3shims.h include/py3c/tpflags.h /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/include/py3c/ mkdir -p -m 0755 /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/pkgconfig install -m 0644 py3c.pc /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/pkgconfig/ + sed --in-place '-es!/builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64!!' /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/pkgconfig/py3c.pc + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ml7sTA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd py3c-1.4 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + make -j8 test-python3 cd test; rm -rvf /builddir/build/BUILD/py3c-1.4/test/build ; python3 setup.py build -b /builddir/build/BUILD/py3c-1.4/test/build running build running build_ext building 'test_py3c' extension creating /builddir/build/BUILD/py3c-1.4/test/build creating /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-aarch64-cpython-311 gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I../include -I/usr/include/python3.11 -c test_empty.c -o /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-aarch64-cpython-311/test_empty.o -Werror -Wall gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I../include -I/usr/include/python3.11 -c test_py3c.c -o /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-aarch64-cpython-311/test_py3c.o -Werror -Wall creating /builddir/build/BUILD/py3c-1.4/test/build/lib.linux-aarch64-cpython-311 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-aarch64-cpython-311/test_empty.o /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-aarch64-cpython-311/test_py3c.o -L/usr/lib64 -o /builddir/build/BUILD/py3c-1.4/test/build/lib.linux-aarch64-cpython-311/test_py3c.cpython-311-aarch64-linux-gnu.so echo /builddir/build/BUILD/py3c-1.4/test/build /builddir/build/BUILD/py3c-1.4/test/build PYTHONPATH=/builddir/build/BUILD/py3c-1.4/test/build/lib.linux-aarch64-cpython-311 python3 test -v test_get_context (__main__.CapsuleChecks.test_get_context) ... ok test_get_destructor (__main__.CapsuleChecks.test_get_destructor) ... ok test_get_name (__main__.CapsuleChecks.test_get_name) ... ok test_get_pointer (__main__.CapsuleChecks.test_get_pointer) ... ok test_get_pointer_nullname (__main__.CapsuleChecks.test_get_pointer_nullname) ... ok test_import (__main__.CapsuleChecks.test_import) ... ok test_invalid (__main__.CapsuleChecks.test_invalid) ... ok test_invalid_operations (__main__.CapsuleChecks.test_invalid_operations) ... ok test_set_context (__main__.CapsuleChecks.test_set_context) ... ok test_setdestructor (__main__.CapsuleChecks.test_setdestructor) ... ok test_setname (__main__.CapsuleChecks.test_setname) ... ok test_setpointer (__main__.CapsuleChecks.test_setpointer) ... ok test_type (__main__.CapsuleChecks.test_type) ... ok test_valid (__main__.CapsuleChecks.test_valid) ... ok test_return_notimplemented (__main__.ComparisonHelperChecks.test_return_notimplemented) ... ok test_unreachable (__main__.ComparisonHelperChecks.test_unreachable) ... ok test_bad_type (__main__.FileShimChecks.test_bad_type) ... ok test_read (__main__.FileShimChecks.test_read) ... ok test_read_write (__main__.FileShimChecks.test_read_write) ... ok test_write (__main__.FileShimChecks.test_write) ... ok test_fromstring (__main__.FloatChecks.test_fromstring) ... ok test_as (__main__.IntChecks.test_as) ... ok test_check (__main__.IntChecks.test_check) ... ok test_check_exact (__main__.IntChecks.test_check_exact) ... ok test_from (__main__.IntChecks.test_from) ... ok test_type (__main__.IntChecks.test_type) ... ok test_all_comparisons (__main__.NewComparisonChecks.test_all_comparisons) ... ok test_number (__main__.NewComparisonChecks.test_number) ... ok test_number_int_equality (__main__.NewComparisonChecks.test_number_int_equality) ... ok test_number_number_equality (__main__.NewComparisonChecks.test_number_number_equality) ... ok test_all_comparisons (__main__.OldComparisonChecks.test_all_comparisons) ... ok test_number (__main__.OldComparisonChecks.test_number) ... ok test_number_int_equality (__main__.OldComparisonChecks.test_number_int_equality) ... ok test_number_number_equality (__main__.OldComparisonChecks.test_number_number_equality) ... ok test_raw_calloc_zero (__main__.RawMallocChecks.test_raw_calloc_zero) ... ok test_raw_malloc (__main__.RawMallocChecks.test_raw_malloc) ... ok test_raw_malloc_zerosize (__main__.RawMallocChecks.test_raw_malloc_zerosize) ... ok test_raw_realloc (__main__.RawMallocChecks.test_raw_realloc) ... ok test_raw_realloc_null (__main__.RawMallocChecks.test_raw_realloc_null) ... ok test_raw_realloc_zero (__main__.RawMallocChecks.test_raw_realloc_zero) ... ok test_asstring (__main__.StringChecks.test_asstring) ... ok test_asutf8 (__main__.StringChecks.test_asutf8) ... ok test_asutf8andsize (__main__.StringChecks.test_asutf8andsize) ... ok test_asutf8string (__main__.StringChecks.test_asutf8string) ... ok test_check (__main__.StringChecks.test_check) ... ok test_check_exact (__main__.StringChecks.test_check_exact) ... ok test_concat (__main__.StringChecks.test_concat) ... ok test_decode (__main__.StringChecks.test_decode) ... ok test_format (__main__.StringChecks.test_format) ... ok test_fromformat (__main__.StringChecks.test_fromformat) ... ok test_fromstring (__main__.StringChecks.test_fromstring) ... ok test_fromstringandsize (__main__.StringChecks.test_fromstringandsize) ... ok test_internfromstring (__main__.StringChecks.test_internfromstring) ... ok test_interninplace (__main__.StringChecks.test_interninplace) ... ok test_type (__main__.StringChecks.test_type) ... ok ---------------------------------------------------------------------- Ran 55 tests in 0.295s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: py3c-devel-1.4-4.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e22OzR + umask 022 + cd /builddir/build/BUILD + cd py3c-1.4 + DOCDIR=/builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/doc/py3c-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/doc/py3c-devel + cp -pr README.rst /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/doc/py3c-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.myTRnt + umask 022 + cd /builddir/build/BUILD + cd py3c-1.4 + LICENSEDIR=/builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/licenses/py3c-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/licenses/py3c-devel + cp -pr LICENSE.MIT /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64/usr/share/licenses/py3c-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(py3c) = 1.4 py3c-devel = 1.4-4.ocs23 py3c-devel(aarch-64) = 1.4-4.ocs23 py3c-static = 1.4-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/py3c-1.4-4.ocs23.aarch64 Wrote: /builddir/build/RPMS/py3c-devel-1.4-4.ocs23.aarch64.rpm Child return code was: 0