Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ykushcmd.spec'], chrootPath='/var/lib/mock/f30-build-36408-20565/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ykushcmd-1.1.0-3.fc30.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/f30-build-36408-20565/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G7HCne + 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 + echo 'Patch #0 (0001-build-remove-a-duplicate-define.patch):' 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 Patch #2 (0003-ykushcmd-remove-an-unused-prototype.patch): + echo 'Patch #2 (0003-ykushcmd-remove-an-unused-prototype.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ykushcmd/usbcom.h + echo 'Patch #3 (0004-ykushcmd-initialize-a-variable-before-use.patch):' 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.J2SWz4 + 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.OPL2C7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64 + cd ykush-1.1.0 + mkdir -p /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64/usr/bin + install bin/ykushcmd /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-3.fc30 --unique-debug-suffix -1.1.0-3.fc30.riscv64 --unique-debug-src-base ykushcmd-1.1.0-3.fc30.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.fc30.riscv64/usr/bin/ykushcmd extracting debug info from /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ykushcmd-1.1.0-3.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0C9QZQ + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.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.fc30.riscv64/usr/share/doc/ykushcmd + cp -pr README.md /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64/usr/share/doc/ykushcmd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2807rO + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.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.fc30.riscv64/usr/share/licenses/ykushcmd + cp -pr LICENSE.md /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64/usr/share/licenses/ykushcmd + exit 0 Provides: ykushcmd = 1.1.0-3.fc30 ykushcmd(riscv-64) = 1.1.0-3.fc30 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.fc30.riscv64 Provides: ykushcmd-debugsource = 1.1.0-3.fc30 ykushcmd-debugsource(riscv-64) = 1.1.0-3.fc30 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.fc30.riscv64 Provides: debuginfo(build-id) = 50cb9891df87230d9570b1db80ddc786a84dca52 ykushcmd-debuginfo = 1.1.0-3.fc30 ykushcmd-debuginfo(riscv-64) = 1.1.0-3.fc30 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.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64 Wrote: /builddir/build/RPMS/ykushcmd-1.1.0-3.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ykushcmd-debugsource-1.1.0-3.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ykushcmd-debuginfo-1.1.0-3.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IvkXoS + umask 022 + cd /builddir/build/BUILD + cd ykush-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ykushcmd-1.1.0-3.fc30.riscv64 + exit 0 Child return code was: 0