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/libssh2-python.spec'], chrootPath='/var/lib/mock/f31-build-94996-32515/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/libssh2-python.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=1564012800 Wrote: /builddir/build/SRPMS/libssh2-python-0.7.1-24.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libssh2-python.spec'], chrootPath='/var/lib/mock/f31-build-94996-32515/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/libssh2-python.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rxy0S5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libssh2-python-0.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libssh2-python-0.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libssh2-python-0.7.1 + /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.aVzbk5 + umask 022 + cd /builddir/build/BUILD + cd libssh2-python-0.7.1 + 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' BUILDSTDERR: src/ssh2.c: In function ‘PyInit_libssh2’: BUILDSTDERR: src/ssh2.c:71:17: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyLong_FromVoidPtr’? [-Wimplicit-function-declaration] BUILDSTDERR: 71 | c_api_object = PyCObject_FromVoidPtr((void *)SSH2_API, NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | PyLong_FromVoidPtr BUILDSTDERR: src/ssh2.c:71:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 71 | c_api_object = PyCObject_FromVoidPtr((void *)SSH2_API, NULL); BUILDSTDERR: | ^ BUILDSTDERR: src/session.c: In function ‘passwd_changereq_callback’: BUILDSTDERR: src/session.c:189:42: warning: passing argument 3 of ‘PyBytes_AsStringAndSize’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 189 | ret = PyBytes_AsStringAndSize(enc, &s, newpw_len); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/python3.7m/Python.h:98, BUILDSTDERR: from src/ssh2.h:28, BUILDSTDERR: from src/session.c:22: BUILDSTDERR: /usr/include/python3.7m/bytesobject.h:106:17: note: expected ‘Py_ssize_t *’ {aka ‘long int *’} but argument is of type ‘int *’ BUILDSTDERR: 106 | Py_ssize_t *len /* pointer to length variable or NULL BUILDSTDERR: | ~~~~~~~~~~~~^~~ running build running build_ext building 'libssh2' extension creating build 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 -DMODULE_VERSION="0.7.1" -I/usr/include/python3.7m -c src/ssh2.c -o build/temp.linux-riscv64-3.7/src/ssh2.o 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 -DMODULE_VERSION="0.7.1" -I/usr/include/python3.7m -c src/session.c -o build/temp.linux-riscv64-3.7/src/session.o 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 -DMODULE_VERSION="0.7.1" -I/usr/include/python3.7m -c src/channel.c -o build/temp.linux-riscv64-3.7/src/channel.o 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 -DMODULE_VERSION="0.7.1" -I/usr/include/python3.7m -c src/sftp.c -o build/temp.linux-riscv64-3.7/src/sftp.o 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 -DMODULE_VERSION="0.7.1" -I/usr/include/python3.7m -c src/sftphandle.c -o build/temp.linux-riscv64-3.7/src/sftphandle.o BUILDSTDERR: 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 -fexcep+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 tions -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 -DMODULE_VERSION="0.7.1" -I/usr/include/python3.7m -c src/listener.c -o build/temp.linux-riscv64-3.7/src/listener.o creating build/lib.linux-riscv64-3.7 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/ssh2.o build/temp.linux-riscv64-3.7/src/session.o build/temp.linux-riscv64-3.7/src/channel.o build/temp.linux-riscv64-3.7/src/sftp.o build/temp.linux-riscv64-3.7/src/sftphandle.o build/temp.linux-riscv64-3.7/src/listener.o -L/usr/lib64 -lssl -lcrypto -lssh2 -lz -lpython3.7m -o build/lib.linux-riscv64-3.7/libssh2.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W1xVG8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64 + cd libssh2-python-0.7.1 + 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/libssh2-python-0.7.1-24.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.1-24.fc31 --unique-debug-suffix -0.7.1-24.fc31.riscv64 --unique-debug-src-base libssh2-python-0.7.1-24.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libssh2-python-0.7.1 BUILDSTDERR: 164 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs running install running install_lib creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/libssh2.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7/site-packages/libssh2_python-0.7.1-py3.7.egg-info explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7/site-packages/libssh2.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7/site-packages/libssh2.cpython-37m-riscv64-linux-gnu.so original debug info size: 248kB, size after compression: 196kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Processing files: python3-libssh2-0.7.1-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lCMLT4 + umask 022 + cd /builddir/build/BUILD + cd libssh2-python-0.7.1 + DOCDIR=/builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/share/doc/python3-libssh2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/share/doc/python3-libssh2 + cp -pr README.txt /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/share/doc/python3-libssh2 + cp -pr COPYING /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64/usr/share/doc/python3-libssh2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-libssh2 = 0.7.1-24.fc31 python3-libssh2 = 0.7.1-24.fc31 python3-libssh2(riscv-64) = 0.7.1-24.fc31 python3.7dist(libssh2-python) = 0.7.1 python3dist(libssh2-python) = 0.7.1 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) libpython3.7m.so.1.0()(64bit) libssh2.so.1()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-libssh2 < 0.7.1-24.fc31 Processing files: libssh2-python-debugsource-0.7.1-24.fc31.riscv64 Provides: libssh2-python-debugsource = 0.7.1-24.fc31 libssh2-python-debugsource(riscv-64) = 0.7.1-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-libssh2-debuginfo-0.7.1-24.fc31.riscv64 Provides: debuginfo(build-id) = 90aebfe31913e268afb8b86d42edd6957c90feba python3-libssh2-debuginfo = 0.7.1-24.fc31 python3-libssh2-debuginfo(riscv-64) = 0.7.1-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libssh2-python-debugsource(riscv-64) = 0.7.1-24.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64 Wrote: /builddir/build/RPMS/python3-libssh2-0.7.1-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libssh2-python-debugsource-0.7.1-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-libssh2-debuginfo-0.7.1-24.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x2hgl5 + umask 022 + cd /builddir/build/BUILD + cd libssh2-python-0.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libssh2-python-0.7.1-24.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0