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-m2ext.spec'], chrootPath='/var/lib/mock/f31-build-47461-26834/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-m2ext.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 BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/python-m2ext-0.1-20.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-m2ext.spec'], chrootPath='/var/lib/mock/f31-build-47461-26834/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-m2ext.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 BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3aGBLC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf m2ext-0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/m2ext-0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd m2ext-0.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.3CyEkC + umask 022 + cd /builddir/build/BUILD + cd m2ext-0.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' + export CFLAGS + pkg-config openssl BUILDSTDERR: ++ pkg-config --cflags openssl + 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 ' + export CFLAGS BUILDSTDERR: ++ pkg-config --libs-only-L openssl + LDFLAGS= + export LDFLAGS + /usr/bin/python2 setup.py build BUILDSTDERR: swig/m2ext_wrap.c: In function 'x509_extension_get_data': BUILDSTDERR: swig/m2ext_wrap.c:3254:43: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] BUILDSTDERR: 3254 | return PyString_FromStringAndSize(data->data, data->length); BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:97, BUILDSTDERR: from swig/m2ext_wrap.c:149: BUILDSTDERR: /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 62 | PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/m2ext copying m2ext/__init__.py -> build/lib.linux-riscv64-2.7/m2ext copying m2ext/m2.py -> build/lib.linux-riscv64-2.7/m2ext copying m2ext/SSL.py -> build/lib.linux-riscv64-2.7/m2ext running build_ext building 'm2ext._m2ext' extension swigging swig/m2ext.i to swig/m2ext_wrap.c swig -python -I/usr/include/python2.7 -I/usr/include -includeall -noproxy -o swig/m2ext_wrap.c swig/m2ext.i creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/swig 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 -I/usr/include/python2.7 -I/usr/include -c swig/m2ext_wrap.c -o build/temp.linux-riscv64-2.7/swig/m2ext_wrap.o -DTHREADING gcc -pthread -shared -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-2.7/swig/m2ext_wrap.o -L/usr/lib64 -L/usr/lib -lpython2.7 -lssl -lcrypto -o build/lib.linux-riscv64-2.7/m2ext/_m2ext.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qrbqeE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 + cd m2ext-0.1 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 + chmod 755 /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64//usr/lib64/python2.7/site-packages/m2ext/_m2ext.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1-20.fc31 --unique-debug-suffix -0.1-20.fc31.riscv64 --unique-debug-src-base python-m2ext-0.1-20.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/m2ext-0.1 BUILDSTDERR: 245 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-m2ext-0.1-20.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext copying build/lib.linux-riscv64-2.7/m2ext/_m2ext.so -> /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext copying build/lib.linux-riscv64-2.7/m2ext/__init__.py -> /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext copying build/lib.linux-riscv64-2.7/m2ext/m2.py -> /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext copying build/lib.linux-riscv64-2.7/m2ext/SSL.py -> /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext byte-compiling /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext/m2.py to m2.pyc byte-compiling /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext/SSL.py to SSL.pyc writing byte-compilation script '/tmp/tmpGodgH1.py' /usr/bin/python2 -O /tmp/tmpGodgH1.py removing /tmp/tmpGodgH1.py running install_egg_info Writing /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext-0.1-py2.7.egg-info explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext/_m2ext.so extracting debug info from /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7/site-packages/m2ext/_m2ext.so original debug info size: 136kB, size after compression: 136kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Processing files: python2-m2ext-0.1-20.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D9McIF + umask 022 + cd /builddir/build/BUILD + cd m2ext-0.1 + DOCDIR=/builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/share/doc/python2-m2ext + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/share/doc/python2-m2ext + cp -pr README.rst /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/share/doc/python2-m2ext + cp -pr LICENSE /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64/usr/share/doc/python2-m2ext + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/m2ext/_m2ext.so' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python2-m2ext = 0.1-20.fc31 python2-m2ext(riscv-64) = 0.1-20.fc31 python2.7dist(m2ext) = 0.1 python2dist(m2ext) = 0.1 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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpython2.7.so.1.0()(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-m2ext-debugsource-0.1-20.fc31.riscv64 BUILDSTDERR: warning: Deprecated external dependency generator is used! Provides: python-m2ext-debugsource = 0.1-20.fc31 python-m2ext-debugsource(riscv-64) = 0.1-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python2-m2ext-debuginfo-0.1-20.fc31.riscv64 warning: Finding Provides: /bin/sh -c " /usr/bin/grep -v '/m2ext/_m2ext.so' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " BUILDSTDERR: Deprecated external dependency generator is used! Provides: debuginfo(build-id) = 81660f07ef6bed51f14405f963c09571c86a7ce1 python2-m2ext-debuginfo = 0.1-20.fc31 python2-m2ext-debuginfo(riscv-64) = 0.1-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-m2ext-debugsource(riscv-64) = 0.1-20.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 Wrote: /builddir/build/RPMS/python2-m2ext-0.1-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python2-m2ext-debuginfo-0.1-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python-m2ext-debugsource-0.1-20.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PMdDJD + umask 022 + cd /builddir/build/BUILD + cd m2ext-0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-m2ext-0.1-20.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0