Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gmpy2.spec'], chrootPath='/var/lib/mock/f31-build-63153-29272/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/python-gmpy2-2.1.0-0.9.b1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gmpy2.spec'], chrootPath='/var/lib/mock/f31-build-63153-29272/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QF3IsJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gmpy-gmpy2-2.1.0b1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/gmpy2-2.1.0b1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gmpy-gmpy2-2.1.0b1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-gmpy2-qdiv.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python-gmpy2-no-copy.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python-gmpy2-test.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch + 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 + sed -i 's/'\''default'\''/'\''classic'\''/' docs/conf.py + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bBObjH + umask 022 + cd /builddir/build/BUILD + cd gmpy-gmpy2-2.1.0b1 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' + make -C docs html + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_py creating build creating build/lib.linux-riscv64-3.7 creating build/lib.linux-riscv64-3.7/gmpy2 copying gmpy2/__init__.py -> build/lib.linux-riscv64-3.7/gmpy2 running egg_info creating gmpy2.egg-info writing gmpy2.egg-info/PKG-INFO writing dependency_links to gmpy2.egg-info/dependency_links.txt writing top-level names to gmpy2.egg-info/top_level.txt writing manifest file 'gmpy2.egg-info/SOURCES.txt' reading manifest file 'gmpy2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'gmpy2.egg-info/SOURCES.txt' copying gmpy2/__init__.pxd -> build/lib.linux-riscv64-3.7/gmpy2 copying gmpy2/gmpy2.h -> build/lib.linux-riscv64-3.7/gmpy2 copying gmpy2/gmpy2.pxd -> build/lib.linux-riscv64-3.7/gmpy2 running build_ext building 'gmpy2.gmpy2' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/src gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I./src -I/usr/include/python3.7m -c src/gmpy2.c -o build/temp.linux-riscv64-3.7/src/gmpy2.o -DSHARED=1 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/src/gmpy2.o -L/usr/lib64 -lmpc -lmpfr -lgmp -lpython3.7m -o build/lib.linux-riscv64-3.7/gmpy2/gmpy2.cpython-37m-riscv64-linux-gnu.so make: Entering directory '/builddir/build/BUILD/gmpy-gmpy2-2.1.0b1/docs' if [ ! -d _static ]; then mkdir _static; fi sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v2.1.2 making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 11 source files that are out of date updating environment: 11 added, 0 changed, 0 removed reading sources... [ 9%] advmpz reading sources... [ 18%] conversion reading sources... [ 27%] cython reading sources... [ 36%] history reading sources... [ 45%] index reading sources... [ 54%] intro reading sources... [ 63%] mpc reading sources... [ 72%] mpfr reading sources... [ 81%] mpq reading sources... [ 90%] mpz reading sources... [100%] overview looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 9%] advmpz writing output... [ 18%] conversion writing output... [ 27%] cython writing output... [ 36%] history writing output... [ 45%] index writing output... [ 54%] intro writing output... [ 63%] mpc writing output... [ 72%] mpfr writing output... [ 81%] mpq writing output... [ 90%] mpz writing output... [100%] overview generating indices... genindex writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in _build/html. Build finished. The HTML pages are in _build/html. make: Leaving directory '/builddir/build/BUILD/gmpy-gmpy2-2.1.0b1/docs' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yPfcgJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 + cd gmpy-gmpy2-2.1.0b1 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.0-0.9.b1.fc31 --unique-debug-suffix -2.1.0-0.9.b1.fc31.riscv64 --unique-debug-src-base python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gmpy-gmpy2-2.1.0b1 BUILDSTDERR: 1980 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs running install running install_lib creating /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages creating /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2 copying build/lib.linux-riscv64-3.7/gmpy2/gmpy2.h -> /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2 copying build/lib.linux-riscv64-3.7/gmpy2/gmpy2.pxd -> /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2 copying build/lib.linux-riscv64-3.7/gmpy2/__init__.py -> /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2 copying build/lib.linux-riscv64-3.7/gmpy2/__init__.pxd -> /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2 copying build/lib.linux-riscv64-3.7/gmpy2/gmpy2.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2 byte-compiling /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2/__init__.py to __init__.cpython-37.pyc writing byte-compilation script '/tmp/tmp4u060poh.py' /usr/bin/python3 /tmp/tmp4u060poh.py removing /tmp/tmp4u060poh.py running install_egg_info running egg_info writing gmpy2.egg-info/PKG-INFO writing dependency_links to gmpy2.egg-info/dependency_links.txt writing top-level names to gmpy2.egg-info/top_level.txt reading manifest file 'gmpy2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'gmpy2.egg-info/SOURCES.txt' Copying gmpy2.egg-info to /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2-2.1.0b1-py3.7.egg-info running install_scripts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2/gmpy2.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7/site-packages/gmpy2/gmpy2.cpython-37m-riscv64-linux-gnu.so original debug info size: 1736kB, size after compression: 1688kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.J2DGHJ Processing files: python3-gmpy2-2.1.0-0.9.b1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XdSliK + umask 022 + cd /builddir/build/BUILD + cd gmpy-gmpy2-2.1.0b1 + DOCDIR=/builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/doc/python3-gmpy2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/doc/python3-gmpy2 + cp -pr docs/_build/html/_sources docs/_build/html/_static docs/_build/html/advmpz.html docs/_build/html/conversion.html docs/_build/html/cython.html docs/_build/html/genindex.html docs/_build/html/history.html docs/_build/html/index.html docs/_build/html/intro.html docs/_build/html/mpc.html docs/_build/html/mpfr.html docs/_build/html/mpq.html docs/_build/html/mpz.html docs/_build/html/objects.inv docs/_build/html/overview.html docs/_build/html/search.html docs/_build/html/searchindex.js /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/doc/python3-gmpy2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FU1wdI + umask 022 + cd /builddir/build/BUILD + cd gmpy-gmpy2-2.1.0b1 + LICENSEDIR=/builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/licenses/python3-gmpy2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/licenses/python3-gmpy2 + cp -pr COPYING /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/licenses/python3-gmpy2 + cp -pr COPYING.LESSER /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64/usr/share/licenses/python3-gmpy2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: bundled(jquery) python-gmpy2 = 2.1.0-0.9.b1.fc31 python2-gmpy2 = 2.1.0-0.9.b1.fc31 python3-gmpy2 = 2.1.0-0.9.b1.fc31 python3-gmpy2(riscv-64) = 2.1.0-0.9.b1.fc31 python3.7dist(gmpy2) = 2.1.0b1 python3dist(gmpy2) = 2.1.0b1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libmpc.so.3()(64bit) libmpfr.so.4()(64bit) libpython3.7m.so.1.0()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-gmpy2 < 2.1.0-0.9.b1.fc31 python2-gmpy2 < 2.1.0-0.6.a4 Processing files: python-gmpy2-debugsource-2.1.0-0.9.b1.fc31.riscv64 Provides: python-gmpy2-debugsource = 2.1.0-0.9.b1.fc31 python-gmpy2-debugsource(riscv-64) = 2.1.0-0.9.b1.fc31 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.1.0-0.9.b1.fc31.riscv64 Provides: debuginfo(build-id) = 5fea23fb81336558da9c2b18b4f95f43810b68ed python3-gmpy2-debuginfo = 2.1.0-0.9.b1.fc31 python3-gmpy2-debuginfo(riscv-64) = 2.1.0-0.9.b1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-gmpy2-debugsource(riscv-64) = 2.1.0-0.9.b1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 Wrote: /builddir/build/RPMS/python-gmpy2-debugsource-2.1.0-0.9.b1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gmpy2-2.1.0-0.9.b1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gmpy2-debuginfo-2.1.0-0.9.b1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EQ2JjH + umask 022 + cd /builddir/build/BUILD + cd gmpy-gmpy2-2.1.0b1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gmpy2-2.1.0-0.9.b1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0