Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/datop.spec'], chrootPath='/var/lib/mock/dist-an23-build-165601-58771/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/datop.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1668729600 Wrote: /builddir/build/SRPMS/data-profile-tools-1.0.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/datop.spec'], chrootPath='/var/lib/mock/dist-an23-build-165601-58771/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/datop.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1668729600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OdVa9s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf data-profile-tools-v1.0.0 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/data-profile-tools-v1.0.0.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/data-profile-tools-v1.0.0.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/ -rw-rw-r-- root/root 430 2022-11-18 13:18 data-profile-tools-v1.0.0/.gitignore -rw-rw-r-- root/root 79 2022-11-18 13:18 data-profile-tools-v1.0.0/AUTHORS -rw-rw-r-- root/root 11357 2022-11-18 13:18 data-profile-tools-v1.0.0/COPYING -rw-rw-r-- root/root 11357 2022-11-18 13:18 data-profile-tools-v1.0.0/LICENSE -rw-rw-r-- root/root 1403 2022-11-18 13:18 data-profile-tools-v1.0.0/Makefile.am -rw-rw-r-- root/root 1168 2022-11-18 13:18 data-profile-tools-v1.0.0/README.txt -rwxrwxr-x root/root 233 2022-11-18 13:18 data-profile-tools-v1.0.0/autogen.sh -rw-rw-r-- root/root 1310 2022-11-18 13:18 data-profile-tools-v1.0.0/configure.ac -rw-rw-r-- root/root 6944 2022-11-18 13:18 data-profile-tools-v1.0.0/datop.8 drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/rpm/ -rw-rw-r-- root/root 1552 2022-11-18 13:18 data-profile-tools-v1.0.0/rpm/datop.spec drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/script/ -rw-rw-r-- root/root 704 2022-11-18 13:18 data-profile-tools-v1.0.0/script/datop.conf -rw-rw-r-- root/root 473 2022-11-18 13:18 data-profile-tools-v1.0.0/script/datop.service -rwxrwxr-x root/root 237 2022-11-18 13:18 data-profile-tools-v1.0.0/script/datop_start.sh -rwxrwxr-x root/root 1027 2022-11-18 13:18 data-profile-tools-v1.0.0/script/datop_start_post.sh -rwxrwxr-x root/root 179 2022-11-18 13:18 data-profile-tools-v1.0.0/script/datop_stop.sh drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/src/ -rwxrwxr-x root/root 1506 2022-11-18 13:18 data-profile-tools-v1.0.0/src/Makefile -rw-rw-r-- root/root 4888 2022-11-18 13:18 data-profile-tools-v1.0.0/src/cgroup.c -rw-rw-r-- root/root 8230 2022-11-18 13:18 data-profile-tools-v1.0.0/src/cmd.c drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/src/common/ -rw-rw-r-- root/root 3260 2022-11-18 13:18 data-profile-tools-v1.0.0/src/common/os_cmd.c -rw-rw-r-- root/root 2541 2022-11-18 13:18 data-profile-tools-v1.0.0/src/common/os_page.c -rw-rw-r-- root/root 19852 2022-11-18 13:18 data-profile-tools-v1.0.0/src/common/os_perf.c -rw-rw-r-- root/root 8896 2022-11-18 13:18 data-profile-tools-v1.0.0/src/common/os_util.c -rw-rw-r-- root/root 5095 2022-11-18 13:18 data-profile-tools-v1.0.0/src/common/os_win.c -rw-rw-r-- root/root 4350 2022-11-18 13:18 data-profile-tools-v1.0.0/src/config.c -rw-rw-r-- root/root 5120 2022-11-18 13:18 data-profile-tools-v1.0.0/src/damon.c -rw-rw-r-- root/root 14258 2022-11-18 13:18 data-profile-tools-v1.0.0/src/datop.c -rw-rw-r-- root/root 8917 2022-11-18 13:18 data-profile-tools-v1.0.0/src/datop_cgroup.c -rw-rw-r-- root/root 16252 2022-11-18 13:18 data-profile-tools-v1.0.0/src/disp.c drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/ -rw-rw-r-- root/root 2517 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/cgroup.h -rw-rw-r-- root/root 3889 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/cmd.h -rw-rw-r-- root/root 2550 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/config.h -rw-rw-r-- root/root 2606 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/damon.h -rw-rw-r-- root/root 1680 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/disp.h -rw-rw-r-- root/root 4047 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/list.h -rw-rw-r-- root/root 1919 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/numa.h drwxrwxr-x root/root 0 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/os/ -rw-rw-r-- root/root 2179 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/os/os_cmd.h -rw-rw-r-- root/root 1891 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/os/os_page.h -rw-rw-r-- root/root 4082 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/os/os_perf.h -rw-rw-r-- root/root 2776 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/os/os_util.h -rw-rw-r-- root/root 2622 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/os/os_win.h -rw-rw-r-- root/root 2533 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/page.h -rw-rw-r-- root/root 3597 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/perf.h -rw-rw-r-- root/root 3987 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/pfwrapper.h -rw-rw-r-- root/root 2367 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/plat.h -rw-rw-r-- root/root 4242 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/proc.h -rw-rw-r-- root/root 3417 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/proc_map.h -rw-rw-r-- root/root 3284 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/reg.h -rw-rw-r-- root/root 3978 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/types.h -rw-rw-r-- root/root 2120 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/ui_perf_map.h -rw-rw-r-- root/root 3619 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/util.h -rw-rw-r-- root/root 7811 2022-11-18 13:18 data-profile-tools-v1.0.0/src/include/win.h -rw-rw-r-- root/root 7292 2022-11-18 13:18 data-profile-tools-v1.0.0/src/numa.c -rw-rw-r-- root/root 5407 2022-11-18 13:18 data-profile-tools-v1.0.0/src/page.c -rw-rw-r-- root/root 12474 2022-11-18 13:18 data-profile-tools-v1.0.0/src/perf.c -rw-rw-r-- root/root 10433 2022-11-18 13:18 data-profile-tools-v1.0.0/src/pfwrapper.c -rw-rw-r-- root/root 28106 2022-11-18 13:18 data-profile-tools-v1.0.0/src/proc.c -rw-rw-r-- root/root 9324 2022-11-18 13:18 data-profile-tools-v1.0.0/src/proc_map.c -rw-rw-r-- root/root 9223 2022-11-18 13:18 data-profile-tools-v1.0.0/src/reg.c -rw-rw-r-- root/root 1364 2022-11-18 13:18 data-profile-tools-v1.0.0/src/ui_perf_map.c -rw-rw-r-- root/root 13748 2022-11-18 13:18 data-profile-tools-v1.0.0/src/util.c -rw-rw-r-- root/root 42715 2022-11-18 13:18 data-profile-tools-v1.0.0/src/win.c + STATUS=0 + '[' 0 -ne 0 ']' + cd data-profile-tools-v1.0.0 + /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.MiNlXa + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 data-profile-tools-v1.0.0 + ./autogen.sh aclocal: warning: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:9: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for numa_free in -lnuma... yes checking for pthread_create in -lpthread... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... yes checking for library containing delwin... -lncursesw checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for locale.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for GNU libc compatible malloc... yes checking for getpagesize... yes checking for working mmap... yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memset... yes checking for munmap... yes checking for select... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strstr... yes checking for strtol... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm -f datop rm -rf .libs _libs rm -rf src/.libs src/_libs rm -rf src/common/.libs src/common/_libs test -z "libdatop.la" || rm -f libdatop.la rm -f ./so_locations rm -f *.o rm -f src/*.o rm -f src/*.lo rm -f src/common/*.o rm -f src/common/*.lo rm -f *.lo + make make all-am make[1]: Entering directory '/builddir/build/BUILD/data-profile-tools-v1.0.0' CC src/datop-datop.o CC src/common/os_cmd.lo CC src/common/os_page.lo CC src/common/os_perf.lo src/common/os_perf.c: In function 'maplist_intval_update': src/common/os_perf.c:417:64: warning: unused parameter 'task' [-Wunused-parameter] 417 | static int maplist_intval_update(perf_ctl_t * ctl, task_ml_t * task, | ~~~~~~~~~~~~^~~~ src/common/os_perf.c: In function '__profiling_smpl': src/common/os_perf.c:146:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=] 146 | snprintf(buf, sizeof(buf), "pod:%s\n", running_memcg->path); | ^~ In file included from /usr/include/stdio.h:906, from src/common/../include/proc_map.h:34, from src/common/../include/proc.h:39, from src/common/os_perf.c:38: In function 'snprintf', inlined from '__profiling_smpl' at src/common/os_perf.c:146:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/common/os_perf.c: In function 'os_perf_profiling_multipause': src/common/os_perf.c:672:10: warning: array subscript 'struct task_multipause_t[0]' is partly outside array bounds of 'union perf_task_t[1]' [-Warray-bounds] 672 | t->task_id = PERF_PROFILING_MULTIPAUSE_ID; | ^~ src/common/os_perf.c:667:21: note: object 'task' of size 12 667 | perf_task_t task; | ^~~~ src/common/os_perf.c:673:10: warning: array subscript 'struct task_multipause_t[0]' is partly outside array bounds of 'union perf_task_t[1]' [-Warray-bounds] 673 | t->perf_count_ids = perf_count_ids; | ^~ src/common/os_perf.c:667:21: note: object 'task' of size 12 667 | perf_task_t task; | ^~~~ src/common/os_perf.c: In function 'os_perf_profiling_multi_restore': src/common/os_perf.c:698:10: warning: array subscript 'struct task_multi_restore_t[0]' is partly outside array bounds of 'union perf_task_t[1]' [-Warray-bounds] 698 | t->task_id = PERF_PROFILING_MULTI_RESTORE_ID; | ^~ src/common/os_perf.c:693:21: note: object 'task' of size 12 693 | perf_task_t task; | ^~~~ src/common/os_perf.c:699:10: warning: array subscript 'struct task_multi_restore_t[0]' is partly outside array bounds of 'union perf_task_t[1]' [-Warray-bounds] 699 | t->perf_count_ids = perf_count_ids; | ^~ src/common/os_perf.c:693:21: note: object 'task' of size 12 693 | perf_task_t task; | ^~~~ CC src/common/os_util.lo src/common/os_util.c:439:18: warning: 'execute_command' defined but not used [-Wunused-function] 439 | static boolean_t execute_command(const char *command, const char *type) | ^~~~~~~~~~~~~~~ CC src/common/os_win.lo src/common/os_win.c: In function 'os_damondetail_data': src/common/os_win.c:70:46: warning: unused parameter 'dyn' [-Wunused-parameter] 70 | void os_damondetail_data(dyn_damondetail_t * dyn, win_reg_t * seg) | ~~~~~~~~~~~~~~~~~~~~^~~ src/common/os_win.c: In function 'os_maplist_buf_hit': src/common/os_win.c:149:59: warning: unused parameter 'nlines' [-Wunused-parameter] 149 | void os_maplist_buf_hit(maplist_line_t * maplist_buf, int nlines, | ~~~~^~~~~~ src/common/os_win.c:150:36: warning: unused parameter 'rec' [-Wunused-parameter] 150 | os_maplist_rec_t * rec, track_proc_t *proc, uint64_t *total_sample) | ~~~~~~~~~~~~~~~~~~~^~~ src/common/os_win.c:150:71: warning: unused parameter 'total_sample' [-Wunused-parameter] 150 | os_maplist_rec_t * rec, track_proc_t *proc, uint64_t *total_sample) | ~~~~~~~~~~^~~~~~~~~~~~ src/common/os_win.c: In function 'os_damondetail_data': src/common/os_win.c:62:40: warning: '%15s' directive output may be truncated writing between 15 and 255 bytes into a region of size 226 [-Wformat-truncation=] 62 | snprintf(s1, sizeof(s1), "%-30s%15s", title, value); | ^~~~ ...... 99 | damon_detail_line_show(seg, "CPU%:", s1, i++); | ~~ In file included from /usr/include/stdio.h:906, from src/common/os_win.c:4: In function 'snprintf', inlined from 'damon_detail_line_show' at src/common/os_win.c:62:2, inlined from 'os_damondetail_data' at src/common/os_win.c:99:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 46 and 286 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC src/damon.lo src/damon.c: In function 'write_damon_attrs': src/damon.c:113:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | system(cmd); | ^~~~~~~~~~~ CC src/proc_map.lo In file included from src/./include/cgroup.h:41, from src/proc_map.c:46: src/./include/list.h:32: warning: "offsetof" redefined 32 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | In file included from /usr/include/dirent.h:247, from src/./include/cgroup.h:35: /usr/lib/gcc/aarch64-anolis-linux/12/include/stddef.h:415: note: this is the location of the previous definition 415 | #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) | src/proc_map.c:395:22: warning: 'numa_map_update' defined but not used [-Wunused-function] 395 | static numa_entry_t *numa_map_update(numa_map_t * numa_map, void **addr_arr, | ^~~~~~~~~~~~~~~ src/proc_map.c: In function 'map_entry_include': src/proc_map.c:329:88: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 962 and 1002 [-Wformat-truncation=] 329 | snprintf(buf, sizeof(buf), "numa_pid:%d %lx - %lx path:%s\n", proc->pid, | ^~ In file included from /usr/include/stdio.h:906, from src/proc_map.c:37: In function 'snprintf', inlined from 'map_entry_include' at src/proc_map.c:329:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 24 and 2111 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC src/pfwrapper.lo CC src/cmd.lo CC src/disp.lo CC src/page.lo CC src/perf.lo CC src/proc.lo src/proc.c: In function 'monicount_value_get': src/proc.c:335:16: warning: implicit declaration of function 'ui_perf_count_aggr' [-Wimplicit-function-declaration] 335 | return ui_perf_count_aggr(ui_count_id, countval_arr->counts); | ^~~~~~~~~~~~~~~~~~ src/proc.c: In function 'damon_per_cgroup_numa_sum': src/proc.c:1194:23: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] 1194 | delta_local = labs(running_memcg->numa_local - running_memcg->pre_numa_local); | ^~~~ src/proc.c:1195:24: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] 1195 | delta_remote = labs(running_memcg->numa_remote - running_memcg->pre_numa_remote); | ^~~~ src/proc.c: In function 'monitor_start': src/proc.c:979:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 979 | system(cmd); | ^~~~~~~~~~~ src/proc.c:982:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | system("echo on > /sys/kernel/debug/damon/monitor_on"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proc.c:984:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 984 | system("echo on > /sys/kernel/debug/damon/numa_stat"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proc.c: In function 'monitor_exit': src/proc.c:1007:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1007 | system("echo off > /sys/kernel/debug/damon/numa_stat"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/proc.c:1008:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1008 | system("echo off > /sys/kernel/debug/damon/monitor_on"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/reg.lo CC src/ui_perf_map.lo CC src/util.lo src/util.c: In function 'exec_cmd_return_ulong': src/util.c:706:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 706 | system(cmd); | ^~~~~~~~~~~ src/util.c:714:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 714 | read(des_p[0], buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/cgroup.lo src/cgroup.c: In function 'memcg_get_valid_pod': src/cgroup.c:171:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | chdir(dir); | ^~~~~~~~~~ src/cgroup.c:182:17: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | realpath(entry->d_name, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cgroup.c:197:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | chdir(".."); | ^~~~~~~~~~~ CC src/config.lo src/config.c: In function 'clear_filesize': src/config.c:192:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | system(cmd); | ^~~~~~~~~~~ CC src/numa.lo CC src/win.lo CCLD libdatop.la CCLD datop src/proc.c:335:16: warning: type of 'ui_perf_count_aggr' does not match original declaration [-Wlto-type-mismatch] 335 | return ui_perf_count_aggr(ui_count_id, countval_arr->counts); | ^ src/ui_perf_map.c:27:10: note: return value type mismatch 27 | uint64_t ui_perf_count_aggr(ui_count_id_t ui_count_id, uint64_t * counts) | ^ src/ui_perf_map.c:27:10: note: type 'uint64_t' should match type 'int' src/ui_perf_map.c:27:10: note: 'ui_perf_count_aggr' was previously declared here src/ui_perf_map.c:27:10: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[1]: Leaving directory '/builddir/build/BUILD/data-profile-tools-v1.0.0' + cd src + make fatal: not a git repository (or any of the parent directories): .git gcc -o datop_cgroup.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os datop_cgroup.c gcc -o cgroup.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os cgroup.c gcc -o config.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os config.c gcc -o page.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os page.c gcc -o pfwrapper.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os pfwrapper.c gcc -o proc_map.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os proc_map.c proc_map.c:395:22: warning: 'numa_map_update' defined but not used [-Wunused-function] 395 | static numa_entry_t *numa_map_update(numa_map_t * numa_map, void **addr_arr, | ^~~~~~~~~~~~~~~ proc_map.c: In function 'map_entry_include': proc_map.c:329:88: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 962 and 1002 [-Wformat-truncation=] 329 | snprintf(buf, sizeof(buf), "numa_pid:%d %lx - %lx path:%s\n", proc->pid, | ^~ proc_map.c:329:33: note: 'snprintf' output between 24 and 4159 bytes into a destination of size 1024 329 | snprintf(buf, sizeof(buf), "numa_pid:%d %lx - %lx path:%s\n", proc->pid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 330 | entry->start_addr, entry->end_addr, (patch !=NULL) ? patch : "(anon)"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o ui_perf_map.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os ui_perf_map.c gcc -o win.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os win.c win.c: In function 'topnproc_data_save': win.c:287:17: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 2047 [-Wstringop-truncation] 287 | strncpy(line->map_name, entry->desc, sizeof(line->map_name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'moniproc_data_save', inlined from 'moniproc_data_show.isra' at win.c:806:3: win.c:713:17: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 2047 [-Wstringop-truncation] 713 | strncpy(line->map_name, entry->desc, WIN_DESCBUF_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o cmd.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os cmd.c gcc -o damon.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os damon.c gcc -o disp.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os disp.c gcc -o numa.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os numa.c In file included from include/cgroup.h:41, from numa.c:51: include/list.h:32: warning: "offsetof" redefined 32 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | In file included from /usr/include/dirent.h:247, from include/cgroup.h:35: /usr/lib/gcc/aarch64-anolis-linux/12/include/stddef.h:415: note: this is the location of the previous definition 415 | #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) | gcc -o perf.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os perf.c gcc -o proc.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os proc.c proc.c: In function 'monicount_value_get': proc.c:335:16: warning: implicit declaration of function 'ui_perf_count_aggr' [-Wimplicit-function-declaration] 335 | return ui_perf_count_aggr(ui_count_id, countval_arr->counts); | ^~~~~~~~~~~~~~~~~~ proc.c: In function 'damon_per_cgroup_numa_sum': proc.c:1194:23: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] 1194 | delta_local = labs(running_memcg->numa_local - running_memcg->pre_numa_local); | ^~~~ proc.c:1195:24: warning: taking the absolute value of unsigned type 'long unsigned int' has no effect [-Wabsolute-value] 1195 | delta_remote = labs(running_memcg->numa_remote - running_memcg->pre_numa_remote); | ^~~~ gcc -o reg.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os reg.c gcc -o util.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os util.c gcc -o common/os_cmd.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os common/os_cmd.c gcc -o common/os_page.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os common/os_page.c gcc -o common/os_perf.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os common/os_perf.c common/os_perf.c: In function 'maplist_intval_update': common/os_perf.c:417:64: warning: unused parameter 'task' [-Wunused-parameter] 417 | static int maplist_intval_update(perf_ctl_t * ctl, task_ml_t * task, | ~~~~~~~~~~~~^~~~ common/os_perf.c: In function '__profiling_smpl': common/os_perf.c:146:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=] 146 | snprintf(buf, sizeof(buf), "pod:%s\n", running_memcg->path); | ^~ common/os_perf.c:146:17: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 1024 146 | snprintf(buf, sizeof(buf), "pod:%s\n", running_memcg->path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/os_perf.c: In function 'os_perf_profiling_multipause': common/os_perf.c:672:10: warning: array subscript 'task_multipause_t {aka struct _task_multipause}[0]' is partly outside array bounds of 'perf_task_t[1]' {aka 'union _perf_task[1]'} [-Warray-bounds] 672 | t->task_id = PERF_PROFILING_MULTIPAUSE_ID; | ^~ common/os_perf.c:667:21: note: object 'task' of size 12 667 | perf_task_t task; | ^~~~ common/os_perf.c:673:10: warning: array subscript 'task_multipause_t {aka struct _task_multipause}[0]' is partly outside array bounds of 'perf_task_t[1]' {aka 'union _perf_task[1]'} [-Warray-bounds] 673 | t->perf_count_ids = perf_count_ids; | ^~ common/os_perf.c:667:21: note: object 'task' of size 12 667 | perf_task_t task; | ^~~~ common/os_perf.c: In function 'os_perf_profiling_multi_restore': common/os_perf.c:698:10: warning: array subscript 'task_multi_restore_t {aka struct _task_multi_restore}[0]' is partly outside array bounds of 'perf_task_t[1]' {aka 'union _perf_task[1]'} [-Warray-bounds] 698 | t->task_id = PERF_PROFILING_MULTI_RESTORE_ID; | ^~ common/os_perf.c:693:21: note: object 'task' of size 12 693 | perf_task_t task; | ^~~~ common/os_perf.c:699:10: warning: array subscript 'task_multi_restore_t {aka struct _task_multi_restore}[0]' is partly outside array bounds of 'perf_task_t[1]' {aka 'union _perf_task[1]'} [-Warray-bounds] 699 | t->perf_count_ids = perf_count_ids; | ^~ common/os_perf.c:693:21: note: object 'task' of size 12 693 | perf_task_t task; | ^~~~ gcc -o common/os_util.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os common/os_util.c common/os_util.c:1: warning: "_GNU_SOURCE" redefined 1 | #define _GNU_SOURCE | : note: this is the location of the previous definition common/os_util.c:439:18: warning: 'execute_command' defined but not used [-Wunused-function] 439 | static boolean_t execute_command(const char *command, const char *type) | ^~~~~~~~~~~~~~~ In function 'str_int_extract', inlined from 'file_int_extract' at common/os_util.c:411:10: common/os_util.c:352:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 352 | strncpy(scopy, str, len); | ^~~~~~~~~~~~~~~~~~~~~~~~ common/os_util.c:345:19: note: length computed here 345 | int len = strlen(str); | ^~~~~~~~~~~ gcc -o common/os_win.o -c -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I./include -I./include/os common/os_win.c common/os_win.c: In function 'os_damondetail_data': common/os_win.c:70:46: warning: unused parameter 'dyn' [-Wunused-parameter] 70 | void os_damondetail_data(dyn_damondetail_t * dyn, win_reg_t * seg) | ~~~~~~~~~~~~~~~~~~~~^~~ common/os_win.c: In function 'os_maplist_buf_hit': common/os_win.c:149:59: warning: unused parameter 'nlines' [-Wunused-parameter] 149 | void os_maplist_buf_hit(maplist_line_t * maplist_buf, int nlines, | ~~~~^~~~~~ common/os_win.c:150:36: warning: unused parameter 'rec' [-Wunused-parameter] 150 | os_maplist_rec_t * rec, track_proc_t *proc, uint64_t *total_sample) | ~~~~~~~~~~~~~~~~~~~^~~ common/os_win.c:150:71: warning: unused parameter 'total_sample' [-Wunused-parameter] 150 | os_maplist_rec_t * rec, track_proc_t *proc, uint64_t *total_sample) | ~~~~~~~~~~^~~~~~~~~~~~ common/os_win.c: In function 'os_damondetail_data': common/os_win.c:62:40: warning: '%15s' directive output may be truncated writing between 15 and 255 bytes into a region of size 226 [-Wformat-truncation=] 62 | snprintf(s1, sizeof(s1), "%-30s%15s", title, value); | ^~~~ ...... 99 | damon_detail_line_show(seg, "CPU%:", s1, i++); | ~~ In function 'damon_detail_line_show', inlined from 'os_damondetail_data' at common/os_win.c:99:2: common/os_win.c:62:9: note: 'snprintf' output between 46 and 286 bytes into a destination of size 256 62 | snprintf(s1, sizeof(s1), "%-30s%15s", title, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -g -W -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lpthread -lnuma -fPIC -O2 -g -Wall -W -Wformat-security -lncursesw -lncurses -ltinfo -Wno-stringop-truncation -Wno-stringop-overflow -D_FORTIFY_SOURCE=2 -fno-common -std=gnu99 -o datop_cgroup datop_cgroup.o cgroup.o config.o page.o pfwrapper.o proc_map.o ui_perf_map.o win.o cmd.o damon.o disp.o numa.o perf.o proc.o reg.o util.o common/os_cmd.o common/os_page.o common/os_perf.o common/os_util.o common/os_win.o + cd ../ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VsQXe1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 data-profile-tools-v1.0.0 + rm -rf /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/etc/datop/ + mkdir -p /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/lib/systemd/system/ + cp -f src/datop_cgroup /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/bin/ + cp -f datop /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/bin/ + cp -rf script/datop.conf /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/etc/datop/ + cp -rf script/datop_start.sh /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/etc/datop/ + cp -rf script/datop_stop.sh /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/etc/datop/ + cp -rf script/datop_start_post.sh /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/etc/datop/ + cp -f script/datop.service /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/lib/systemd/system/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/brp-mangle-shebangs mangling shebang in /etc/datop/datop_start.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /etc/datop/datop_stop.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /etc/datop/datop_start_post.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/relink_symlinks + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: data-profile-tools-1.0.0-1.an23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Fz3aue + umask 022 + cd /builddir/build/BUILD + cd data-profile-tools-v1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/licenses/data-profile-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/licenses/data-profile-tools + cp -pr LICENSE /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/licenses/data-profile-tools + cp -pr COPYING /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/licenses/data-profile-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: data-profile-tools = 1.0.0-1.an23 data-profile-tools(aarch-64) = 1.0.0-1.an23 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /usr/bin/bash ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libncurses.so.6()(64bit) libncursesw.so.6()(64bit) libnuma.so.1()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: data-profile-tools-doc-1.0.0-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YOclt6 + umask 022 + cd /builddir/build/BUILD + cd data-profile-tools-v1.0.0 + DOCDIR=/builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/doc/data-profile-tools-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/doc/data-profile-tools-doc + cp -pr README.txt /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/doc/data-profile-tools-doc + cp -pr AUTHORS /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64/usr/share/doc/data-profile-tools-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: data-profile-tools-doc = 1.0.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 Wrote: /builddir/build/RPMS/data-profile-tools-doc-1.0.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/data-profile-tools-1.0.0-1.an23.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6NMs17 + umask 022 + cd /builddir/build/BUILD + cd data-profile-tools-v1.0.0 + '[' /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/data-profile-tools-1.0.0-1.an23.aarch64 + rm -rf /builddir/build/BUILD/data-profile-tools-v1.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ibFme1 + umask 022 + cd /builddir/build/BUILD + rm -rf data-profile-tools-v1.0.0 data-profile-tools-v1.0.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0