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/gobi_loader.spec'], chrootPath='/var/lib/mock/f31-build-56610-28225/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gobi_loader.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=1548892800 Wrote: /builddir/build/SRPMS/gobi_loader-0.7-20.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gobi_loader.spec'], chrootPath='/var/lib/mock/f31-build-56610-28225/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gobi_loader.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=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S8i3mu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gobi_loader-0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/gobi_loader-0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gobi_loader-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|gcc -Wall|gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld|' Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9rR7ft + umask 022 + cd /builddir/build/BUILD + cd gobi_loader-0.7 + make -j4 BUILDSTDERR: gobi_loader.c: In function 'main': BUILDSTDERR: gobi_loader.c:191:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 191 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:192:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 192 | write (serialfd, magic1, sizeof(magic1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:193:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 193 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:195:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 195 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:196:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 196 | write (serialfd, magic2, sizeof(magic2)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:197:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 197 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:199:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 199 | write (serialfd, magic3, sizeof(magic3)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:204:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 204 | write (serialfd, fwdata, 1024*1024); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:206:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 206 | write (serialfd, fwdata, len-8); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:209:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 209 | write (serialfd, fwdata, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:229:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 229 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:230:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 230 | write (serialfd, magic4, sizeof(magic4)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:231:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 231 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:233:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 233 | write (serialfd, magic5, sizeof(magic5)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:238:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 238 | write (serialfd, fwdata, 1024*1024); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:240:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 240 | write (serialfd, fwdata, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:243:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 243 | write (serialfd, fwdata, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:267:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 267 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:268:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 268 | write (serialfd, magic6, sizeof(magic6)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:269:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 269 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:271:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 271 | write (serialfd, magic7, sizeof(magic7)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:276:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 276 | write (serialfd, fwdata, 1024*1024); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:278:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 278 | write (serialfd, fwdata, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:281:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 281 | write (serialfd, fwdata, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:288:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 288 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:289:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 289 | write (serialfd, magic8, sizeof(magic8)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gobi_loader.c:290:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 290 | write (serialfd, "\x7e", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gobi_loader.c -o gobi_loader Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QA24dw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 + cd gobi_loader-0.7 + make install prefix=/builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 BUILDSTDERR: make: udevadm: Command not found BUILDSTDERR: make: [Makefile:12: install] Error 127 (ignored) + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7-20.fc31 --unique-debug-suffix -0.7-20.fc31.riscv64 --unique-debug-src-base gobi_loader-0.7-20.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gobi_loader-0.7 BUILDSTDERR: 17 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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./lib/udev/rules.d/60-gobi.rules is executable but has empty or no shebang, removing executable bit install -D gobi_loader /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/lib/udev/gobi_loader install -D 60-gobi.rules /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/lib/udev/rules.d/60-gobi.rules mkdir -p /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/lib/firmware udevadm control --reload-rules explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/lib/udev/gobi_loader extracting debug info from /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/lib/udev/gobi_loader original debug info size: 48kB, size after compression: 52kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: gobi_loader-0.7-20.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.066Yus + umask 022 + cd /builddir/build/BUILD + cd gobi_loader-0.7 + DOCDIR=/builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/usr/share/doc/gobi_loader + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/usr/share/doc/gobi_loader + cp -pr README /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64/usr/share/doc/gobi_loader + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: gobi_loader = 0.7-20.fc31 gobi_loader(riscv-64) = 0.7-20.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) rtld(GNU_HASH) Processing files: gobi_loader-debugsource-0.7-20.fc31.riscv64 Provides: gobi_loader-debugsource = 0.7-20.fc31 gobi_loader-debugsource(riscv-64) = 0.7-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gobi_loader-debuginfo-0.7-20.fc31.riscv64 Provides: debuginfo(build-id) = 26c15bdf4afe08806cd3112da7c27d0839f9ea42 gobi_loader-debuginfo = 0.7-20.fc31 gobi_loader-debuginfo(riscv-64) = 0.7-20.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gobi_loader-debugsource(riscv-64) = 0.7-20.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 Wrote: /builddir/build/RPMS/gobi_loader-debugsource-0.7-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/gobi_loader-0.7-20.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/gobi_loader-debuginfo-0.7-20.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PIltXw + umask 022 + cd /builddir/build/BUILD + cd gobi_loader-0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gobi_loader-0.7-20.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0