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/multican.spec'], chrootPath='/var/lib/mock/f31-build-112755-34295/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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=1564012800 Wrote: /builddir/build/SRPMS/multican-0.0.5-23.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/multican.spec'], chrootPath='/var/lib/mock/f31-build-112755-34295/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A6eTvC + 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 . + echo 'Patch #0 (multican-usbid.patch):' Patch #0 (multican-usbid.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .usbid --fuzz=0 patching file usbio.h + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lSYv6E + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + make '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 -fPIC' cc -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 -c -o multican.o multican.c BUILDSTDERR: multican.c: In function 'main': BUILDSTDERR: multican.c:362:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 362 | fscanf(stdin, "%c", &ch); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from multican.c:35: BUILDSTDERR: At top level: BUILDSTDERR: canonio.h:256:3: warning: 'rel_param_entries' defined but not used [-Wunused-variable] BUILDSTDERR: 256 | } rel_param_entries[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from multican.c:34: BUILDSTDERR: usbio.h:193:3: warning: 'canon_status' defined but not used [-Wunused-variable] BUILDSTDERR: 193 | } canon_status[] = { BUILDSTDERR: | ^~~~~~~~~~~~ cc -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 -c -o usbio.o usbio.c BUILDSTDERR: usbio.c: In function 'usb_send_packet': BUILDSTDERR: usbio.c:211:11: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] BUILDSTDERR: 211 | put_le32(usb_packet, 0x10+argsize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: usbio.c:75:22: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 75 | void put_le32( char *b, unsigned v ) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: usbio.c:212:21: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] BUILDSTDERR: 212 | put_le32(usb_packet+0x48, 0x10+argsize); BUILDSTDERR: | ~~~~~~~~~~^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: usbio.c:75:22: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 75 | void put_le32( char *b, unsigned v ) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: usbio.c:216:21: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | put_le32(usb_packet+4, cmd3); BUILDSTDERR: | ~~~~~~~~~~^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: usbio.c:75:22: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 75 | void put_le32( char *b, unsigned v ) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: usbio.c:222:21: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] BUILDSTDERR: 222 | put_le32(usb_packet+0x4c, usb_sequence++); BUILDSTDERR: | ~~~~~~~~~~^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: usbio.c:75:22: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 75 | void put_le32( char *b, unsigned v ) { BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: usbio.c:233:30: warning: pointer targets in passing argument 3 of 'usb_write_bytes' differ in signedness [-Wpointer-sign] BUILDSTDERR: 233 | usb_write_bytes(c->h, 0x10, usb_packet, 0x50+argsize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: usbio.c:153:59: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 153 | void usb_write_bytes( usb_dev_handle *h, int value, char *bytes, int size ) { BUILDSTDERR: | ~~~~~~^~~~~ cc -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 -c -o canonio.o canonio.c BUILDSTDERR: In file included from canonio.c:34: BUILDSTDERR: usbio.h:193:3: warning: 'canon_status' defined but not used [-Wunused-variable] BUILDSTDERR: 193 | } canon_status[] = { BUILDSTDERR: | ^~~~~~~~~~~~ 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 -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 -lusb -lmultican -L. -o multican + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iGFlQB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 + cd multican-0.0.5 + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 + make BINDIR=/builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/bin LIBDIR=/builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/lib64 INCLDIR=/builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/include install install -d /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/bin install -m 755 multican /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/bin/ install -d /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/lib64 install -m 755 libmultican.so.0 /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/lib64/ cp -d libmultican.so /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/lib64/ install -d /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/include install -m 644 usbio.h canonio.h /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/include/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.5-23.fc31 --unique-debug-suffix -0.0.5-23.fc31.riscv64 --unique-debug-src-base multican-0.0.5-23.fc31.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-23.fc31.riscv64/usr/bin/multican explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/lib64/libmultican.so.0 extracting debug info from /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/bin/multican extracting debug info from /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/lib64/libmultican.so.0 original debug info size: 148kB, size after compression: 140kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 105 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 Processing files: multican-0.0.5-23.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ceNZ6D + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-23.fc31.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-23.fc31.riscv64/usr/share/doc/multican + cp -pr COPYING /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/share/doc/multican + cp -pr README /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/share/doc/multican + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libmultican.so.0()(64bit) multican = 0.0.5-23.fc31 multican(riscv-64) = 0.0.5-23.fc31 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-23.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zUPnVE + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-23.fc31.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-23.fc31.riscv64/usr/share/doc/multican-devel + cp -pr TODO /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/share/doc/multican-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64/usr/share/doc/multican-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: multican-devel = 0.0.5-23.fc31 multican-devel(riscv-64) = 0.0.5-23.fc31 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-23.fc31.riscv64 Provides: multican-debugsource = 0.0.5-23.fc31 multican-debugsource(riscv-64) = 0.0.5-23.fc31 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-23.fc31.riscv64 Provides: debuginfo(build-id) = 6e5d8c4d4061a3052c7838862d5858a07aaa35c6 debuginfo(build-id) = e0c8473cb03674f0e36e8247b04763a0eef898f9 multican-debuginfo = 0.0.5-23.fc31 multican-debuginfo(riscv-64) = 0.0.5-23.fc31 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-23.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 Wrote: /builddir/build/RPMS/multican-devel-0.0.5-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/multican-0.0.5-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/multican-debugsource-0.0.5-23.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/multican-debuginfo-0.0.5-23.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.l7axpC + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/multican-0.0.5-23.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0