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/ykushcmd.spec'], chrootPath='/var/lib/mock/f29-build-27103-14172/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/ykushcmd.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/ykushcmd-1.1.0-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ykushcmd.spec'], chrootPath='/var/lib/mock/f29-build-27103-14172/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/ykushcmd.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.QMooKc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ykush-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ykushcmd-1.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ykush-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.cpp' -o -name '*.h' + xargs chmod -x Patch #0 (0001-build-remove-a-duplicate-define.patch): + echo 'Patch #0 (0001-build-remove-a-duplicate-define.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #1 (0002-ykushcmd-drop-a-couple-of-unused-variables.patch):' Patch #1 (0002-ykushcmd-drop-a-couple-of-unused-variables.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ykushcmd/commandParser.cpp patching file ykushcmd/usbcom.cpp + echo 'Patch #2 (0003-ykushcmd-remove-an-unused-prototype.patch):' Patch #2 (0003-ykushcmd-remove-an-unused-prototype.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ykushcmd/usbcom.h Patch #3 (0004-ykushcmd-initialize-a-variable-before-use.patch): + echo 'Patch #3 (0004-ykushcmd-initialize-a-variable-before-use.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ykushcmd/usbcom.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k4bS1I + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + make -j4 'CPP=g++ -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 -I/usr/include/hidapi '\''-DDOCDIR="/usr/share/doc/ykushcmd"'\''' g++ -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 -I/usr/include/hidapi '-DDOCDIR="/usr/share/doc/ykushcmd"' -c ykushcmd/ykushcmd.cpp -o ykushcmd/objs/ykushcmd.o g++ -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 -I/usr/include/hidapi '-DDOCDIR="/usr/share/doc/ykushcmd"' -c ykushcmd/commandParser.cpp -o ykushcmd/objs/commandParser.o g++ -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 -I/usr/include/hidapi '-DDOCDIR="/usr/share/doc/ykushcmd"' -c ykushcmd/usbcom.cpp -o ykushcmd/objs/usbcom.o g++ -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 -I/usr/include/hidapi '-DDOCDIR="/usr/share/doc/ykushcmd"' -L/builddir/build/BUILD/ykush-1.1.0/ykushcmd/linux -o bin/ykushcmd ykushcmd/objs/ykushcmd.o ykushcmd/objs/commandParser.o ykushcmd/objs/usbcom.o -lhidapi-libusb -lusb-1.0 -ludev BUILDSTDERR: /usr/bin/ld: skipping incompatible /builddir/build/BUILD/ykush-1.1.0/ykushcmd/linux/libhidapi-libusb.so when searching for -lhidapi-libusb + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o8QrHx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64 + cd ykush-1.1.0 + mkdir -p /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/bin + install bin/ykushcmd /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-3.fc29 --unique-debug-suffix -1.1.0-3.fc29.riscv64 --unique-debug-src-base ykushcmd-1.1.0-3.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ykush-1.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/bin/ykushcmd extracting debug info from /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/bin/ykushcmd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 62 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ykushcmd-1.1.0-3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LHS9xC + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/share/doc/ykushcmd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/share/doc/ykushcmd + cp -pr README.md /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/share/doc/ykushcmd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uGtYK4 + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/share/licenses/ykushcmd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/share/licenses/ykushcmd + cp -pr LICENSE.md /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64/usr/share/licenses/ykushcmd + exit 0 Provides: ykushcmd = 1.1.0-3.fc29 ykushcmd(riscv-64) = 1.1.0-3.fc29 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) libgcc_s.so.1()(64bit) libhidapi-libusb.so.0()(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libudev.so.1()(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: ykushcmd-debugsource-1.1.0-3.fc29.riscv64 Provides: ykushcmd-debugsource = 1.1.0-3.fc29 ykushcmd-debugsource(riscv-64) = 1.1.0-3.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ykushcmd-debuginfo-1.1.0-3.fc29.riscv64 Provides: debuginfo(build-id) = 83d655a1ceb18552e3198510f9fbb9bbe5dcbc87 ykushcmd-debuginfo = 1.1.0-3.fc29 ykushcmd-debuginfo(riscv-64) = 1.1.0-3.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ykushcmd-debugsource(riscv-64) = 1.1.0-3.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64 Wrote: /builddir/build/RPMS/ykushcmd-1.1.0-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/ykushcmd-debugsource-1.1.0-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/ykushcmd-debuginfo-1.1.0-3.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aQpxav + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc29.riscv64 + exit 0 Child return code was: 0