+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/multican.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e8n1Oh + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RuQDli + 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 -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 -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 [-Wunused-result] fscanf(stdin, "%c", &ch); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from multican.c:35:0: At top level: canonio.h:256:3: warning: 'rel_param_entries' defined but not used [-Wunused-variable] } rel_param_entries[] = { ^~~~~~~~~~~~~~~~~ In file included from multican.c:34:0: usbio.h:193:3: warning: 'canon_status' defined but not used [-Wunused-variable] } canon_status[] = { ^~~~~~~~~~~~ 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 -fPIC -c -o usbio.o usbio.c usbio.c: In function 'usb_send_packet': usbio.c:211:11: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] put_le32(usb_packet, 0x10+argsize); ^~~~~~~~~~ usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' void put_le32( char *b, unsigned v ) { ^~~~~~~~ usbio.c:212:11: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] put_le32(usb_packet+0x48, 0x10+argsize); ^~~~~~~~~~ usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' void put_le32( char *b, unsigned v ) { ^~~~~~~~ usbio.c:216:11: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] put_le32(usb_packet+4, cmd3); ^~~~~~~~~~ usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' void put_le32( char *b, unsigned v ) { ^~~~~~~~ usbio.c:222:11: warning: pointer targets in passing argument 1 of 'put_le32' differ in signedness [-Wpointer-sign] put_le32(usb_packet+0x4c, usb_sequence++); ^~~~~~~~~~ usbio.c:75:6: note: expected 'char *' but argument is of type 'unsigned char *' void put_le32( char *b, unsigned v ) { ^~~~~~~~ usbio.c:233:30: warning: pointer targets in passing argument 3 of 'usb_write_bytes' differ in signedness [-Wpointer-sign] usb_write_bytes(c->h, 0x10, usb_packet, 0x50+argsize); ^~~~~~~~~~ usbio.c:153:6: note: expected 'char *' but argument is of type 'unsigned char *' void usb_write_bytes( usb_dev_handle *h, int value, char *bytes, int size ) { ^~~~~~~~~~~~~~~ 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 -fPIC -c -o canonio.o canonio.c In file included from canonio.c:34:0: usbio.h:193:3: warning: 'canon_status' defined but not used [-Wunused-variable] } 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 -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 -fPIC -lusb -lmultican -L. -o multican + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9GPxLc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 + cd multican-0.0.5 + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 + make BINDIR=/builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/bin LIBDIR=/builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/lib64 INCLDIR=/builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/include install install -d /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/bin install -m 755 multican /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/bin/ install -d /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/lib64 install -m 755 libmultican.so.0 /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/lib64/ cp -d libmultican.so /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/lib64/ install -d /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/include install -m 644 usbio.h canonio.h /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/include/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: multican-0.0.5-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lNavB2 + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-19.fc28.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-19.fc28.riscv64/usr/share/doc/multican + cp -pr COPYING /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/share/doc/multican + cp -pr README /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/share/doc/multican + exit 0 Provides: libmultican.so.0()(64bit) multican = 0.0.5-19.fc28 multican(riscv-64) = 0.0.5-19.fc28 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-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.97blCL + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + DOCDIR=/builddir/build/BUILDROOT/multican-0.0.5-19.fc28.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-19.fc28.riscv64/usr/share/doc/multican-devel + cp -pr TODO /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/share/doc/multican-devel + cp -pr ChangeLog /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64/usr/share/doc/multican-devel + exit 0 Provides: multican-devel = 0.0.5-19.fc28 multican-devel(riscv-64) = 0.0.5-19.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libmultican.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/multican-0.0.5-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/multican-0.0.5-19.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/multican-devel-0.0.5-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.adHSwJ + umask 022 + cd /builddir/build/BUILD + cd multican-0.0.5 + rm -rf /builddir/build/BUILDROOT/multican-0.0.5-19.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff