Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elmon.spec'], chrootPath='/var/lib/mock/f33-build-131346-40986/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elmon.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=1580169600 Wrote: /builddir/build/SRPMS/elmon-13b1-11.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elmon.spec'], chrootPath='/var/lib/mock/f33-build-131346-40986/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elmon.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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l4Ugdv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elmon-13b1 + /usr/bin/mkdir -p elmon-13b1 + cd elmon-13b1 + /usr/bin/tar -xof /builddir/build/SOURCES/elmon_13b1.tar + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1nJD8t + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 elmon_x86_rhel52 cc -o elmon_x86_rhel52 elmon.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g elmon.c: In function 'main': elmon.c:4647:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 4647 | else | ^~~~ elmon.c:4649:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 4649 | fprintf(fp,str_p, | ^~~~~~~ elmon.c:5646:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 5646 | else | ^~~~ elmon.c:5648:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 5648 | mvwprintw(padtop,j + 3 - skipped, 1, formatstring, | ^~~~~~~~~ elmon.c:3546:11: warning: variable 'padlpar' set but not used [-Wunused-but-set-variable] 3546 | WINDOW * padlpar = NULL; | ^~~~~~~ elmon.c:3534:11: warning: variable 'padres' set but not used [-Wunused-but-set-variable] 3534 | WINDOW * padres = NULL; | ^~~~~~ elmon.c:3521:6: warning: variable 'disk_stats_read' set but not used [-Wunused-but-set-variable] 3521 | int disk_stats_read = 0; | ^~~~~~~~~~~~~~~ elmon.c:3480:8: warning: variable 'firstproc' set but not used [-Wunused-but-set-variable] 3480 | pid_t firstproc = (pid_t)0; | ^~~~~~~~~ In function 'error', inlined from 'proc_read' at elmon.c:240:4: elmon.c:190:2: warning: 'strncpy' output may be truncated copying 69 bytes from a string of length 1023 [-Wstringop-truncation] 190 | strncpy(errorstr,err,69); | ^~~~~~~~~~~~~~~~~~~~~~~~ elmon.c: In function 'getuser': elmon.c:2281:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2281 | strncpy(u[i].name, pw->pw_name, NAMESIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'error', inlined from 'proc_procsinfo' at elmon.c:3254:3: elmon.c:190:2: warning: 'strncpy' output may be truncated copying 69 bytes from a string of length 4095 [-Wstringop-truncation] 190 | strncpy(errorstr,err,69); | ^~~~~~~~~~~~~~~~~~~~~~~~ In function 'error', inlined from 'proc_procsinfo' at elmon.c:3169:3: elmon.c:190:2: warning: 'strncpy' output may be truncated copying 69 bytes from a string of length 4095 [-Wstringop-truncation] 190 | strncpy(errorstr,err,69); | ^~~~~~~~~~~~~~~~~~~~~~~~ elmon.c: In function 'child_start': elmon.c:3425:77: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 8 [-Wformat-overflow=] 3425 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", | ^~~~ elmon.c:3425:56: note: directive argument in the range [-2147483647, 2147483647] 3425 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elmon.c:3425:56: note: directive argument in the range [-2147481748, 2147483647] elmon.c:3425:33: note: 'sprintf' output between 20 and 72 bytes into a destination of size 20 3425 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3426 | tim->tm_hour, tim->tm_min, tim->tm_sec, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3427 | tim->tm_mday, tim->tm_mon + 1, tim->tm_year + 1900); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.g6KiVt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64 + cd elmon-13b1 + mkdir -p /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64//usr/bin + install elmon_x86_rhel52 /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64//usr/bin/elmon + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 13b1-11.fc33 --unique-debug-suffix -13b1-11.fc33.riscv64 --unique-debug-src-base elmon-13b1-11.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/elmon-13b1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/bin/elmon extracting debug info from /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/bin/elmon original debug info size: 280kB, size after compression: 272kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 362 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: elmon-13b1-11.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VmIYbt + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + DOCDIR=/builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/share/doc/elmon + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/share/doc/elmon + cp -pr change_log.txt /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/share/doc/elmon + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.P1Oppv + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + LICENSEDIR=/builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/share/licenses/elmon + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/share/licenses/elmon + cp -pr license.txt /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64/usr/share/licenses/elmon + RPM_EC=0 ++ jobs -p + exit 0 Provides: elmon = 13b1-11.fc33 elmon(riscv-64) = 13b1-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: elmon-debugsource-13b1-11.fc33.riscv64 Provides: elmon-debugsource = 13b1-11.fc33 elmon-debugsource(riscv-64) = 13b1-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: elmon-debuginfo-13b1-11.fc33.riscv64 Provides: debuginfo(build-id) = 5933bd4459e9033ca1ae1d9c3a073be31acb9532 elmon-debuginfo = 13b1-11.fc33 elmon-debuginfo(riscv-64) = 13b1-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elmon-debugsource(riscv-64) = 13b1-11.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64 Wrote: /builddir/build/RPMS/elmon-13b1-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/elmon-debugsource-13b1-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/elmon-debuginfo-13b1-11.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GGEAou + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/elmon-13b1-11.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0