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-virtkey.spec'], chrootPath='/var/lib/mock/f31-build-87267-31755/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-virtkey.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=1564099200 Wrote: /builddir/build/SRPMS/python-virtkey-0.63.0-12.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-virtkey.spec'], chrootPath='/var/lib/mock/f31-build-87267-31755/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-virtkey.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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fr0ZW1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf virtkey-0.63.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/virtkey-0.63.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd virtkey-0.63.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv docs/api.txt api.txt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GT44Y1 + umask 022 + cd /builddir/build/BUILD + cd virtkey-0.63.0 + 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/python-virtkey.c: In function ‘virtkey_new’: BUILDSTDERR: src/python-virtkey.c:101:13: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 101 | KeySym ks = XKeycodeToKeysym(object->display, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from src/python-virtkey.h:35, BUILDSTDERR: from src/python-virtkey.c:27: BUILDSTDERR: /usr/include/X11/Xlib.h:1687:15: note: declared here BUILDSTDERR: 1687 | extern KeySym XKeycodeToKeysym( BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/python-virtkey.c: In function ‘keysym2keycode’: BUILDSTDERR: src/python-virtkey.c:214:9: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 214 | if (XKeycodeToKeysym(cvirt->display, code, 0) != keysym) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from src/python-virtkey.h:35, BUILDSTDERR: from src/python-virtkey.c:27: BUILDSTDERR: /usr/include/X11/Xlib.h:1687:15: note: declared here BUILDSTDERR: 1687 | extern KeySym XKeycodeToKeysym( BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/python-virtkey.c:217:13: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 217 | if (XKeycodeToKeysym(cvirt->display, code, 1) == keysym) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from src/python-virtkey.h:35, BUILDSTDERR: from src/python-virtkey.c:27: BUILDSTDERR: /usr/include/X11/Xlib.h:1687:15: note: declared here BUILDSTDERR: 1687 | extern KeySym XKeycodeToKeysym( BUILDSTDERR: | ^~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_ext building 'virtkey' 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 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/python3.7m -c src/python-virtkey.c -o build/temp.linux-riscv64-3.7/src/python-virtkey.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 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/python3.7m -c src/ucs2keysym.c -o build/temp.linux-riscv64-3.7/src/ucs2keysym.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/python-virtkey.o build/temp.linux-riscv64-3.7/src/ucs2keysym.o -L/usr/lib64 -lX11 -lXtst -lgobject-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lglib-2.0 -lpangocairo-1.0 -lxkbfile -lpython3.7m -o build/lib.linux-riscv64-3.7/virtkey.cpython-37m-riscv64-linux-gnu.so -pthread Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AsSn50 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64 + cd virtkey-0.63.0 + 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-virtkey-0.63.0-12.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.63.0-12.fc31 --unique-debug-suffix -0.63.0-12.fc31.riscv64 --unique-debug-src-base python-virtkey-0.63.0-12.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/virtkey-0.63.0 BUILDSTDERR: 209 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/python-virtkey-0.63.0-12.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/virtkey.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7/site-packages/virtkey-0.63.0-py3.7.egg-info explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7/site-packages/virtkey.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7/site-packages/virtkey.cpython-37m-riscv64-linux-gnu.so original debug info size: 132kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Processing files: python3-virtkey-0.63.0-12.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5a5XPZ + umask 022 + cd /builddir/build/BUILD + cd virtkey-0.63.0 + DOCDIR=/builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/doc/python3-virtkey + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/doc/python3-virtkey + cp -pr README /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/doc/python3-virtkey + cp -pr NEWS /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/doc/python3-virtkey + cp -pr AUTHORS /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/doc/python3-virtkey + cp -pr api.txt /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/doc/python3-virtkey + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vYoWf3 + umask 022 + cd /builddir/build/BUILD + cd virtkey-0.63.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/licenses/python3-virtkey + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/licenses/python3-virtkey + cp -pr COPYING /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64/usr/share/licenses/python3-virtkey + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-virtkey = 0.63.0-12.fc31 python3-virtkey = 0.63.0-12.fc31 python3-virtkey(riscv-64) = 0.63.0-12.fc31 python3.7dist(virtkey) = 0.63 python3dist(virtkey) = 0.63 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) libX11.so.6()(64bit) libXtst.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgdk-x11-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libpython3.7m.so.1.0()(64bit) libxkbfile.so.1()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-virtkey < 0.63.0-12.fc31 Processing files: python-virtkey-debugsource-0.63.0-12.fc31.riscv64 Provides: python-virtkey-debugsource = 0.63.0-12.fc31 python-virtkey-debugsource(riscv-64) = 0.63.0-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-virtkey-debuginfo-0.63.0-12.fc31.riscv64 Provides: debuginfo(build-id) = efb8aeb644b112d752c7e261b2c843c659da8d99 python3-virtkey-debuginfo = 0.63.0-12.fc31 python3-virtkey-debuginfo(riscv-64) = 0.63.0-12.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-virtkey-debugsource(riscv-64) = 0.63.0-12.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64 Wrote: /builddir/build/RPMS/python3-virtkey-0.63.0-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python-virtkey-debugsource-0.63.0-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-virtkey-debuginfo-0.63.0-12.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BDNaz1 + umask 022 + cd /builddir/build/BUILD + cd virtkey-0.63.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-virtkey-0.63.0-12.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0