Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/datop.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-164883-58730/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/data-profile-tools-v1.0.0-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/datop.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-164883-58730/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rVQRNZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf data-profile-tools-v1.0.0 + /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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X4c24d + umask 022 + cd /builddir/build/BUILD + 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 thread-safe 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... loongarch64-unknown-linux-gnu checking host system type... loongarch64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... 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 loongarch64-unknown-linux-gnu file names to loongarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-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 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 how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.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 we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stddef.h usability... yes checking stddef.h presence... 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 sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... 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 stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for stdlib.h... (cached) 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] 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:35: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "pod:%s\n", running_memcg->path); ^~ In file included from /usr/include/stdio.h:873, from src/common/../include/proc_map.h:34, from src/common/../include/proc.h:39, from src/common/os_perf.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/common/os_util.lo src/common/os_util.c:439:18: warning: 'execute_command' defined but not used [-Wunused-function] 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] 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] void os_maplist_buf_hit(maplist_line_t * maplist_buf, int nlines, ~~~~^~~~~~ src/common/os_win.c:150:22: warning: unused parameter 'rec' [-Wunused-parameter] os_maplist_rec_t * rec, track_proc_t *proc, uint64_t *total_sample) ~~~~~~~~~~~~~~~~~~~^~~ src/common/os_win.c:150:57: warning: unused parameter 'total_sample' [-Wunused-parameter] os_maplist_rec_t * rec, track_proc_t *proc, uint64_t *total_sample) ~~~~~~~~~~^~~~~~~~~~~~ CC src/damon.lo src/damon.c: In function 'write_damon_attrs': src/damon.c:113:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] 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 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) In file included from /usr/include/dirent.h:245, from src/./include/cgroup.h:35, from src/proc_map.c:46: /usr/lib/gcc/loongarch64-redhat-linux/8/include/stddef.h:417: note: this is the location of the previous definition #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) src/proc_map.c:395:22: warning: 'numa_map_update' defined but not used [-Wunused-function] 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:60: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 962 and 1002 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "numa_pid:%d %lx - %lx path:%s\n", proc->pid, ^~ In file included from /usr/include/stdio.h:873, from src/proc_map.c:37: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 24 and 2111 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/pfwrapper.lo src/pfwrapper.c: In function 'pf_event_open': src/pfwrapper.c:32:18: error: '__NR_perf_event_open' undeclared (first use in this function); did you mean 'pf_event_open'? return (syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags)); ^~~~~~~~~~~~~~~~~~~~ pf_event_open src/pfwrapper.c:32:18: note: each undeclared identifier is reported only once for each function it appears in src/pfwrapper.c: In function 'mmap_buffer_read': src/pfwrapper.c:70:2: warning: implicit declaration of function 'rmb' [-Wimplicit-function-declaration] rmb(); ^~~ src/pfwrapper.c: In function 'pf_event_open': src/pfwrapper.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [Makefile:654: src/pfwrapper.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/data-profile-tools-v1.0.0' make: *** [Makefile:440: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.X4c24d (%build) Bad exit status from /var/tmp/rpm-tmp.X4c24d (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/datop.spec