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/multican.spec'], chrootPath='/var/lib/mock/f30-build-40856-22847/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/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 Wrote: /builddir/build/SRPMS/multican-0.0.5-21.fc30.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/f30-build-40856-22847/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/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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VIHeD7 + 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 . Patch #0 (multican-usbid.patch): + echo 'Patch #0 (multican-usbid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .usbid --fuzz=0 patching file usbio.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JtSIcs + 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: 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: } 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: } 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: put_le32(usb_packet, 0x10+argsize); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 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: put_le32(usb_packet+0x48, 0x10+argsize); BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 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: put_le32(usb_packet+4, cmd3); BUILDSTDERR: ~~~~~~~~~~^~ BUILDSTDERR: usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 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: put_le32(usb_packet+0x4c, usb_sequence++); BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 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: usb_write_bytes(c->h, 0x10, usb_packet, 0x50+argsize); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: usbio.c:153:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 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: } 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zixFho + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 + cd multican-0.0.5 + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 + make BINDIR=/builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/bin LIBDIR=/builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/lib64 INCLDIR=/builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/include install install -d /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/bin install -m 755 multican /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/bin/ install -d /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/lib64 install -m 755 libmultican.so.0 /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/lib64/ cp -d libmultican.so /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/lib64/ install -d /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/include install -m 644 usbio.h canonio.h /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/include/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.5-21.fc30 --unique-debug-suffix -0.0.5-21.fc30.riscv64 --unique-debug-src-base multican-0.0.5-21.fc30.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-21.fc30.riscv64/usr/bin/multican explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/lib64/libmultican.so.0 extracting debug info from /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/bin/multican extracting debug info from /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/lib64/libmultican.so.0 /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 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: multican-0.0.5-21.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Chyuuv + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-21.fc30.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-21.fc30.riscv64/usr/share/doc/multican + cp -pr COPYING /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/share/doc/multican + cp -pr README /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/share/doc/multican + exit 0 Provides: libmultican.so.0()(64bit) multican = 0.0.5-21.fc30 multican(riscv-64) = 0.0.5-21.fc30 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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-21.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.49obt5 + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-21.fc30.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-21.fc30.riscv64/usr/share/doc/multican-devel + cp -pr TODO /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/share/doc/multican-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64/usr/share/doc/multican-devel + exit 0 Provides: multican-devel = 0.0.5-21.fc30 multican-devel(riscv-64) = 0.0.5-21.fc30 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-21.fc30.riscv64 Provides: multican-debugsource = 0.0.5-21.fc30 multican-debugsource(riscv-64) = 0.0.5-21.fc30 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-21.fc30.riscv64 Provides: debuginfo(build-id) = 7deee847c2ab6eac6549d97d9e9e528fcbb15bd7 debuginfo(build-id) = d647daeecd0ebaa054a8047adf868635f10bc1c0 multican-debuginfo = 0.0.5-21.fc30 multican-debuginfo(riscv-64) = 0.0.5-21.fc30 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-21.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 Wrote: /builddir/build/RPMS/multican-0.0.5-21.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/multican-devel-0.0.5-21.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/multican-debugsource-0.0.5-21.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/multican-debuginfo-0.0.5-21.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6A33CR + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/multican-0.0.5-21.fc30.riscv64 + exit 0 Child return code was: 0