Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/memstrack.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-134665-9626/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/memstrack-0.2.5-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/memstrack.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-134665-9626/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vMYLGm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf memstrack-0.2.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.2.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd memstrack-0.2.5 + /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.NAZWOB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd memstrack-0.2.5 + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/backend/perf.o src/backend/perf.c gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/proc.o src/proc.c src/proc.c: In function 'print_slab_usage': src/proc.c:43:13: warning: variable 'slab_debug' set but not used [-Wunused-but-set-variable] 43 | int slab_debug, total_pages, entry_number; | ^~~~~~~~~~ src/proc.c: In function 'parse_keyword': src/proc.c:146:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fgets(buf, PROC_MAX_LINE, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/utils.o src/utils.c gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/backend/page_owner.o src/backend/page_owner.c gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/backend/perf-sys.o src/backend/perf-sys.c src/backend/perf-sys.c: In function 'perf_do_load_event_info': src/backend/perf-sys.c:205:46: warning: format '%hd' expects argument of type 'short int *', but argument 3 has type '_Bool *' [-Wformat=] 205 | sscanf(is_signed, "%hd", &field->is_signed); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | | _Bool * | short int * gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/backend/ftrace.o src/backend/ftrace.c src/backend/ftrace.c: In function 'ftrace_handle_mm_page_alloc': src/backend/ftrace.c:174:66: warning: variable 'gfp_flags_arg' set but not used [-Wunused-but-set-variable] 174 | char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; | ^~~~~~~~~~~~~ src/backend/ftrace.c:174:48: warning: variable 'migratetype_arg' set but not used [-Wunused-but-set-variable] 174 | char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; | ^~~~~~~~~~~~~~~ src/backend/ftrace.c:174:15: warning: variable 'page_arg' set but not used [-Wunused-but-set-variable] 174 | char *page_arg, *pfn_arg, *order_arg, *migratetype_arg, *gfp_flags_arg; | ^~~~~~~~ gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/memstrack.o src/memstrack.c gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/report.o src/report.c gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/backend/perf-events.o src/backend/perf-events.c gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/tui.o src/tui.c src/tui.c: In function 'line_buf_puts.isra.0': src/tui.c:302:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 302 | strncpy(tui_info.line_cur, s, len); | ^ src/tui.c:292:19: note: length computed here 292 | int len = strlen(s); | ^~~~~~~~~ gcc -c -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o src/tracing.o src/tracing.c gcc -Os -g -std=c11 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o memstrack src/memstrack.o src/backend/perf.o src/backend/perf-sys.o src/backend/perf-events.o src/backend/ftrace.o src/backend/page_owner.o src/report.o src/tracing.o src/utils.o src/tui.o src/proc.o -lncurses -ltinfo -ldl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aJLpdI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64 + cd memstrack-0.2.5 + install -D -p -m 755 memstrack /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64//usr/bin/memstrack + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.2.5-1.ocs23 --unique-debug-suffix -0.2.5-1.ocs23.loongarch64 --unique-debug-src-base memstrack-0.2.5-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/memstrack-0.2.5 extracting debug info from /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/bin/memstrack 251 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: memstrack-0.2.5-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XC7TGX + umask 022 + cd /builddir/build/BUILD + cd memstrack-0.2.5 + DOCDIR=/builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/share/doc/memstrack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/share/doc/memstrack + cp -pr README.md /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/share/doc/memstrack + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4Wukpb + umask 022 + cd /builddir/build/BUILD + cd memstrack-0.2.5 + LICENSEDIR=/builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/share/licenses/memstrack + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/share/licenses/memstrack + cp -pr LICENSE /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64/usr/share/licenses/memstrack + RPM_EC=0 ++ jobs -p + exit 0 Provides: memstrack = 0.2.5-1.ocs23 memstrack(loongarch-64) = 0.2.5-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: memstrack-debugsource-0.2.5-1.ocs23.loongarch64 Provides: memstrack-debugsource = 0.2.5-1.ocs23 memstrack-debugsource(loongarch-64) = 0.2.5-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: memstrack-debuginfo-0.2.5-1.ocs23.loongarch64 Provides: debuginfo(build-id) = 40a893a03b730b7412e5830ff553df248e178d9c memstrack-debuginfo = 0.2.5-1.ocs23 memstrack-debuginfo(loongarch-64) = 0.2.5-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: memstrack-debugsource(loongarch-64) = 0.2.5-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/memstrack-0.2.5-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/memstrack-debugsource-0.2.5-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/memstrack-0.2.5-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/memstrack-debuginfo-0.2.5-1.ocs23.loongarch64.rpm Child return code was: 0