Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/memstrack.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-stream-build-47751-8548/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/memstrack.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/memstrack-0.1.4-1.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/memstrack.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-stream-build-47751-8548/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/memstrack.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0k64Td + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + /usr/bin/gzip -dc /builddir/build/SOURCES/memstrack-bd9e0c3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5idjHR + umask 022 + cd /builddir/build/BUILD + cd memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + make -j40 gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/memstrack.o src/memstrack.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/backend/perf.o src/backend/perf.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/backend/perf-sys.o src/backend/perf-sys.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/backend/perf-events.o src/backend/perf-events.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/backend/ftrace.o src/backend/ftrace.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/report.o src/report.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/tracing.o src/tracing.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/utils.o src/utils.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/tui.o src/tui.c gcc -c -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o src/proc.o src/proc.c src/utils.c:64:12: warning: 'get_tree_depth' defined but not used [-Wunused-function] static int get_tree_depth(struct TreeNode *root) { ^~~~~~~~~~~~~~ src/proc.c: In function 'print_slab_usage': src/proc.c:43:6: warning: variable 'slab_debug' set but not used [-Wunused-but-set-variable] int slab_debug, total_pages, entry_number; ^~~~~~~~~~ src/proc.c: In function 'parse_keyword': src/proc.c:145:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, PROC_MAX_LINE, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend/ftrace.c: In function 'ftrace_handle_mm_page_alloc': src/backend/ftrace.c:163:59: warning: variable 'gfp_flags_arg' set but not used [-Wunused-but-set-variable] char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; ^~~~~~~~~~~~~ src/backend/ftrace.c:163:41: warning: variable 'migratetype_arg' set but not used [-Wunused-but-set-variable] char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; ^~~~~~~~~~~~~~~ src/backend/ftrace.c:163:8: warning: variable 'page_arg' set but not used [-Wunused-but-set-variable] char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; ^~~~~~~~ src/backend/perf-sys.c: In function 'perf_do_load_event_info': src/backend/perf-sys.c:131:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fmt_buffer, 1024, fmt_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend/perf-sys.c:143:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fmt_buffer, 1024, fmt_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backend/perf-sys.c:156:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fmt_buffer, 1024, fmt_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tui.c: In function 'tui_update': src/tui.c:309:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(ui_fds[1].fd, &time, sizeof(time)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Os -g -std=c11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lncurses -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HnwMhw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64 + cd memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + mkdir -p /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64//usr/bin + install -p -m 755 memstrack /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 0.1.4-1.el8 --unique-debug-suffix -0.1.4-1.el8.x86_64 --unique-debug-src-base memstrack-0.1.4-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 extracting debug info from /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/bin/memstrack /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 206 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: memstrack-0.1.4-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pi8Lvb + umask 022 + cd /builddir/build/BUILD + cd memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + DOCDIR=/builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/share/doc/memstrack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/share/doc/memstrack + cp -pr README.md /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/share/doc/memstrack + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.F5iFKQ + umask 022 + cd /builddir/build/BUILD + cd memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + LICENSEDIR=/builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/share/licenses/memstrack + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/share/licenses/memstrack + cp -pr LICENSE /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64/usr/share/licenses/memstrack + exit 0 Provides: memstrack = 0.1.4-1.el8 memstrack(x86-64) = 0.1.4-1.el8 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: memstrack-debugsource-0.1.4-1.el8.x86_64 Provides: memstrack-debugsource = 0.1.4-1.el8 memstrack-debugsource(x86-64) = 0.1.4-1.el8 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.4-1.el8.x86_64 Provides: debuginfo(build-id) = bb7dbb81b86545b75567436e3624b1f2a5c88760 memstrack-debuginfo = 0.1.4-1.el8 memstrack-debuginfo(x86-64) = 0.1.4-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: memstrack-debugsource(x86-64) = 0.1.4-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64 Wrote: /builddir/build/RPMS/memstrack-0.1.4-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/memstrack-debugsource-0.1.4-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/memstrack-debuginfo-0.1.4-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WHmsjw + umask 022 + cd /builddir/build/BUILD + cd memstrack-bd9e0c35df50883a37e1768db418dbde0419ee41 + /usr/bin/rm -rf /builddir/build/BUILDROOT/memstrack-0.1.4-1.el8.x86_64 + exit 0 Child return code was: 0