Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/irda-utils.spec'], chrootPath='/var/lib/mock/f29-build-21705-11334/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/irda-utils.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/irda-utils-0.9.18-33.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/irda-utils.spec'], chrootPath='/var/lib/mock/f29-build-21705-11334/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/irda-utils.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.7P4iPq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf irda-utils-0.9.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/irda-utils-0.9.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd irda-utils-0.9.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (irda-utils-0.9.17-rootonly.patch):' Patch #1 (irda-utils-0.9.17-rootonly.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file irdadump/main.c + echo 'Patch #2 (irda-utils-0.9.15-rh1.patch):' Patch #2 (irda-utils-0.9.15-rh1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file irattach/irattach.c Hunk #1 succeeded at 670 (offset 56 lines). + echo 'Patch #3 (irda-utils-0.9.16-io.patch):' Patch #3 (irda-utils-0.9.16-io.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file findchip/nsc.c patching file findchip/smc.c patching file findchip/winbond.c + echo 'Patch #4 (irda-utils-0.9.17-makefile.patch):' Patch #4 (irda-utils-0.9.17-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file irdadump/Makefile patching file irnetd/Makefile patching file Makefile patching file psion/Makefile + echo 'Patch #6 (irda-utils-0.9.18-root.patch):' Patch #6 (irda-utils-0.9.18-root.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file etc/install-etc + gunzip man/irnet.4.gz man/irda.7.gz + echo 'Patch #7 (irda-utils-0.9.18-man.patch):' Patch #7 (irda-utils-0.9.18-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/irda.7 patching file man/irnet.4 + gzip -9 man/irnet.4 man/irda.7 + echo 'Patch #8 (irda-utils-0.9.18-PIE.patch):' Patch #8 (irda-utils-0.9.18-PIE.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file findchip/Makefile patching file irattach/Makefile patching file irdadump/Makefile patching file irdaping/Makefile patching file irnetd/Makefile patching file psion/Makefile patching file tekram/Makefile + echo 'Patch #9 (irda-utils-0.9.18-no-inline.patch):' Patch #9 (irda-utils-0.9.18-no-inline.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file irdadump/irdadump.c patching file irdadump/irdadump.h patching file irdadump/irlap.c patching file irdadump/irlmp.c patching file irdadump/obex.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Mmxh0U + umask 022 + cd /builddir/build/BUILD + cd irda-utils-0.9.18 + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make all 'RPM_OPT_FLAGS=-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 -std=gnu89' ROOT=/builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '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' -j4 [CC] util.c [CC] irattach.c [CC] dongle_attach.c BUILDSTDERR: dongle_attach.c: In function 'main': BUILDSTDERR: dongle_attach.c:118:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: ifr.ifr_data = (void *) dongle; BUILDSTDERR: ^ BUILDSTDERR: irattach.c: In function 'attach_dongle': BUILDSTDERR: irattach.c:616:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: ifr.ifr_data = (void *) dongle; BUILDSTDERR: ^ BUILDSTDERR: irattach.c: In function 'main': BUILDSTDERR: irattach.c:657:6: warning: variable 'modname' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int modname = 0; /* True is first arg is a module name */ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: irattach.c: In function 'get_devlist': BUILDSTDERR: irattach.c:327:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff, sizeof(buff), fh); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: irattach.c:328:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buff, sizeof(buff), fh); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] dongle_attach [CC] irattach [CC] irdaping.c [CC] irdaping [CC] irnetd.c BUILDSTDERR: irnetd.c: In function 'main': BUILDSTDERR: irnetd.c:84:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(line, 255, irnet); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ [CC] irnetd [CC] irpsion5 BUILDSTDERR: irpsion5.c: In function 'sendfile': BUILDSTDERR: irpsion5.c:273:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: fprintf(stderr,"rc = %d, strlen=%d\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: rc, strlen(buf)); BUILDSTDERR: ~~~~~~~~~~~ [CC] irkbd.c BUILDSTDERR: irkbd.c: In function 'irkbd_handle_mouse': BUILDSTDERR: irkbd.c:302:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(self->fifo, &scancode, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CC] irkbd [CC] smc.c [CC] findchip.c [CC] nsc.c [CC] winbond.c BUILDSTDERR: winbond.c:35:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: findchip.c:37:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:45: winbond.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[1]: *** [Makefile:45: findchip.o] Error 1 BUILDSTDERR: smc.c:35:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: nsc.c:36:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:45: smc.o] Error 1 BUILDSTDERR: make[1]: *** [Makefile:45: nsc.o] Error 1 BUILDSTDERR: make: [Makefile:35: all] Error 2 (ignored) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.E8tkYy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 + cd irda-utils-0.9.18 + rm -rf /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 + for dir in /usr/sbin /usr/bin /etc/rc.d/init.d /etc/sysconfig + install -d /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/sbin + for dir in /usr/sbin /usr/bin /etc/rc.d/init.d /etc/sysconfig + install -d /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/bin + for dir in /usr/sbin /usr/bin /etc/rc.d/init.d /etc/sysconfig + install -d /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/etc/rc.d/init.d + for dir in /usr/sbin /usr/bin /etc/rc.d/init.d /etc/sysconfig + install -d /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/etc/sysconfig + make install ROOT=/builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 MANDIR=/builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64//usr/share/man [INSTALL] irattach [INSTALL] irdaping [INSTALL] etc [INSTALL] man-pages [INSTALL] irnetd [INSTALL] irpsion5 [INSTALL] irkbd [CC] findchip.c BUILDSTDERR: findchip.c:37:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: #include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:45: findchip.o] Error 1 BUILDSTDERR: make: [Makefile:39: install] Error 2 (ignored) + rm -f /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64//etc/rc.d/init.d/irda + install -d /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/lib/systemd/system + install -p -m644 /builddir/build/SOURCES/irda.service /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/lib/systemd/system/irda.service + install -p -m644 /builddir/build/SOURCES/irda.sysconfig /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64//etc/sysconfig/irda + rm -f /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64//etc/sysconfig/network-scripts/ifcfg-irlan0 + for i in irattach irdadump irdaping tekram + '[' -f irattach/README ']' + ln irattach/README README.irattach + for i in irattach irdadump irdaping tekram + '[' -f irdadump/README ']' + ln irdadump/README README.irdadump + for i in irattach irdadump irdaping tekram + '[' -f irdaping/README ']' + ln irdaping/README README.irdaping + for i in irattach irdadump irdaping tekram + '[' -f tekram/README ']' + ln tekram/README README.tekram + iconv -f ISO8859-1 -t UTF-8 + mv -f README.irdadump.new README.irdadump + mv etc/modules.conf.irda etc/modprobe.conf.irda + chmod -x etc/ifcfg-irlan0 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.18-33.fc29 --unique-debug-suffix -0.9.18-33.fc29.riscv64 --unique-debug-src-base irda-utils-0.9.18-33.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/irda-utils-0.9.18 extracting debug info from /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/bin/irkbd extracting debug info from /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/bin/irpsion5 extracting debug info from /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/sbin/irattach extracting debug info from /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/sbin/irdaping extracting debug info from /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/sbin/dongle_attach extracting debug info from /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/sbin/irnetd /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. BUILDSTDERR: 140 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: irda-utils-0.9.18-33.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hWIYPI + umask 022 + cd /builddir/build/BUILD + cd irda-utils-0.9.18 + DOCDIR=/builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/share/doc/irda-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/share/doc/irda-utils + cp -pr README README.irattach README.irdadump README.irdaping README.tekram /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/share/doc/irda-utils + cp -pr etc/ifcfg-irlan0 /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/share/doc/irda-utils + cp -pr etc/modprobe.conf.irda /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64/usr/share/doc/irda-utils + exit 0 Provides: config(irda-utils) = 0.9.18-33.fc29 irda-utils = 0.9.18-33.fc29 irda-utils(riscv-64) = 0.9.18-33.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units 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) rtld(GNU_HASH) Processing files: irda-utils-debugsource-0.9.18-33.fc29.riscv64 Provides: irda-utils-debugsource = 0.9.18-33.fc29 irda-utils-debugsource(riscv-64) = 0.9.18-33.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: irda-utils-debuginfo-0.9.18-33.fc29.riscv64 Provides: debuginfo(build-id) = 019931ae027d212b896e519b821c0eac05c233fe debuginfo(build-id) = 0de315488ff8f5f54745294a8706087d88542d12 debuginfo(build-id) = 5d1fbe9a1c4ba8b90e0ac70fb8c1a3b854e69500 debuginfo(build-id) = aaa17a22399907456d2cc0909c8d53688b91ab2f debuginfo(build-id) = b8ade207bad8e19d4725ba06b2a7a61769b7da8f debuginfo(build-id) = cbc365fa2d958921bf143dd1b2059c9aec118d77 irda-utils-debuginfo = 0.9.18-33.fc29 irda-utils-debuginfo(riscv-64) = 0.9.18-33.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: irda-utils-debugsource(riscv-64) = 0.9.18-33.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 Wrote: /builddir/build/RPMS/irda-utils-0.9.18-33.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/irda-utils-debugsource-0.9.18-33.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/irda-utils-debuginfo-0.9.18-33.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EiIHp7 + umask 022 + cd /builddir/build/BUILD + cd irda-utils-0.9.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/irda-utils-0.9.18-33.fc29.riscv64 + exit 0 Child return code was: 0