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/flterm.spec'], chrootPath='/var/lib/mock/f31-build-97379-32936/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/flterm.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=1564012800 Wrote: /builddir/build/SRPMS/flterm-1.2-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flterm.spec'], chrootPath='/var/lib/mock/f31-build-97379-32936/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flterm.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rvSm1u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf milkymist-Release_1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/milkymist-Release_1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd milkymist-Release_1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (flterm-1.2-use-rpm-opt-flags-debug-empty.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (flterm-1.2-use-rpm-opt-flags-debug-empty.patch): patching file tools/Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sF4g5t + umask 022 + cd /builddir/build/BUILD + cd milkymist-Release_1.2 + cd tools + make CC=gcc flterm BUILDSTDERR: flterm.c: In function 'do_terminal': BUILDSTDERR: flterm.c:479:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 479 | write(serialfd, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c:503:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 503 | write(gdbfd, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c:508:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 508 | write(0, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c: In function 'gdb_process_packet': BUILDSTDERR: flterm.c:334:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 334 | write(altfd, gdbbuf, pos); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c:340:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 340 | write(altfd, gdbbuf, pos); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c:344:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 344 | read(infd, &c, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c:365:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 365 | write(outfd, gdbbuf, pos); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c:368:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 368 | write(altfd, gdbbuf, pos); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: flterm.c: In function 'send_frame': BUILDSTDERR: flterm.c:124:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 124 | read(serialfd, &reply, 1); /* TODO: timeout */ 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 -I. -o flterm flterm.c Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ESq9vt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64 + cd milkymist-Release_1.2 + install -d /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64/usr/bin + install -p tools/flterm /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64/usr/bin/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-14.fc31 --unique-debug-suffix -1.2-14.fc31.riscv64 --unique-debug-src-base flterm-1.2-14.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/milkymist-Release_1.2 BUILDSTDERR: 40 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64/usr/bin/flterm extracting debug info from /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64/usr/bin/flterm original debug info size: 68kB, size after compression: 68kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: flterm-1.2-14.fc31.riscv64 Provides: flterm = 1.2-14.fc31 flterm(riscv-64) = 1.2-14.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: flterm-debugsource-1.2-14.fc31.riscv64 Provides: flterm-debugsource = 1.2-14.fc31 flterm-debugsource(riscv-64) = 1.2-14.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: flterm-debuginfo-1.2-14.fc31.riscv64 Provides: debuginfo(build-id) = 89ccd4905700444b62d62cd6c2b254d5e02367d0 flterm-debuginfo = 1.2-14.fc31 flterm-debuginfo(riscv-64) = 1.2-14.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: flterm-debugsource(riscv-64) = 1.2-14.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64 Wrote: /builddir/build/RPMS/flterm-1.2-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/flterm-debugsource-1.2-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/flterm-debuginfo-1.2-14.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A7ECNs + umask 022 + cd /builddir/build/BUILD + cd milkymist-Release_1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/flterm-1.2-14.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0