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/flterm.spec'], chrootPath='/var/lib/mock/f38-build-698141-86913/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=1209600uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/flterm-1.2-21.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/flterm.spec'], chrootPath='/var/lib/mock/f38-build-698141-86913/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=1209600uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Txcj3m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf milkymist-Release_1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/milkymist-Release_1.2.tar.gz + 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):' Patch #0 (flterm-1.2-use-rpm-opt-flags-debug-empty.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tools/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oceXXu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 milkymist-Release_1.2 + cd tools + make CC=gcc flterm gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I. -o flterm flterm.c flterm.c: In function 'do_terminal': flterm.c:479:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 479 | write(serialfd, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~ flterm.c:503:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 503 | write(gdbfd, &c, 1); | ^~~~~~~~~~~~~~~~~~~ flterm.c:508:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 508 | write(0, &c, 1); | ^~~~~~~~~~~~~~~ flterm.c: In function 'gdb_process_packet': flterm.c:334:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | write(altfd, gdbbuf, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~ flterm.c:340:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | write(altfd, gdbbuf, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~ flterm.c:344:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 344 | read(infd, &c, 1); | ^~~~~~~~~~~~~~~~~ flterm.c:365:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 365 | write(outfd, gdbbuf, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~ flterm.c:368:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 368 | write(altfd, gdbbuf, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~ flterm.c: In function 'send_frame': flterm.c:124:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | read(serialfd, &reply, 1); /* TODO: timeout */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TCTVay + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 milkymist-Release_1.2 + install -d /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64/usr/bin + install -p tools/flterm /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64/usr/bin/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.2-21.fc38 --unique-debug-suffix -1.2-21.fc38.riscv64 --unique-debug-src-base flterm-1.2-21.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/milkymist-Release_1.2 extracting debug info from /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64/usr/bin/flterm original debug info size: 120kB, size after compression: 124kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 40 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 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: flterm-1.2-21.fc38.riscv64 Provides: flterm = 1.2-21.fc38 flterm(riscv-64) = 1.2-21.fc38 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.34)(64bit) rtld(GNU_HASH) Processing files: flterm-debugsource-1.2-21.fc38.riscv64 Provides: flterm-debugsource = 1.2-21.fc38 flterm-debugsource(riscv-64) = 1.2-21.fc38 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-21.fc38.riscv64 Provides: debuginfo(build-id) = 5e76906082f7c5a9003a5ce98ece1add4f70159a flterm-debuginfo = 1.2-21.fc38 flterm-debuginfo(riscv-64) = 1.2-21.fc38 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-21.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64 Wrote: /builddir/build/RPMS/flterm-1.2-21.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/flterm-debugsource-1.2-21.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/flterm-debuginfo-1.2-21.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MG9V5L + umask 022 + cd /builddir/build/BUILD + cd milkymist-Release_1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/flterm-1.2-21.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.3cCaxi + umask 022 + cd /builddir/build/BUILD + rm -rf milkymist-Release_1.2 milkymist-Release_1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0