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/progress.spec'], chrootPath='/var/lib/mock/f31-build-49743-27322/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/progress.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 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 16: %endif # (0%{?fedora} && 0%{?fedora} <= 26) || (0%{?rhel} && 0%{?rhel} <= 9) BUILDSTDERR: warning: extra tokens at the end of %else directive in line 41: %else # 0%{?fedora} >= 21 || 0%{?rhel} >= 8 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 43: %endif # 0%{?fedora} >= 21 || 0%{?rhel} >= 8 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/progress-0.14-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/progress.spec'], chrootPath='/var/lib/mock/f31-build-49743-27322/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/progress.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 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 16: %endif # (0%{?fedora} && 0%{?fedora} <= 26) || (0%{?rhel} && 0%{?rhel} <= 9) BUILDSTDERR: warning: extra tokens at the end of %else directive in line 41: %else # 0%{?fedora} >= 21 || 0%{?rhel} >= 8 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 43: %endif # 0%{?fedora} >= 21 || 0%{?rhel} >= 8 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jTF0Nl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf progress-0.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/progress-0.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd progress-0.14 + /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.qoSqhp + umask 022 + cd /builddir/build/BUILD + cd progress-0.14 + CFLAGS='-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' + LFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 BUILDSTDERR: progress.c: In function 'find_pids_by_binary_name': BUILDSTDERR: progress.c:229:47: warning: '/exe' directive output may be truncated writing 4 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 229 | snprintf(fullpath_exe, MAXPATHLEN, "%s/exe", fullpath_dir); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from progress.c:18: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 4101 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: progress.c: In function 'find_fd_for_pid': BUILDSTDERR: progress.c:318:39: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 318 | snprintf(fullpath, MAXPATHLEN, "%s/%s", path_dir, direntp->d_name); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from progress.c:18: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 4353 bytes into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 -Wall -D_FILE_OFFSET_BITS=64 -c progress.c cc -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 -Wall -D_FILE_OFFSET_BITS=64 -c sizes.c cc -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 -Wall -D_FILE_OFFSET_BITS=64 -c hlist.c cc -Wall progress.o sizes.o hlist.o -o progress -lm -lncurses -ltinfo Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.U6FNgl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64 + cd progress-0.14 + mkdir -p /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/bin + install -pm 0755 progress /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/bin/progress + mkdir -p /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/man/man1 + install -pm 0644 progress.1 /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.14-3.fc31 --unique-debug-suffix -0.14-3.fc31.riscv64 --unique-debug-src-base progress-0.14-3.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/progress-0.14 BUILDSTDERR: 66 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/progress-0.14-3.fc31.riscv64/usr/bin/progress extracting debug info from /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/bin/progress original debug info size: 92kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: progress-0.14-3.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rOCegm + umask 022 + cd /builddir/build/BUILD + cd progress-0.14 + DOCDIR=/builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/doc/progress + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/doc/progress + cp -pr README.md /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/doc/progress + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ar0wFl + umask 022 + cd /builddir/build/BUILD + cd progress-0.14 + LICENSEDIR=/builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/licenses/progress + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/licenses/progress + cp -pr LICENSE /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64/usr/share/licenses/progress + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: progress = 0.14-3.fc31 progress(riscv-64) = 0.14-3.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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: progress-debugsource-0.14-3.fc31.riscv64 Provides: progress-debugsource = 0.14-3.fc31 progress-debugsource(riscv-64) = 0.14-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: progress-debuginfo-0.14-3.fc31.riscv64 Provides: debuginfo(build-id) = d10b7abf685f7aa162133351ceb492abe66f424b progress-debuginfo = 0.14-3.fc31 progress-debuginfo(riscv-64) = 0.14-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: progress-debugsource(riscv-64) = 0.14-3.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64 Wrote: /builddir/build/RPMS/progress-debugsource-0.14-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/progress-0.14-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/progress-debuginfo-0.14-3.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j3nA6l + umask 022 + cd /builddir/build/BUILD + cd progress-0.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/progress-0.14-3.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0