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/elmon.spec'], chrootPath='/var/lib/mock/f31-build-62353-29051/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/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=1563926400 Wrote: /builddir/build/SRPMS/elmon-13b1-10.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elmon.spec'], chrootPath='/var/lib/mock/f31-build-62353-29051/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/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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vOAk7M + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ft2nGO + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 elmon_x86_rhel52 BUILDSTDERR: elmon.c: In function 'main': BUILDSTDERR: elmon.c:4647:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 4647 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: elmon.c:4649:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 4649 | fprintf(fp,str_p, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: elmon.c:5646:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 5646 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: elmon.c:5648:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 5648 | mvwprintw(padtop,j + 3 - skipped, 1, formatstring, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: elmon.c:3546:11: warning: variable 'padlpar' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3546 | WINDOW * padlpar = NULL; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: elmon.c:3534:11: warning: variable 'padres' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3534 | WINDOW * padres = NULL; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: elmon.c:3521:6: warning: variable 'disk_stats_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3521 | int disk_stats_read = 0; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: elmon.c:3480:8: warning: variable 'firstproc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3480 | pid_t firstproc = (pid_t)0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In function 'error', BUILDSTDERR: inlined from 'proc_read' at elmon.c:240:4: BUILDSTDERR: elmon.c:190:2: warning: 'strncpy' output may be truncated copying 69 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 190 | strncpy(errorstr,err,69); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'error', BUILDSTDERR: inlined from 'proc_procsinfo' at elmon.c:3254:3: BUILDSTDERR: elmon.c:190:2: warning: 'strncpy' output may be truncated copying 69 bytes from a string of length 4095 [-Wstringop-truncation] BUILDSTDERR: 190 | strncpy(errorstr,err,69); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'error', BUILDSTDERR: inlined from 'proc_procsinfo' at elmon.c:3169:3: BUILDSTDERR: elmon.c:190:2: warning: 'strncpy' output may be truncated copying 69 bytes from a string of length 4095 [-Wstringop-truncation] BUILDSTDERR: 190 | strncpy(errorstr,err,69); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elmon.c: In function 'child_start': BUILDSTDERR: elmon.c:3425:77: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 8 [-Wformat-overflow=] BUILDSTDERR: 3425 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", BUILDSTDERR: | ^~~~ BUILDSTDERR: elmon.c:3425:56: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: 3425 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elmon.c:3425:56: note: directive argument in the range [-2147481748, 2147483647] BUILDSTDERR: elmon.c:3425:33: note: 'sprintf' output between 20 and 72 bytes into a destination of size 20 BUILDSTDERR: 3425 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 3426 | tim->tm_hour, tim->tm_min, tim->tm_sec, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 3427 | tim->tm_mday, tim->tm_mon + 1, tim->tm_year + 1900); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o elmon_x86_rhel52 elmon.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1f1RCP + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64 + cd elmon-13b1 + mkdir -p /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64//usr/bin + install elmon_x86_rhel52 /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64//usr/bin/elmon + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 13b1-10.fc31 --unique-debug-suffix -13b1-10.fc31.riscv64 --unique-debug-src-base elmon-13b1-10.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/elmon-13b1 BUILDSTDERR: 362 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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/bin/elmon extracting debug info from /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/bin/elmon original debug info size: 284kB, size after compression: 280kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: elmon-13b1-10.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZfVDlN + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + DOCDIR=/builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/share/doc/elmon + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/share/doc/elmon + cp -pr change_log.txt /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/share/doc/elmon + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dZJyJM + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + LICENSEDIR=/builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/share/licenses/elmon + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/share/licenses/elmon + cp -pr license.txt /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64/usr/share/licenses/elmon + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: elmon = 13b1-10.fc31 elmon(riscv-64) = 13b1-10.fc31 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-10.fc31.riscv64 Provides: elmon-debugsource = 13b1-10.fc31 elmon-debugsource(riscv-64) = 13b1-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: elmon-debuginfo-13b1-10.fc31.riscv64 Provides: debuginfo(build-id) = a6e26803aa922ac61751431003d69fac4114c896 elmon-debuginfo = 13b1-10.fc31 elmon-debuginfo(riscv-64) = 13b1-10.fc31 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-10.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64 Wrote: /builddir/build/RPMS/elmon-13b1-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/elmon-debugsource-13b1-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/elmon-debuginfo-13b1-10.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.l5jXcP + umask 022 + cd /builddir/build/BUILD + cd elmon-13b1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/elmon-13b1-10.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0