Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/py3c.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-274371-25873/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jeys_fme:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jeys_fme:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2df28e61e8064bcf86b22effc836dd39', '-D', '/home/lib/mock/dist-ocs23-base-build-274371-25873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jeys_fme:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/py3c-1.4-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/py3c.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-274371-25873/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jeys_fme:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jeys_fme:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c555557e069c4faaa35879661f1b7bb1', '-D', '/home/lib/mock/dist-ocs23-base-build-274371-25873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jeys_fme:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.f8Bq1m + 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.XS9SGO + 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 -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 -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 -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 -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 -j32 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.dB9JVt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64 + cd py3c-1.4 + make install prefix=/builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr includedir=/builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/include mkdir -p -m 0755 /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/include/py3c install -m 0644 include/py3c.h /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/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-5.ocs23.loongarch64/usr/include/py3c/ mkdir -p -m 0755 /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/pkgconfig install -m 0644 py3c.pc /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/pkgconfig/ + sed --in-place '-es!/builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64!!' /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/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.7hgRGl + 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 -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 -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 -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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection' + make -j32 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 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-loongarch64-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.289s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: py3c-devel-1.4-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1S0gBl + umask 022 + cd /builddir/build/BUILD + cd py3c-1.4 + DOCDIR=/builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/doc/py3c-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/doc/py3c-devel + cp -pr README.rst /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/doc/py3c-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HAAanh + umask 022 + cd /builddir/build/BUILD + cd py3c-1.4 + LICENSEDIR=/builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/licenses/py3c-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/licenses/py3c-devel + cp -pr LICENSE.MIT /builddir/build/BUILDROOT/py3c-1.4-5.ocs23.loongarch64/usr/share/licenses/py3c-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(py3c) = 1.4 py3c-devel = 1.4-5.ocs23 py3c-devel(loongarch-64) = 1.4-5.ocs23 py3c-static = 1.4-5.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-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/py3c-devel-1.4-5.ocs23.loongarch64.rpm Child return code was: 0