Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/multican.spec'], chrootPath='/var/lib/mock/f33-build-297103-55830/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=432000uid=987gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ayvv14_:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ayvv14_:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8d20958f11494fed93a244900ab09c22', '-D', '/var/lib/mock/f33-build-297103-55830/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ayvv14_:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/multican.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=1595894400 Wrote: /builddir/build/SRPMS/multican-0.0.5-26.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/multican.spec'], chrootPath='/var/lib/mock/f33-build-297103-55830/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=432000uid=987gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ayvv14_:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ayvv14_:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3305850374a445fea73584a1c51b6fbb', '-D', '/var/lib/mock/f33-build-297103-55830/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4ayvv14_:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/multican.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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kC8Kev + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf multican-0.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/multican-0.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd multican-0.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/multican-usbid.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/multican-gcc10.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QpR9vv + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -o multican.o multican.c multican.c: In function 'main': multican.c:362:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 362 | fscanf(stdin, "%c", &ch); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from multican.c:35: At top level: canonio.h:256:3: warning: 'rel_param_entries' defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 256 | } rel_param_entries[] = { | ^~~~~~~~~~~~~~~~~ In file included from multican.c:34: usbio.h:193:3: warning: 'canon_status' defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 193 | } canon_status[] = { | ^~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -o usbio.o usbio.c usbio.c: In function 'usb_send_packet': usbio.c:212:11: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 212 | put_le32(usb_packet, 0x10+argsize); | ^~~~~~~~~~ | | | unsigned char * usbio.c:76:22: note: expected 'char *' but argument is of type 'unsigned char *' 76 | void put_le32( char *b, unsigned v ) { | ~~~~~~^ usbio.c:213:21: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | put_le32(usb_packet+0x48, 0x10+argsize); | ~~~~~~~~~~^~~~~ | | | unsigned char * usbio.c:76:22: note: expected 'char *' but argument is of type 'unsigned char *' 76 | void put_le32( char *b, unsigned v ) { | ~~~~~~^ usbio.c:217:21: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 217 | put_le32(usb_packet+4, cmd3); | ~~~~~~~~~~^~ | | | unsigned char * usbio.c:76:22: note: expected 'char *' but argument is of type 'unsigned char *' 76 | void put_le32( char *b, unsigned v ) { | ~~~~~~^ usbio.c:223:21: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 223 | put_le32(usb_packet+0x4c, usb_sequence++); | ~~~~~~~~~~^~~~~ | | | unsigned char * usbio.c:76:22: note: expected 'char *' but argument is of type 'unsigned char *' 76 | void put_le32( char *b, unsigned v ) { | ~~~~~~^ usbio.c:234:30: warning: pointer targets in passing argument 3 of 'usb_write_bytes' differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 234 | usb_write_bytes(c->h, 0x10, usb_packet, 0x50+argsize); | ^~~~~~~~~~ | | | unsigned char * usbio.c:154:59: note: expected 'char *' but argument is of type 'unsigned char *' 154 | void usb_write_bytes( usb_dev_handle *h, int value, char *bytes, int size ) { | ~~~~~~^~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -o canonio.o canonio.c In file included from canonio.c:34: usbio.h:193:3: warning: 'canon_status' defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 193 | } canon_status[] = { | ^~~~~~~~~~~~ cc -shared -Wl,-soname,libmultican.so.0,-hash-style=both -o libmultican.so.0 usbio.o canonio.o -lc ln -sf libmultican.so.0 libmultican.so cc multican.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -lusb -lmultican -L. -o multican + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WmU9Qv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 + cd multican-0.0.5 + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 + make BINDIR=/builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/bin LIBDIR=/builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/lib64 INCLDIR=/builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/include install install -d /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/bin install -m 755 multican /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/bin/ install -d /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/lib64 install -m 755 libmultican.so.0 /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/lib64/ cp -d libmultican.so /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/lib64/ install -d /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/include install -m 644 usbio.h canonio.h /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/include/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.5-26.fc33 --unique-debug-suffix -0.0.5-26.fc33.riscv64 --unique-debug-src-base multican-0.0.5-26.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/multican-0.0.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/bin/multican explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/lib64/libmultican.so.0 extracting debug info from /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/bin/multican extracting debug info from /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/lib64/libmultican.so.0 original debug info size: 284kB, size after compression: 284kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 105 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: multican-0.0.5-26.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aOkflx + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican + cp -pr COPYING /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican + cp -pr README /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmultican.so.0()(64bit) multican = 0.0.5-26.fc33 multican(riscv-64) = 0.0.5-26.fc33 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) libmultican.so.0()(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: multican-devel-0.0.5-26.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xSxBZt + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican-devel + cp -pr TODO /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64/usr/share/doc/multican-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: multican-devel = 0.0.5-26.fc33 multican-devel(riscv-64) = 0.0.5-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libmultican.so.0()(64bit) Processing files: multican-debugsource-0.0.5-26.fc33.riscv64 Provides: multican-debugsource = 0.0.5-26.fc33 multican-debugsource(riscv-64) = 0.0.5-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: multican-debuginfo-0.0.5-26.fc33.riscv64 Provides: debuginfo(build-id) = a7cd8361223cc443f7aca8177e15614ed829f235 debuginfo(build-id) = da69a819bfbefbf9016d379f530dde4066d41d7b multican-debuginfo = 0.0.5-26.fc33 multican-debuginfo(riscv-64) = 0.0.5-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: multican-debugsource(riscv-64) = 0.0.5-26.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 Wrote: /builddir/build/RPMS/multican-debugsource-0.0.5-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/multican-devel-0.0.5-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/multican-0.0.5-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/multican-debuginfo-0.0.5-26.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WlZV0t + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/multican-0.0.5-26.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0