Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-leveldb.spec'], chrootPath='/var/lib/mock/f33-build-225930-48960/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-leveldb.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=1590451200 Wrote: /builddir/build/SRPMS/python-leveldb-0.201-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-leveldb.spec'], chrootPath='/var/lib/mock/f33-build-225930-48960/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-leveldb.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=1590451200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k4i5fj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf leveldb-0.201 + /usr/bin/gzip -dc /builddir/build/SOURCES/leveldb-0.201.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd leveldb-0.201 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/use-system-leveldb.patch + rm -r leveldb.egg-info + rm -r snappy leveldb + chmod -x README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jxksuk + umask 022 + cd /builddir/build/BUILD + cd leveldb-0.201 + 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' running build running build_ext building 'leveldb' extension creating build creating build/temp.linux-riscv64-3.9 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 -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 -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/usr/include/python3.9 -c leveldb_ext.cc -o build/temp.linux-riscv64-3.9/leveldb_ext.o leveldb_ext.cc: In function ‘PyObject* PyInit_leveldb()’: leveldb_ext.cc:120:21: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 120 | PyEval_InitThreads(); | ^ In file included from /usr/include/python3.9/Python.h:145, from leveldb_ext.h:8, from leveldb_ext.cc:6: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ 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 -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 -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/usr/include/python3.9 -c leveldb_object.cc -o build/temp.linux-riscv64-3.9/leveldb_object.o creating build/lib.linux-riscv64-3.9 g++ -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -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.9/leveldb_ext.o build/temp.linux-riscv64-3.9/leveldb_object.o -L/usr/lib64 -lstdc++ -o build/lib.linux-riscv64-3.9/leveldb.cpython-39-riscv64-linux-gnu.so -lleveldb -lsnappy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HWcxbj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64 + cd leveldb-0.201 + 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-leveldb-0.201-3.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/leveldb.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9/site-packages writing byte-compilation script '/tmp/tmp261u34te.py' /usr/bin/python3 /tmp/tmp261u34te.py removing /tmp/tmp261u34te.py running install_egg_info running egg_info creating leveldb.egg-info writing leveldb.egg-info/PKG-INFO writing dependency_links to leveldb.egg-info/dependency_links.txt writing top-level names to leveldb.egg-info/top_level.txt writing manifest file 'leveldb.egg-info/SOURCES.txt' reading manifest file 'leveldb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'leveldb.egg-info/SOURCES.txt' Copying leveldb.egg-info to /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9/site-packages/leveldb-0.201-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.201-3.fc33 --unique-debug-suffix -0.201-3.fc33.riscv64 --unique-debug-src-base python-leveldb-0.201-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/leveldb-0.201 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9/site-packages/leveldb.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9/site-packages/leveldb.cpython-39-riscv64-linux-gnu.so original debug info size: 360kB, size after compression: 332kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 87 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9gYDsk + umask 022 + cd /builddir/build/BUILD + cd leveldb-0.201 + PYTHONPATH=/builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/lib64/python3.9/site-packages + /usr/bin/python3 test/test.py ...... ---------------------------------------------------------------------- Ran 6 tests in 14.465s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-leveldb-0.201-3.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ambo4k + umask 022 + cd /builddir/build/BUILD + cd leveldb-0.201 + DOCDIR=/builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/share/doc/python3-leveldb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/share/doc/python3-leveldb + cp -pr README /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/share/doc/python3-leveldb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.O1Rzhj + umask 022 + cd /builddir/build/BUILD + cd leveldb-0.201 + LICENSEDIR=/builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/share/licenses/python3-leveldb + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/share/licenses/python3-leveldb + cp -pr LICENSE /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64/usr/share/licenses/python3-leveldb + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-leveldb = 0.201-3.fc33 python3-leveldb = 0.201-3.fc33 python3-leveldb(riscv-64) = 0.201-3.fc33 python3.9-leveldb = 0.201-3.fc33 python3.9dist(leveldb) = 0.201 python3dist(leveldb) = 0.201 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libleveldb.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-leveldb < 0.201-3.fc33 Processing files: python-leveldb-debugsource-0.201-3.fc33.riscv64 Provides: python-leveldb-debugsource = 0.201-3.fc33 python-leveldb-debugsource(riscv-64) = 0.201-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-leveldb-debuginfo-0.201-3.fc33.riscv64 Provides: debuginfo(build-id) = 869338978fdca533ac43a47101cd05cebacb6892 python-leveldb-debuginfo = 0.201-3.fc33 python3-leveldb-debuginfo = 0.201-3.fc33 python3-leveldb-debuginfo(riscv-64) = 0.201-3.fc33 python3.9-leveldb-debuginfo = 0.201-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-leveldb-debugsource(riscv-64) = 0.201-3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-leveldb-0.201-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-leveldb-debugsource-0.201-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-leveldb-debuginfo-0.201-3.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gEl14h + umask 022 + cd /builddir/build/BUILD + cd leveldb-0.201 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-leveldb-0.201-3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0