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/memstrack.spec'], chrootPath='/var/lib/mock/f33-build-195584-47244/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/memstrack.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=1587427200 Wrote: /builddir/build/SRPMS/memstrack-0.1.2-2.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/memstrack.spec'], chrootPath='/var/lib/mock/f33-build-195584-47244/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/memstrack.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=1587427200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GITSMN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + /usr/bin/gzip -dc /builddir/build/SOURCES/memstrack-855b2f4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + /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.vbFbJN + umask 022 + cd /builddir/build/BUILD + cd memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + make -j4 gcc -c -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 -g -Os -std=c11 -lncurses -o src/memstrack.o src/memstrack.c gcc -c -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 -g -Os -std=c11 -lncurses -o src/backend/perf.o src/backend/perf.c gcc -c -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 -g -Os -std=c11 -lncurses -o src/backend/perf-sys.o src/backend/perf-sys.c gcc -c -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 -g -Os -std=c11 -lncurses -o src/backend/perf-events.o src/backend/perf-events.c src/backend/perf-sys.c: In function 'perf_do_load_event_info': src/backend/perf-sys.c:48:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fgets(fmt_buffer, 1024, fmt_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend/perf-sys.c:60:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fgets(fmt_buffer, 1024, fmt_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend/perf-sys.c:73:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fgets(fmt_buffer, 1024, fmt_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend/perf.c: In function 'perf_handling_start': src/backend/perf.c:80:9: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] 80 | return err; | ^~~ gcc -c -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 -g -Os -std=c11 -lncurses -o src/backend/ftrace.o src/backend/ftrace.c gcc -c -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 -g -Os -std=c11 -lncurses -o src/report.o src/report.c gcc -c -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 -g -Os -std=c11 -lncurses -o src/tracing.o src/tracing.c src/backend/ftrace.c: In function 'ftrace_handle_mm_page_alloc': src/backend/ftrace.c:144:59: warning: variable 'gfp_flags_arg' set but not used [-Wunused-but-set-variable] 144 | char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; | ^~~~~~~~~~~~~ src/backend/ftrace.c:144:41: warning: variable 'migratetype_arg' set but not used [-Wunused-but-set-variable] 144 | char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; | ^~~~~~~~~~~~~~~ src/backend/ftrace.c:144:8: warning: variable 'page_arg' set but not used [-Wunused-but-set-variable] 144 | char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; | ^~~~~~~~ gcc -c -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 -g -Os -std=c11 -lncurses -o src/utils.o src/utils.c src/utils.c:45:12: warning: 'get_tree_depth' defined but not used [-Wunused-function] 45 | static int get_tree_depth(struct TreeNode *root) { | ^~~~~~~~~~~~~~ gcc -c -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 -g -Os -std=c11 -lncurses -o src/tui.o src/tui.c gcc -c -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 -g -Os -std=c11 -lncurses -o src/proc.o src/proc.c src/proc.c: In function 'print_slab_usage': src/proc.c:24:6: warning: variable 'slab_debug' set but not used [-Wunused-but-set-variable] 24 | int slab_debug, total_pages, entry_number; | ^~~~~~~~~~ src/proc.c: In function 'parse_keyword': src/proc.c:113:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fgets(buf, PROC_MAX_LINE, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proc.c: In function 'parse_zone_info': src/proc.c:130:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | fgets(line, PROC_MAX_LINE, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tui.c: In function 'tui_update': src/tui.c:281:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 281 | read(ui_fds[1].fd, &time, sizeof(time)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proc.c: In function 'parse_keyword': src/proc.c:106:5: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] 106 | if (!read) { | ^ 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 -g -Os -std=c11 -lncurses -o memstrack src/memstrack.o src/backend/perf.o src/backend/perf-sys.o src/backend/perf-events.o src/backend/ftrace.o src/report.o src/tracing.o src/utils.o src/tui.o src/proc.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XL73XO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64 + cd memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + mkdir -p /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64//usr/bin + install -p -m 755 memstrack /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1.2-2.fc33 --unique-debug-suffix -0.1.2-2.fc33.riscv64 --unique-debug-src-base memstrack-0.1.2-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/bin/memstrack extracting debug info from /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/bin/memstrack original debug info size: 204kB, size after compression: 192kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 172 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: memstrack-0.1.2-2.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NSxgeS + umask 022 + cd /builddir/build/BUILD + cd memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + DOCDIR=/builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/share/doc/memstrack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/share/doc/memstrack + cp -pr README.md /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/share/doc/memstrack + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Is2MfO + umask 022 + cd /builddir/build/BUILD + cd memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + LICENSEDIR=/builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/share/licenses/memstrack + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/share/licenses/memstrack + cp -pr LICENSE /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64/usr/share/licenses/memstrack + RPM_EC=0 ++ jobs -p + exit 0 Provides: memstrack = 0.1.2-2.fc33 memstrack(riscv-64) = 0.1.2-2.fc33 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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: memstrack-debugsource-0.1.2-2.fc33.riscv64 Provides: memstrack-debugsource = 0.1.2-2.fc33 memstrack-debugsource(riscv-64) = 0.1.2-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: memstrack-debuginfo-0.1.2-2.fc33.riscv64 Provides: debuginfo(build-id) = a04cd1b6181fa9e1566c2410fdeb0b2dd34b516c memstrack-debuginfo = 0.1.2-2.fc33 memstrack-debuginfo(riscv-64) = 0.1.2-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: memstrack-debugsource(riscv-64) = 0.1.2-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64 Wrote: /builddir/build/RPMS/memstrack-0.1.2-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/memstrack-debugsource-0.1.2-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/memstrack-debuginfo-0.1.2-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZvdmdR + umask 022 + cd /builddir/build/BUILD + cd memstrack-855b2f44f5f7c0ab5218013f54eaa9772fba8214 + /usr/bin/rm -rf /builddir/build/BUILDROOT/memstrack-0.1.2-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0