Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libssh2-python.spec'], chrootPath='/var/lib/mock/f29-build-23031-11831/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libssh2-python-0.7.1-21.fc29.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/f29-build-23031-11831/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LMPEX7 + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Iyku08 + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_ext building 'libssh2' extension creating build creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/src gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -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/python2.7 -c src/ssh2.c -o build/temp.linux-riscv64-2.7/src/ssh2.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -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/python2.7 -c src/session.c -o build/temp.linux-riscv64-2.7/src/session.o BUILDSTDERR: src/session.c: In function 'passwd_changereq_callback': BUILDSTDERR: src/session.c:181:41: warning: passing argument 3 of 'PyString_AsStringAndSize' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ret = PyString_AsStringAndSize(rv, &s, newpw_len); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:97, BUILDSTDERR: from src/ssh2.h:28, BUILDSTDERR: from src/session.c:22: BUILDSTDERR: /usr/include/python2.7/stringobject.h:175:26: note: expected 'Py_ssize_t *' {aka 'long int *'} but argument is of type 'int *' BUILDSTDERR: register Py_ssize_t *len /* pointer to length variable or NULL BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~^~~ gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -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/python2.7 -c src/channel.c -o build/temp.linux-riscv64-2.7/src/channel.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -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/python2.7 -c src/sftp.c -o build/temp.linux-riscv64-2.7/src/sftp.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -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/python2.7 -c src/sftphandle.c -o build/temp.linux-riscv64-2.7/src/sftphandle.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -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/python2.7 -c src/listener.c -o build/temp.linux-riscv64-2.7/src/listener.o creating build/lib.linux-riscv64-2.7 gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-2.7/src/ssh2.o build/temp.linux-riscv64-2.7/src/session.o build/temp.linux-riscv64-2.7/src/channel.o build/temp.linux-riscv64-2.7/src/sftp.o build/temp.linux-riscv64-2.7/src/sftphandle.o build/temp.linux-riscv64-2.7/src/listener.o -L/usr/lib64 -lssl -lcrypto -lssh2 -lz -lpython2.7 -o build/lib.linux-riscv64-2.7/libssh2.so + sleep 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,-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 'libssh2' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/src gcc -pthread -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 -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 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: 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: c_api_object = PyCObject_FromVoidPtr((void *)SSH2_API, NULL); BUILDSTDERR: ^ gcc -pthread -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 -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 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: ret = PyBytes_AsStringAndSize(enc, &s, newpw_len); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/python3.7m/Python.h:79, 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: Py_ssize_t *len /* pointer to length variable or NULL BUILDSTDERR: ~~~~~~~~~~~~^~~ gcc -pthread -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 -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 -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 -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 -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 -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 gcc -pthread -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 -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/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -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 -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 + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A8t0OI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/libssh2.so -> /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python2.7/site-packages/libssh2_python-0.7.1-py2.7.egg-info + 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,-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-21.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.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-21.fc29.riscv64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python3.7/site-packages/libssh2_python-0.7.1-py3.7.egg-info + mv /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python3.7/site-packages/libssh2.cpython-37m-riscv64-linux-gnu.so /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python3.7/site-packages/libssh2.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.1-21.fc29 --unique-debug-suffix -0.7.1-21.fc29.riscv64 --unique-debug-src-base libssh2-python-0.7.1-21.fc29.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 extracting debug info from /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python2.7/site-packages/libssh2.so extracting debug info from /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python3.7/site-packages/libssh2.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 164 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.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-21.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-libssh2-0.7.1-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CwwzsO + umask 022 + cd /builddir/build/BUILD + cd libssh2-python-0.7.1 + DOCDIR=/builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/share/doc/python2-libssh2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/share/doc/python2-libssh2 + cp -pr README.txt /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/share/doc/python2-libssh2 + cp -pr COPYING /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/share/doc/python2-libssh2 + exit 0 Provides: libssh2-python = 0.7.1-21.fc29 libssh2-python(riscv-64) = 0.7.1-21.fc29 libssh2.so()(64bit) python-libssh2 = 0.7.1-21.fc29 python-libssh2(riscv-64) = 0.7.1-21.fc29 python2-libssh2 = 0.7.1-21.fc29 python2-libssh2(riscv-64) = 0.7.1-21.fc29 python2.7dist(libssh2-python) = 0.7.1 python2dist(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) libcrypto.so.1.1()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libssh2.so.1()(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: libssh2-python < 0.7.1-21.fc29 python-libssh2 < 0.7.1-21.fc29 Processing files: python3-libssh2-0.7.1-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xlzBtG + umask 022 + cd /builddir/build/BUILD + cd libssh2-python-0.7.1 + DOCDIR=/builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.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-21.fc29.riscv64/usr/share/doc/python3-libssh2 + cp -pr README.txt /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/share/doc/python3-libssh2 + cp -pr COPYING /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64/usr/share/doc/python3-libssh2 + exit 0 Provides: libssh2-python = 0.7.1-21.fc29 libssh2-python(riscv-64) = 0.7.1-21.fc29 python3-libssh2 = 0.7.1-21.fc29 python3-libssh2(riscv-64) = 0.7.1-21.fc29 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) libcrypto.so.1.1()(64bit) libpthread.so.0()(64bit) libpython3.7m.so.1.0()(64bit) libssh2.so.1()(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: libssh2-python < 0.7.1-21.fc29 Processing files: libssh2-python-debugsource-0.7.1-21.fc29.riscv64 Provides: libssh2-python-debugsource = 0.7.1-21.fc29 libssh2-python-debugsource(riscv-64) = 0.7.1-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libssh2-python-debuginfo-0.7.1-21.fc29.riscv64 Provides: libssh2-python-debuginfo = 0.7.1-21.fc29 libssh2-python-debuginfo(riscv-64) = 0.7.1-21.fc29 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-21.fc29 Processing files: python2-libssh2-debuginfo-0.7.1-21.fc29.riscv64 Provides: debuginfo(build-id) = 6b2f6792098a1268a29e9e8be3f80bd6e51481ff python2-libssh2-debuginfo = 0.7.1-21.fc29 python2-libssh2-debuginfo(riscv-64) = 0.7.1-21.fc29 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-21.fc29 Processing files: python3-libssh2-debuginfo-0.7.1-21.fc29.riscv64 Provides: debuginfo(build-id) = b09caff9deab4e0fd5c09aea5e336268765a7608 python3-libssh2-debuginfo = 0.7.1-21.fc29 python3-libssh2-debuginfo(riscv-64) = 0.7.1-21.fc29 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-21.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-libssh2-0.7.1-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-libssh2-0.7.1-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libssh2-python-debugsource-0.7.1-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libssh2-python-debuginfo-0.7.1-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-libssh2-debuginfo-0.7.1-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-libssh2-debuginfo-0.7.1-21.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b3ydWg + umask 022 + cd /builddir/build/BUILD + cd libssh2-python-0.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libssh2-python-0.7.1-21.fc29.riscv64 + exit 0 Child return code was: 0