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-lzo.spec'], chrootPath='/var/lib/mock/f32-build-118330-35452/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=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-lzo.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=1566172800 Wrote: /builddir/build/SRPMS/python-lzo-1.09-16.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-lzo.spec'], chrootPath='/var/lib/mock/f32-build-118330-35452/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=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-lzo.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=1566172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NTNHdd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-lzo-1.09 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-lzo-1.09.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-lzo-1.09 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oHeIQc + umask 022 + cd /builddir/build/BUILD + cd python-lzo-1.09 + 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 'lzo' extension creating build creating build/temp.linux-riscv64-3.8 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/lzo -I/usr/include/python3.8 -c lzomodule.c -o build/temp.linux-riscv64-3.8/lzomodule.o BUILDSTDERR: lzomodule.c: In function ‘optimize’: BUILDSTDERR: lzomodule.c:255:44: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] BUILDSTDERR: 255 | result_str = PyBytes_FromStringAndSize(in, len); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/python3.8/Python.h:96, BUILDSTDERR: from lzomodule.c:34: BUILDSTDERR: /usr/include/python3.8/bytesobject.h:51:24: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ BUILDSTDERR: 51 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: lzomodule.c:370:25: warning: ‘module_documentation’ defined but not used [-Wunused-variable] BUILDSTDERR: 370 | static /* const */ char module_documentation[]= BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-riscv64-3.8 gcc -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.8/lzomodule.o -L/usr/lib64 -llzo2 -o build/lib.linux-riscv64-3.8/lzo.cpython-38-riscv64-linux-gnu.so BUILDSTDERR: /usr/lib64/python3.8/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' BUILDSTDERR: warnings.warn(msg) + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hBzPwg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64 + cd python-lzo-1.09 + 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-lzo-1.09-16.fc32.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr creating /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8 creating /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8/site-packages copying build/lib.linux-riscv64-3.8/lzo.cpython-38-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8/site-packages/python_lzo-1.09-py3.8.egg-info BUILDSTDERR: /usr/lib64/python3.8/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' BUILDSTDERR: warnings.warn(msg) + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.09-16.fc32 --unique-debug-suffix -1.09-16.fc32.riscv64 --unique-debug-src-base python-lzo-1.09-16.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-lzo-1.09 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8/site-packages/lzo.cpython-38-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8/site-packages/lzo.cpython-38-riscv64-linux-gnu.so original debug info size: 72kB, size after compression: 72kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 27 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/lib64/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rOjIKe + umask 022 + cd /builddir/build/BUILD + cd python-lzo-1.09 + pushd tests/ ~/build/BUILD/python-lzo-1.09/tests ~/build/BUILD/python-lzo-1.09 + PYTHONPATH=/builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64//usr/lib64/python3.8/site-packages + /usr/bin/python3 ./test.py BUILDSTDERR: ./test.py:58: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: a0 = lzo.adler32(src) BUILDSTDERR: ./test.py:59: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: c = lzo.compress(src, level) BUILDSTDERR: ./test.py:60: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: u1 = lzo.decompress(c) BUILDSTDERR: ./test.py:61: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: a1 = lzo.adler32(u1) BUILDSTDERR: ./test.py:62: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: o = lzo.optimize(c) BUILDSTDERR: ./test.py:63: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: u2 = lzo.decompress(o) BUILDSTDERR: ./test.py:64: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: a2 = lzo.adler32(u2) BUILDSTDERR: ./test.py:96: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats BUILDSTDERR: x = lzo.decompress("xx") LZO version b'2.08' (0x2080), b'Jun 29 2014' ../build/lib.linux-riscv64-3.8/lzo.cpython-38-riscv64-linux-gnu.so Python bindings for the LZO data compression library compressed 24 -> 33 compressed 24 -> 33 compressed 24 -> 15 compressed 131072 -> 598 compressed 0 -> 8 Simple compression test passed. + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: python3-lzo-1.09-16.fc32.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HaQVag + umask 022 + cd /builddir/build/BUILD + cd python-lzo-1.09 + LICENSEDIR=/builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/share/licenses/python3-lzo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/share/licenses/python3-lzo + cp -pr COPYING /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64/usr/share/licenses/python3-lzo + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python3-lzo = 1.09-16.fc32 python3-lzo(riscv-64) = 1.09-16.fc32 python3.8dist(python-lzo) = 1.9 python3dist(python-lzo) = 1.9 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) liblzo2.so.2()(64bit) python(abi) = 3.8 rtld(GNU_HASH) Processing files: python-lzo-debugsource-1.09-16.fc32.riscv64 Provides: python-lzo-debugsource = 1.09-16.fc32 python-lzo-debugsource(riscv-64) = 1.09-16.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-lzo-debuginfo-1.09-16.fc32.riscv64 Provides: debuginfo(build-id) = 6ef19e902c0fefaa9313add7ef9458c6f45ea828 python3-lzo-debuginfo = 1.09-16.fc32 python3-lzo-debuginfo(riscv-64) = 1.09-16.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-lzo-debugsource(riscv-64) = 1.09-16.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64 Wrote: /builddir/build/RPMS/python-lzo-debugsource-1.09-16.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/python3-lzo-1.09-16.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/python3-lzo-debuginfo-1.09-16.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f70wrf + umask 022 + cd /builddir/build/BUILD + cd python-lzo-1.09 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-lzo-1.09-16.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0