Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gmpy2.spec'], chrootPath='/var/lib/mock/1127227-centos-stream-x86_64-1575963398.395309/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fcf49ed75d0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9x9otz_u:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9x9otz_u:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c2fe9ecbdded40f19aec77c44a778a93', '-D', '/var/lib/mock/1127227-centos-stream-x86_64-1575963398.395309/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9x9otz_u:/etc/resolv.conf', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gmpy2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/python-gmpy2-2.0.8-7.el8.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-gmpy2.spec'], chrootPath='/var/lib/mock/1127227-centos-stream-x86_64-1575963398.395309/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fcf49ed75d0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9x9otz_u:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9x9otz_u:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd718590326bf4e9c9f335dbf805d378b', '-D', '/var/lib/mock/1127227-centos-stream-x86_64-1575963398.395309/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9x9otz_u:/etc/resolv.conf', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gmpy2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hgaqWy
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf python-gmpy2-2.0.8
+ /usr/bin/mkdir -p python-gmpy2-2.0.8
+ cd python-gmpy2-2.0.8
+ /usr/bin/unzip -qq /builddir/build/SOURCES/gmpy2-2.0.8.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ pushd gmpy2-2.0.8
~/build/BUILD/python-gmpy2-2.0.8/gmpy2-2.0.8 ~/build/BUILD/python-gmpy2-2.0.8
+ iconv -f ISO8859-1 -t UTF-8 src/gmpy2.c
+ touch -r src/gmpy2.c src/gmpy2.c.utf8
+ mv -f src/gmpy2.c.utf8 src/gmpy2.c
+ sed -i.orig 's/i\xad/\xc3\xad/' src/mpz_pylong.c
+ touch -r src/mpz_pylong.c.orig src/mpz_pylong.c
+ rm src/mpz_pylong.c.orig
+ popd
~/build/BUILD/python-gmpy2-2.0.8
+ cp -a gmpy2-2.0.8 python3-gmpy2-2.0.8
+ sed -i 's/sphinx-build/&-3/' python3-gmpy2-2.0.8/docs/Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7Czrj4
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-gmpy2-2.0.8
+ pushd python3-gmpy2-2.0.8
~/build/BUILD/python-gmpy2-2.0.8/python3-gmpy2-2.0.8 ~/build/BUILD/python-gmpy2-2.0.8
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ /usr/libexec/platform-python setup.py --lib64 build '--executable=/usr/libexec/platform-python -s'
running build
running build_ext
building 'gmpy2' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DWITHMPFR -DWITHMPC -I/usr/include/python3.6m -c src/gmpy2.c -o build/temp.linux-x86_64-3.6/src/gmpy2.o
creating build/lib.linux-x86_64-3.6
gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.6/src/gmpy2.o -L/usr/lib64 -lgmp -lmpfr -lmpc -lpython3.6m -o build/lib.linux-x86_64-3.6/gmpy2.cpython-36m-x86_64-linux-gnu.so
+ sleep 1
+ popd
~/build/BUILD/python-gmpy2-2.0.8
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y23e46
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64
++ dirname /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64
+ cd python-gmpy2-2.0.8
+ pushd python3-gmpy2-2.0.8
~/build/BUILD/python-gmpy2-2.0.8/python3-gmpy2-2.0.8 ~/build/BUILD/python-gmpy2-2.0.8
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ /usr/libexec/platform-python setup.py --lib64 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64
running install
running install_lib
creating /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr
creating /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64
creating /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6
creating /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6/site-packages
copying build/lib.linux-x86_64-3.6/gmpy2.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6/site-packages
running install_egg_info
Writing /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6/site-packages/gmpy2-2.0.8-py3.6.egg-info
+ chmod 0755 /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6/site-packages/gmpy2.cpython-36m-x86_64-linux-gnu.so
+ popd
~/build/BUILD/python-gmpy2-2.0.8
+ /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.0.8-7.el8 --unique-debug-suffix -2.0.8-7.el8.x86_64 --unique-debug-src-base python-gmpy2-2.0.8-7.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/python-gmpy2-2.0.8
extracting debug info from /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6/site-packages/gmpy2.cpython-36m-x86_64-linux-gnu.so
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
1590 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile 1
Bytecompiling .py files below /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python
Bytecompiling .py files below /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6 using /usr/libexec/platform-python
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4Zfvsc
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-gmpy2-2.0.8
+ pushd python3-gmpy2-2.0.8
~/build/BUILD/python-gmpy2-2.0.8/python3-gmpy2-2.0.8 ~/build/BUILD/python-gmpy2-2.0.8
+ PYTHONPATH=/builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/lib64/python3.6/site-packages
+ /usr/libexec/platform-python test/runtests.py

Unit tests for gmpy2 2.0.8 with Python 3.6.8
  Mutliple-precision library:     GMP 6.1.2
  Floating-point library:         MPFR 3.1.6-p2
  Complex library:                MPC 1.0.2
  Caching Values: (Cache size)    100
  Caching Values: (Size in limbs) 128

Results for:  test_context             Attempted:   35   Failed:    0
Results for:  test_misc                Attempted:   11   Failed:    0
Results for:  test_mpc                 Attempted:   86   Failed:    0
Results for:  test_mpc_to_from_binary  Attempted:   41   Failed:    0
Results for:  test_mpfr                Attempted:  175   Failed:    0
Results for:  test_mpfr_min_max        Attempted:   26   Failed:    0
Results for:  test_mpfr_to_from_binary Attempted:   25   Failed:    0
Results for:  test_mpfr_trig           Attempted:  110   Failed:    0
Results for:  test_mpq                 Attempted:  160   Failed:    0
Results for:  test_mpq_to_from_binary  Attempted:    6   Failed:    0
Results for:  test_mpz                 Attempted:  199   Failed:    0
Results for:  test_mpz_io              Attempted:   68   Failed:    0
Results for:  test_mpz_pack_unpack     Attempted:   16   Failed:    0
Results for:  test_mpz_to_from_binary  Attempted:    6   Failed:    0
Results for:  test_py32_hash           Attempted:   18   Failed:    0

                             Summary - Attempted:  982   Failed:    0
+ popd
~/build/BUILD/python-gmpy2-2.0.8
+ exit 0
Processing files: python3-gmpy2-2.0.8-7.el8.x86_64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ih9Hmi
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-gmpy2-2.0.8
+ LICENSEDIR=/builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/share/licenses/python3-gmpy2
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/share/licenses/python3-gmpy2
+ cp -pr gmpy2-2.0.8/COPYING /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/share/licenses/python3-gmpy2
+ cp -pr gmpy2-2.0.8/COPYING.LESSER /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64/usr/share/licenses/python3-gmpy2
+ exit 0
Provides: bundled(jquery) python3-gmpy2 = 2.0.8-7.el8 python3-gmpy2(x86-64) = 2.0.8-7.el8 python3.6dist(gmpy2) = 2.0.8 python3dist(gmpy2) = 2.0.8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgmp.so.10()(64bit) libmpc.so.3()(64bit) libmpfr.so.4()(64bit) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH)
Processing files: python-gmpy2-debugsource-2.0.8-7.el8.x86_64
Provides: python-gmpy2-debugsource = 2.0.8-7.el8 python-gmpy2-debugsource(x86-64) = 2.0.8-7.el8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: python3-gmpy2-debuginfo-2.0.8-7.el8.x86_64
Provides: debuginfo(build-id) = af5755f6d05dcded88313683c1482061f2fab0de python3-gmpy2-debuginfo = 2.0.8-7.el8 python3-gmpy2-debuginfo(x86-64) = 2.0.8-7.el8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: python-gmpy2-debugsource(x86-64) = 2.0.8-7.el8
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64
Wrote: /builddir/build/RPMS/python3-gmpy2-2.0.8-7.el8.x86_64.rpm
Wrote: /builddir/build/RPMS/python-gmpy2-debugsource-2.0.8-7.el8.x86_64.rpm
Wrote: /builddir/build/RPMS/python3-gmpy2-debuginfo-2.0.8-7.el8.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IVsoVq
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-gmpy2-2.0.8
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gmpy2-2.0.8-7.el8.x86_64
+ exit 0
Child return code was: 0