Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gobi_loader.spec'], chrootPath='/var/lib/mock/f37-build-670944-75154/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/gobi_loader-0.7-27.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gobi_loader.spec'], chrootPath='/var/lib/mock/f37-build-670944-75154/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T3w3hH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gobi_loader-0.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gobi_loader-0.7.tar.gz + 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes|' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2fWnCt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gobi_loader-0.7 + make -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gobi_loader.c -o gobi_loader gobi_loader.c: In function 'main': gobi_loader.c:191:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:192:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | write (serialfd, magic1, sizeof(magic1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:193:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 193 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:195:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:196:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 196 | write (serialfd, magic2, sizeof(magic2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:197:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:199:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | write (serialfd, magic3, sizeof(magic3)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:204:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | write (serialfd, fwdata, 1024*1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:206:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | write (serialfd, fwdata, len-8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:209:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | write (serialfd, fwdata, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:229:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:230:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | write (serialfd, magic4, sizeof(magic4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:231:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:233:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | write (serialfd, magic5, sizeof(magic5)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:238:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | write (serialfd, fwdata, 1024*1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:240:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 240 | write (serialfd, fwdata, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:243:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 243 | write (serialfd, fwdata, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:267:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 267 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:268:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | write (serialfd, magic6, sizeof(magic6)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:269:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 269 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:271:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | write (serialfd, magic7, sizeof(magic7)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:276:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 276 | write (serialfd, fwdata, 1024*1024); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:278:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 278 | write (serialfd, fwdata, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:281:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 281 | write (serialfd, fwdata, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:288:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:289:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | write (serialfd, magic8, sizeof(magic8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gobi_loader.c:290:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | write (serialfd, "\x7e", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XRWwfV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gobi_loader-0.7 + make install prefix=/builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 install -D gobi_loader /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64/lib/udev/gobi_loader install -D 60-gobi.rules /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64/lib/udev/rules.d/60-gobi.rules mkdir -p /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64/lib/firmware udevadm control --reload-rules make: udevadm: No such file or directory make: [Makefile:12: install] Error 127 (ignored) + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.7-27.fc37 --unique-debug-suffix -0.7-27.fc37.riscv64 --unique-debug-src-base gobi_loader-0.7-27.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gobi_loader-0.7 extracting debug info from /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64/lib/udev/gobi_loader original debug info size: 72kB, size after compression: 76kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 17 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./lib/udev/rules.d/60-gobi.rules is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: gobi_loader-0.7-27.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pJRJzv + umask 022 + cd /builddir/build/BUILD + cd gobi_loader-0.7 + DOCDIR=/builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.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-27.fc37.riscv64/usr/share/doc/gobi_loader + cp -pr README /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64/usr/share/doc/gobi_loader + RPM_EC=0 ++ jobs -p + exit 0 Provides: gobi_loader = 0.7-27.fc37 gobi_loader(riscv-64) = 0.7-27.fc37 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: gobi_loader-debugsource-0.7-27.fc37.riscv64 Provides: gobi_loader-debugsource = 0.7-27.fc37 gobi_loader-debugsource(riscv-64) = 0.7-27.fc37 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-27.fc37.riscv64 Provides: debuginfo(build-id) = 50fce18e8ee90ca96138c40dbe9e6a43240050fa gobi_loader-debuginfo = 0.7-27.fc37 gobi_loader-debuginfo(riscv-64) = 0.7-27.fc37 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-27.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 Wrote: /builddir/build/RPMS/gobi_loader-0.7-27.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/gobi_loader-debugsource-0.7-27.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/gobi_loader-debuginfo-0.7-27.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fXheYv + umask 022 + cd /builddir/build/BUILD + cd gobi_loader-0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gobi_loader-0.7-27.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.muCPA8 + umask 022 + cd /builddir/build/BUILD + rm -rf gobi_loader-0.7 gobi_loader-0.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0